Install
Versions and Compatibilty
The list of current and supported versions of Pacemaker are available at the Releases page. If you already have Pacemaker installed, please read the documentation on upgrading Pacemaker before following any of the instructions here.
Supported Branches
Series | First Released | Latest Version | Release Date | Next Release Planned |
---|---|---|---|---|
2.1 | 8 Jun 2021 | 2.1.6 | 24 May 2023 | late 2023 |
Deprecated Branches
Series | Last Release | First Released | Last Released |
---|---|---|---|
2.0 | 2.0.5 | 6 Jul 2018 | 02 Dec 2020 |
1.1 | 1.1.23 | 15 Jan 2010 | 22 June 2020 |
1.0 | 1.0.13 | 9 Oct 2008 | 13 Feb 2013 |
0.7 | 0.7.3 | 25 Jun 2008 | 22 Sep 2008 |
0.6 | 0.6.7 | 16 Jan 2008 | 15 Dec 2008 |
Binary Packages
Most Linux distributions do a good job of providing up-to-date binary packages for pacemaker and related components. Pacemaker is currently available on:
- Arch
- CentOS
- Fedora
- Gentoo
- OpenSUSE
- RHEL
- Scientific Linux
- Ubuntu
- and many more
See quickstart guides for more information about installing on particular distributions.
RPM-based distributions
Fedora
Pacemaker has been a part of the standard Fedora repositories since Fedora 12. To install:
yum install -y pacemaker corosync
RHEL
Pacemaker has been available for Red Hat Enterprise Linux (RHEL) since version 6.0 as part of the High Availability Add-On (initially as a Technology Preview, then with full support).
Users who purchase the add-on get the full value of a Red Hat subscription, including support, certifications, training, RHEL-specific documentation, and so on.
Users who are willing to forego that level of support have other options:
- Install from the RHEL install media
- Install from the CentOS or Scientific Linux repos
- Download and rebuild the necessary SRPMs from the Red Hat FTP server
As an example, using the CentOS repository:
cat >/etc/yum.repo.d/CentOS-Base.repo <<EOF [centos-base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os enabled=0 EOF yum install --enablerepo=centos-base pacemaker
RHEL-compatible Distributions (CentOS, Scientific Linux, etc.)
As of version 6 of these distros, Pacemaker is part of the distribution and updates are usually quickly available via the regular channels. There is nothing extra to download, just run:
yum install -y pacemaker corosync
openSUSE
openSUSE uses zypper instead of yum, but the procedure is much the same:
zypper install pacemaker corosync
.deb-based distributions
Debian
See the Debian-HA wiki for the latest information.
Pacemaker and related components have been available from the standard Debian repositories for a long time, but were removed from Debian 8 ("jessie") due to packaging issues that were not resolved before release. For jessie, Pacemaker is available from Debian backports.
To install:
apt-get install pacemaker corosync
See also the Debian Lenny HowTo and instructions for Compiling on Debian.
If you run into any issues installing, updating, or using these packages, please let us know on our [Mailing lists].
Ubuntu
As of Ubuntu 10.4 (Lucid Lynx), Pacemaker and all its dependancies are part of the distribution. Simply run:
aptitude install corosync pacemaker
or
aptitude install heartbeat pacemaker
Users of Ubuntu versions prior to 10.4 can either install the Debian packages, or try the ones from LaunchPad by adding
deb http://ppa.launchpad.net/ubuntu-ha/ppa/ubuntu karmic main deb-src http://ppa.launchpad.net/ubuntu-ha/ppa/ubuntu karmic main
to /etc/apt/sources.list before running the same aptitude command above.
Other
If no packages are available, you might need to install from source.
Next Steps
Once Pacemaker is installed, the next step is to configure your cluster stack. Check out our quickstart guides or the Initial Configuration page.