OS:centos 5.6
SERVER01:
eth0:172.18.10.201
eth1:10.10.10.1
SERVER02:
eth0:172.18.10.202
eth1:10.10.10.2
Vip:172.18.10.200
下载装备资源包
heartbeat-2.1.4-11.el5.x86_64.rpm
heartbeat-devel-2.1.4-11.el5.x86_64.rpm
heartbeat-pils-2.1.4-11.el5.x86_64.rpm
heartbeat-stonith-2.1.4-11.el5.x86_64.rpm
libnet-1.1.5-1.el5.i386.rpm
libnet-1.1.5-1.el5.x86_64.rpm
libtool-ltdl-1.5.22-7.el5_4.x86_64.rpm
openhpi-libs-2.14.0-5.el5.x86_64.rpm
cat </etc/ha.d/ha.cf
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 20
warntime 10
initdead 100
udpport 694
ucast eth2 10.0.0.2
auto_failback off
node SERVER01
node SERVER02
ping 172.18.10.201
respawn hacluster /usr/li