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)
Installing heartbeat screencast (with audio)
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)
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
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.