Linux-HA Logo

Configuring Heartbeat

Below are some links to the full syntax of all the Heartbeat[1] configuration files. But before reading all the gory details in those links, newbies will probably want to start by looking at the following pages:

There are three files which one has to configure in order to configure Heartbeat[1]. They are:

There are heavily-annotated versions of each of these files in the documentation directory[14]. Copy these files to /etc/ha.d, and modify them to meet your needs. For R2 (CRM) style configurations, this is described in the Installing heartbeat[6] screencast

See the Basic Single IP address Configuration[15] page for a basic Heartbeat[16] configuration example.

Version 2 Note

Although you can configure the Release 2[5] software exactly like the Release 1 software, you won't get any of the new capabilities if you do. Most people will want some of the capabilities of release 2.

Configuring release 2 software to get these new release 2 capabilities is similar to that of release 1, except that the haresources[11] file has been replaced with a common XML[17]-based cluster[18]-wide configuration file, which is managed by the ClusterInformationBase[19] (CIB[20]) component. See the CIB User's Guide[21] for details.

See Also

information[22], Alternate Getting Started document for version 2[23], Heartbeat Tutorials[24], (graphical management tool for Linux-HA)[25]


References

[1]http://www.linux-ha.org/HeartbeatProgram
[2]http://www.linux-ha.org/GettingStartedWithHeartbeat
[3]http://www.linux-ha.org/GettingStarted
[4]http://www.linux-ha.org/GettingStartedV2
[5]http://www.linux-ha.org/NewHeartbeatDesign
[6]http://www.linux-ha.org/Education/Newbie/InstallHeartbeatScreencast
[7]http://www.linux-ha.org/Education/Newbie
[8]http://www.linux-ha.org/Education/Newbie/IPaddrScreencast
[9]http://www.linux-ha.org/ha.cf
[10]http://www.linux-ha.org/authkeys
[11]http://www.linux-ha.org/haresources
[12]http://www.linux-ha.org/resource
[13]http://www.linux-ha.org/ResourceGroup
[14]http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/doc/
[15]http://www.linux-ha.org/GettingStarted/OneIPAddress
[16]http://www.linux-ha.org/Heartbeat
[17]http://en.wikipedia.org/wiki/XML
[18]http://en.wikipedia.org/wiki/Computer_cluster
[19]http://www.linux-ha.org/ClusterInformationBase
[20]http://www.linux-ha.org/CIB
[21]http://www.linux-ha.org/InterWiki
[22]http://www.linux-ha.org/v2_Heartbeat_version_2
[23]http://www.linux-ha.org/GettingStartedRevisedV2
[24]http://www.linux-ha.org/HeartbeatTutorials
[25]http://www.linux-ha.org/GuiGuide_Haclient


This information provided courtesy of the Linux-HA project at http://linux-ha.org/