The following tutorial will explain how to install and configure heartbeat version 2. The Heartbeat program is one of the core components of the Linux-HA (High-Availability Linux) project
The installation is pretty simple and straight forward process. For the purposes of this tutorial we have used RedHat Enterprise Linux 4.
Dependency package is: libnet-1.0.2-2.2.el4.rf.i386.rpm
or
wget http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/libnet-1.1.2.1-1.1.i386.rpm - for RHEL4
wget http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/src/libnet-1.1.2.1-1.1.src.rpm
Install and configure HEARTBEAT - 2.1.3
mkdir /usr/local/src/packs
cd /usr/local/src/packs/
wget http://linux-ha.org/download/heartbeat-2.1.3.tar.gz
tar â€"zxvf heartbeat-2.1.3.tar.gz
cd heartbeat-2.1.3
./ConfigureMe configure
make
make install
groupadd haclient
useradd -g haclient haclient
Use just 1 white space between parameters in haresources
In case of fail with reason user id hacluster not configured add
groupadd hacluster
useradd -g hacluster hacluster
Check in : /etc/passwd that :
1. pegasus:x:66:65:tog-pegasus OpenPegasus WBEM/CIM services:/var/lib/Pegasus:/sbin/nologin
2. hacluster:x:17:65::/home/hacluster:/sbin/nologin
3. haclient:x:500:65::/home/haclient:/bin/bash
and in : /etc/group that :
1. pegasus:x:66:
2. haclient:x:65
3. hacluster:x:500:

