heartbeat - Heartbeat subsystem for High-Availability Linux
heartbeat is a basic heartbeat subsystem for Linux-HA. It will run scripts at
initialisation, and when machines go up or down. This version will also
perform IP address takeover using gratuitous ARPs. It works correctly for a
2-node configuration, and is extensible to larger configurations.
It implements the following kinds of heartbeats:
•UDP/IP v4 broadcast;
•UDP/IP v4/v6 multicast;
•UDP/IP v4/v6 unicast;
•Even such exotic protocols as TIPC or
•Bidirectional Serial Rings
("raw" serial ports) — this type is deprecated and should no
longer be used;
•special "ping" heartbeats
for routers, etc. — this type has been superseded by functionality in
pacemaker() and should no longer be used.
Comprehensive documentation on heartbeat is available in the Heartbeat User's
Guide. If this documentation is not installed on your system, it can be found
The following options are supported by heartbeat:
Increment debugging level. Higher levels are
Reload heartbeat. This option is functionally
identical to sending a running heartbeat process a HUP signal. If the
configuration has not changed, then this option is essentially a no-op. If
(5) or authkeys
(5) has changed, then heartbeat will re-read
these files and update its configuration.
This option may not be used together with -R
Kill (stop) heartbeat.
Report heartbeat status.
Heartbeat restart exec flag (internal use
only). May not be used with -r.
Heartbeat current resource state for restart
(internal use only). Only valid with -R.
Print out heartbeat version.
Note that most of these options are used for supporting the heartbeat init
script, which provides the conventional start, stop, status and restart
options (among others). It is recommended to use this rather than invoking the
heartbeat command directly.
Heartbeat Maintainer; code fixes;
Juan Pedro Paredes Caballero