Corosync Pacemaker Haproxy Cluster
Corosync Pacemaker Haproxy Cluster Document. I have using RHEL6.4 64 Bit Machines IP 192.168.0.100 Name Node1.example.com IP 192.168.0.101 Name Node2.example.com IP 192.168.0.200 (Virtual IP) 1. installing require Packages both Node ( Node1 & Node2 ) # yum install haproxy corosync pacemaker openssh-clients http* -y # wget -c http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-6/x86_64/crmsh-2.1-1.6.x86_64.rpm # wget -c http://pkgs.repoforge.org/pssh/pssh-2.0-1.el6.rf.noarch.rpm # rpm -ivh pssh-2.0-1.el6.rf.noarch.rpm # yum install crmsh-2.1-1.6.x86_64.rpm 2. Configure host file both Node ( Node1 & Node2 ) # vim /etc/hosts ( NODE1 Machine) 192.168.0.100 Node1.example.com Node1 192.168.0.101 Node2.example.com Node2 # vim /etc/hosts ( NODE2 Machine ) 192.168.0.100 Node1.example.com Node1 192.168.0.101 Node2.example.com Node2 3. Configure httpd for testing both Node ( Node1 & Node2 ) # vim /etc/httpd/conf/httpd.conf (