Hi,
I have followed
http://www.howtoforge.org/high_avail...apache_cluster
My setup are as below :-
mthost02 - 172.26.1.127(primary node)
mthost05 - 172.26.1.109(standby node)
mthost04 -172.26.1.124 (apache node)
mthost03 - 172.26.1.169 (apache node)
VirtualIP - 172.26.1.10
I have heartbeat and ldirectord running on mthost02 and mthost05. when i stop apache on either of mthost05/02 it works as expected. when i stop primary node (mthost02) the failover does not happen. means to say that mthost05 does not take over.
ha.cf
################################################## #########
logfacility local0
bcast eth0 # Linux
mcast eth0 225.0.0.1 694 1 0
auto_failback on
node mthost02
node mthost05
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster
################################################## #########
haresources
################################################## ################################################## #######
mthost02 ldirectord::ldirectord.cf LVSSyncDaemonSwap::master IPaddr2::172.26.1.10/24/eth0:1/172.26.255.255
################################################## ################################################## #######
ldirectord.cf
################################################## #########
checktimeout=10
checkinterval=2
autoreload=no
logfile="local0"
quiescent=no
virtual=172.26.1.10:80
real=172.26.1.124:80 gate
real=172.26.1.169:80 gate
fallback=127.0.0.1:80 gate
service=http
request="ldirector.html"
receive="Test Page"
scheduler=lc
protocol=tcp
################################################## #########
when i stop heartbeat on mthost02 - 172.26.1.127(primary node), the machine freezes.there is no ERROR in daemon.log
Please let me know if you need more information.
Thanks and Regards
Kaushal
Recent comments
2 days 19 hours ago
3 days 4 hours ago
3 days 7 hours ago
3 days 8 hours ago
3 days 9 hours ago
3 days 11 hours ago
3 days 12 hours ago
3 days 14 hours ago
4 days 5 hours ago
4 days 6 hours ago