Hi Everyone, I hope someone can help me out here.....
I've got two physical servers, each running two lucid server VMs (vboxheadless), one LAMP server and the other a Load Balancer:
Physical Server 1
LAMP1: 192.168.9.111Physical Server 2
LAMP2: 192.168.9.112The LBs are running heartbeat, ipvsadm and ldirectord installed by following the tutorial at:
My config files look like this:
ucast eth0 192.168.9.121 # Linux
mcast eth0 184.108.40.206 694 1 0
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster
I've also got /etc/ha.d/authkeys setup the same on both servers.
The problem is that heartbeat does not appear to be starting ldirectord at startup, and even when I start the service manually on both servers I can't ping or get any web output from the virtual IP address. Running ldirectord in debug mode (-d) shows that it is talking to the LAMP servers OK and finding the test page but nothing is coming back to the client. I've been at this for 3 days now and just about ready to start pulling my hair out!