Here are the steps I took to get heartbeat ( from linux-ha ) to run on Fedora Core 4 (fc4). It is by no means a clean install, but it appears to work for us at the moment.
First download the RPM’s from http://www.ultramonkey.org/download/heartbeat/. I am using version 2.0.2 today.
Then I installed curl to satisfy one of the dependencies.
yum install curl
I ran the following commands to get the rpms installed:
rpm -Uvh libnet-1.1.2.1-1.rh.el.um.1.i386.rpm
rpm -Uvh heartbeat-stonith-2.0.2-1.i386.rpm heartbeat-pils-2.0.2-1.i386.rpm --nodeps
rpm -Uvh heartbeat-2.0.2-1.i386.rpm --nodeps
Note that I told the heartbeat rpms to install with –nodeps. For some reason I can’t find or build RPMs for FC4 and the old libraries that heartbeat wants don’t work on FC4 apparently.
I got this error when trying to install libtool via yum.
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID db42a60e
Public key for autoconf-2.59-5.noarch.rpm is not installed
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora (0x4F2A6FD2) is already installed
The GPG keys listed for the "Fedora Core 4 - i386 - Base" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Doing this fixed it.
rpm --import /usr/share/rhn/RPM-GPG-KEY
yum install libtool
Then to get the library for real…
cd /usr/share/libtool/libltdl
./configure
make
make install
And finally, I linked it to a place where stuff will find it. Though I am sure there is a more correct way to do this too.
ln -s /usr/local/lib/libltdl.so.3 /lib/
Then all that is left is creating the files you need for heartbeat in /etc/ha.d/ as usual.
Leave a Reply