Below are some links to the full syntax of all the Heartbeat configuration files. But before reading all the gory details in those links, newbies will probably want to start by looking at the following pages:
Getting Started With Heartbeat (short introduction to version 1)
Getting Started with Linux-HA (Heartbeat) (detailed introduction to version 1)
Getting Started With Heartbeat Version 2 (detailed introduction to version 2)
Installing heartbeat screencast (with audio)
Newbie educational screencasts (with audio) ( IPaddr with GUI)
There are three files which one has to configure in order to configure Heartbeat. They are:
/etc/ha.d/ha.cf (general configuration)
/etc/ha.d/authkeys (authentication info)
/etc/ha.d/haresources (cluster resources and resource groups) - R1-style configurations only
There are heavily-annotated versions of each of these files in the documentation directory. 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 screencast
See the Basic Single IP address Configuration page for a basic Heartbeat configuration example.
Although you can configure the Release 2 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 file has been replaced with a common XML-based cluster-wide configuration file, which is managed by the ClusterInformationBase (CIB) component. See the CIB User's Guide for details.
information, Alternate Getting Started document for version 2, Heartbeat Tutorials, (graphical management tool for Linux-HA)