heartbeat (8) - Linux Manuals

heartbeat: Heartbeat subsystem for High-Availability Linux


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:
Bidirectional Serial Rings ("raw" serial ports)
UDP/IP broadcast (ethernet, etc.)
UDP/IP multicast (ethernet, etc.)
special "ping" heartbeats for routers, etc.

Comprehensive documentation on the configuration and running of heartbeat is supplied in HTML format with the distribution of the code. If this documentation is not installed on your system it can be found, with the latest distribution of heartbeat on http://www.linux-ha.org/


Increment debugging level. Higher levels are more verbose.
Reloads heartbeat. It just sends it a SIGHUP. If nothing has changed nothing will happen. If ha.cf or authkeys has changed it will start heartbeat or reread authkeys. May not be used 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.


More information may be found at http://www.linux-ha.org.


/etc/ha.cf, /etc/haresources, /etc/authkeys


heartbeat - Alan Robertson <alanr [at] unix.sh> et al.
man page - Juan Pedro Paredes Caballero <juampe [at] retemail.es>
           Horms <horms [at] verge.net.au>


cl_status(1), apphbd(8)