Hi, I use a combination of heartbeat/drbd between two webservers so they can take on each other's site if one of them fails. I mainly have it so that a machine or cable failure will not cause downtime. They both use the same route, though, so it kicks in when the main internet connection fails, even though that doesn't accomplish anything. Yesterday the gateway failed. One server wound up with both websites, and failed to return to its original setup when the gateway came back up. How can I change this so it only fails over on machine/cable failure, and not gateway failure? Here's my ha.cf file (I've x'd out first 3 octets of external addresses)
debugfile /var/log/ha-debug logfile /var/log/ha-log logfacility local0 keepalive 2 deadtime 45 warntime 15 initdead 70 udpport 694 ucast eth0 192.168.0.100 auto_failback on node node0 node node1 ping xx.xx.xx.129 respawn hacluster /usr/lib/heartbeat/ipfail apiauth ipfail gid=haclient uid=hacluster and my haresources node0 xx.xx.xx.143 drbddisk::r0 Filesystem::/dev/drbd0::/var/www/node0::ext3 node1 xx.xx.xx.144 drbddisk::r1 Filesystem::/dev/drbd1::/var/www/node1::ext3 Thanks in advance! _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
