Tag: OpenVZ with Heartbeat

  • Centos High Availability Cluster with OpenVZ, DRBD and Heartbeat – Part 2

    DRBD installation with OpenVZ, plese follow the link below. http://blog.webserverpage.com/?p=497 1.  Download repository. rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 2. Install HeartBeat yum install heartbeat 3. Create the Heartbeat configuration file ha.cf and copy it to /etc/ha.d/ha.cf on both nodes. # vi /etc/ha.d/ha.cf debugfile logfile /var/log/ha-log logfacility local0 node masternode node slavenode keepalive 1 deadtime 10 warntime 5…

  • Centos High Availability Cluster with OpenVZ, DRBD and Heartbeat – Part 1

    Install OpenVZ in both machines, follow the link below http://blog.webserverpage.com/?p=487 DRBD installation. 1. BOTH MACHINES: Install this repository “elrepo-release-6-6.el6.elrepo.noarch.rpm”. rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm 2. BOTH MACHINES: Install DRBD. yum install drbd83-utils-8.3.13 kmod-drbd83-8.3.13 -y 3. BOTH MACHINES: Insert drbd module manually or reboot both machines. /sbin/modprobe drbd 4. BOTH MACHINES: Create the Distributed Replicated Block Device resource…