Binary packages for current Fedora, OpenSUSE and EPEL compatible distributions (eg. RHEL, CentOS and Scientific Linux) releases:
You can find a getting started guide, additional documentation and details about the Pacemaker project at http://www.clusterlabs.org
Simply browse for your distribution and install the repository file.
Once installed, you can decide which cluster stack to use at runtime simply by starting either
service heartbeat startor
service corosync startYou can also choose not to install whichever stack you don't wish to use.
Installation is as simple as:
wget -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm/fedora-11/clusterlabs.repo yum install -y pacemaker corosync heartbeat
openSUSE uses zypper instead of yum, but the procedure is much the same:
zypper ar http://clusterlabs.org/rpm/opensuse-11.1/clusterlabs.repo zypper refresh zypper in pacemaker corosync heartbeat
The Pacemaker packages in the EPEL directories build against some additional packages that don't exist on vanilla RHEL/CentOS installs. For more information on EPEL, see http://fedoraproject.org/wiki/EPEL/FAQ So before installing Pacemaker, you will first need to tell the machine how to find the EPEL packages Pacemaker depends on. To do this, download and install the EPEL package that matches your RHEL/CentOS version.
For example to install on RHEL5.3 for i386, you'd first add the EPEL repository:
su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'And then add the Cluster Labs repository and install Pacemaker:
wget -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm/epel-5/clusterlabs.repo yum install -y pacemaker corosync heartbeat