Pacemaker is an open-source high-availability cluster resource manager used on computer clusters. It was first developed in 2004 and was originally part of the Linux-HA project until approximately 2007, when it was split off into its own project under the ClusterLabs community.
Overview
Pacemaker coordinates the configuration, startup, monitoring, and recovery of interrelated services across all nodes in a cluster. It is the resource manager component of the ClusterLabs open-source high-availability cluster stack, typically used in conjunction with Corosync, which provides messaging and membership capabilities.
Key Features
- Failure detection and recovery: Detection and recovery of both host-level and application-level failures.
- Redundancy configuration: Support for practically any redundancy configuration.
- Quorum management: Configurable strategies for dealing with loss of quorum.
- Service ordering: Support for ordering the start and stop of different applications without requiring them to run on the same host.
- Affinity rules: Support for applications that must or must not run on the same host.
- Multi-host support: Support for applications that should be active on multiple hosts simultaneously.
- Dual roles: Support for applications with promoted and unpromoted roles (e.g., primary/standby).
- Testable correctness: The cluster's response to any failure or state can be tested offline before the condition occurs, ensuring provably correct behavior.
History
Pacemaker was initially created by lead developer Andrew Beekhof, with catalyst and advocate Lars Marowsky-Brée. Beekhof led the project until late 2015, followed by Ken Gaillot through 2024. Chris Lumens became the project lead thereafter. Development is a collaborative effort by the ClusterLabs community, which includes full-time developers from Red Hat and SUSE.
Distribution and Usage
Pacemaker ships with most modern Linux distributions. It is included in Red Hat Enterprise Linux (as part of the High Availability Add-On), SUSE Linux Enterprise Server, and other enterprise Linux distributions. It has been deployed in critical environments, including Deutsche Flugsicherung GmbH, which used Pacemaker to ensure the availability of air traffic control systems.
Use Cases
- Database high availability: Used with SQL Server on Linux for Availability Groups and Failover Cluster Instances.
- Enterprise applications: Managing SAP ASCS/ERS services in high-availability configurations.
- General service failover: Ensuring critical services can fail over from one node to another without service interruption.
Licensing
Pacemaker is open-source software, distributed under the GNU General Public License (GPL).