keepalive 1 # Send one heartbeat each second
deadtime 10 # Declare nodes dead after 10 seconds
warntime 5 # how quickly to issue a "late heartbeat" warning
initdead 60 # time that it takes to declare a cluster node \
# dead when heartbeat is first started
udpport 694
#baud 19200
#serial /dev/ttyS0
ucast eth1 10.7.0.1 # unicast hearbeat to other node
ping_group hostsneeded 192.168.1.27 192.168.1.60 # hosts that must be pingable
#respawn hacluster /usr/lib/heartbeat/ipfail # for host not to failover
respawn root /usr/lib/heartbeat/pingd -m 100 -d 5s
auto_failback off # Don't fail back to paul automatically
watchdog /dev/watchdog # Device to shut the machine down if \
# Heartbeat does not hear its own heartbeats \
# as often as it thinks it should
node drbd-test1 # the two machines part of the
node drbd-test2 # cluster
debug 1 # logging and debugging
debugfile /var/log/ha-debug
logfile /var/log/ha-log