Heartbeat ha.cf: Difference between revisions
Jump to navigation
Jump to search
Created page with "<syntaxhighlight lang=apache> # keepalive: how many seconds between heartbeats # keepalive 2 # # deadtime: seconds-to-declare-host-dead # deadtime 10 # # Wha..." |
No edit summary |
||
| Line 11: | Line 11: | ||
# | # | ||
udpport 694 | udpport 694 | ||
bcast | bcast eth0 | ||
mcast | mcast eth0 225.0.0.1 694 1 0 | ||
ucast | ucast eth0 10.1.11.11 | ||
# What interfaces to heartbeat over? | # What interfaces to heartbeat over? | ||
udp | udp eth0 | ||
# | # | ||
# Facility to use for syslog()/logger (alternative to log/debugfile) | # Facility to use for syslog()/logger (alternative to log/debugfile) | ||
| Line 23: | Line 23: | ||
# Tell what machines are in the cluster | # Tell what machines are in the cluster | ||
# node nodename ... -- must match uname -n | # node nodename ... -- must match uname -n | ||
node | node w-nlb-01 | ||
node | node w-nlb-02 | ||
node w-mlb-03 | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 07:20, 9 May 2021
# keepalive: how many seconds between heartbeats
#
keepalive 2
#
# deadtime: seconds-to-declare-host-dead
#
deadtime 10
#
# What UDP port to use for udp or ppp-udp communication?
#
udpport 694
bcast eth0
mcast eth0 225.0.0.1 694 1 0
ucast eth0 10.1.11.11
# What interfaces to heartbeat over?
udp eth0
#
# Facility to use for syslog()/logger (alternative to log/debugfile)
#
logfacility local0
#
# Tell what machines are in the cluster
# node nodename ... -- must match uname -n
node w-nlb-01
node w-nlb-02
node w-mlb-03