HA Mysql on Solaris with Symantec cluster server
Architecture 2.Create the volume for mysql bash-3.00# vxassist -g datadg make mysqlvol 1500m layout=nolog bash-3.00# mkdir /mysql bash-3.00# newfs /dev/vx/dsk/datadg/mysqlvol...
View ArticleHow to Use Ganglia to monitor Ubuntu cluster
Ubuntu already has gmetad, gmond core monitoring and etc Packages 33 apt-get install libapr1-dev 34 apt-get install libconfuse-dev 35 apt-get install libexpat-dev 38 apt-get update 39 apt-get...
View ArticleMultinodes Hadoop 2.4 installation and configuration
Prepare the environment Setup the Hadoop user on all nodes: root@ubuntu:~# useradd -d /home/hadoop -s /bin/bash -u 600 hadoop add these to /etc/hosts on all 3 hosts: 192.168.47.139 nn...
View ArticleMonitoring Hitachi content platform with rsyslog and zabbix
The architecture is: create a configuration file under /etc/rsyslog.d/ template(name=”STORAGE” type=”string” string=”/var/log/rsyslog/storage-%HOSTNAME%-%$YEAR%-%$MONTH%.log”)...
View ArticleUsing SaltStack for automation
Introduction Salt platform or SaltStack is a Python-based open source configuration management and remote execution application. Supporting the “infrastructure-as-code” approach to deployment and cloud...
View ArticleSite monitoring with Zabbix
Production Site Monitoring with zabbix Monitoring requirements Collect performance data for server and devices Troubleshooting efficient Predict site issue Triggers/events Metrics and events...
View ArticleConfigure an OpenLDAP server on ubuntu 14.04 and Authentication linux client...
Configure an OpenLDAP server on ubuntu 14.04 1.some concepts Distinguished Name (DN). This DN consists of the object name (Common Name = cn) Cn=Robert,dc=sandr,dc=fr Object has attributes, like cn...
View ArticleConfigure a DNS server on ubuntu
apt-get install bind9 bind9utils bind9-doc Before continuing, let’s set BIND to IPv4 mode. On both servers, edit the bind9 service parameters file: sudo vi /etc/default/bind9 Add “-4” to the OPTIONS...
View ArticleUsing Puppet with r10k, hiera and bitbucket
The Architecture: R10k deploy all modules from git repository based on Puppetfile, each module can have its own branches. install r10k gem install r10k 2. Create cache directory: mkdir...
View ArticleAnsible full guide
Ansible is an open-source software platform for configuring and managing computers. It combines multi-node software deployment, ad hoc task execution, and configuration management. It manages nodes...
View ArticleRunning app on Kubernetes & Google container engine
Introduction This lab is turning an node.js app into a replicated application running on Kubernetes. This is taking code that have developed on your machine, turn it into a Docker container image, and...
View ArticleProvision Cassandra (datastax enterprise) using puppet
1. Plan the cluster Architecture diagram: Every connection in the diagram should be in secure. Make sure the hostname and IP addresses can be resolved correctly. The nodes should can reach each...
View ArticleSaltstack vs Puppet
Saltstack vs Puppet Robert Chen 1.1 Salt vs Puppet Saltstack puppet Notes Developed language Python ruby Module development language YAML Puppet DSL Salt uses state in YAML Puppet manifests is in...
View ArticleHaproxy http filtering & header manipulation
The haproxy http filtering is very tricky and cannot google an altogether solution. Block index API reqideny ^(GET\ .*)(\?index=)(.*) reqideny ^(POST\ .*)(\?index=)(.*) Replace an external domain to...
View ArticleDeploy a Mesos, Marathon Cluster using docker
For quickly deploy a mesos, marathon environment, the docker is a better way. This article builds a mesos with multi-slaves. root@ubuntu:~# HOST_IP=192.168.47.128 Start zookeeper root@ubuntu:~#...
View ArticleAuto deploy MyBB with cloudformation
Author: Robert Chen Requirements Deploy mybb with cloudformation Address security, scalability, high availability, monitoring Architecture Architecture is as below: The architecture is designed as an...
View ArticleHow to provision a WordPress site with AWS beanstalk
It is very easy to provision a wordpress site using beanstalk, this post has all captured screen. Logon to AWS and click beanstalk, click create application Select “create web server” Select...
View ArticleAnsible playbook timeout with host unreachable and solution
softdist@ubuntu01:~/test> cat ~/.ansible.cfg [defaults] allow_world_readable_tmpfiles=True [ssh_connection] retries = 3 ssh_args = -o ControlPersist=1200s -o ControlMaster=auto scp_if_ssh=True...
View Article