Heartbeat ha.cf: Difference between revisions

From Wizard Rants
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 ens4
bcast eth0
mcast ens4 225.0.0.1 694 1 0
mcast eth0 225.0.0.1 694 1 0
ucast ens4 10.1.10.11
ucast eth0 10.1.11.11
#      What interfaces to heartbeat over?
#      What interfaces to heartbeat over?
udp    ens4
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    us-nlb-01
node    w-nlb-01
node    us-nlb-02
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