How To Install pacemaker on Rocky Linux 8
Introduction
In this tutorial we learn how to install pacemaker on Rocky Linux 8.
What is pacemaker
Pacemaker is an advanced, scalable High-Availability cluster resource manager. It supports more than 16 node clusters with significant capabilities for managing resources and dependencies. It will run scripts at initialization, when machines go up or down, when related resources fail and can be configured to periodically check resource health. Available rpmbuild rebuild options –with(out) profiling
We can use yum or dnf to install pacemaker on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pacemaker.
Install pacemaker on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pacemaker using dnf by running the following command:
sudo dnf -y install pacemaker
Install pacemaker on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pacemaker using yum by running the following command:
sudo yum -y install pacemaker
How To Uninstall pacemaker on Rocky Linux 8
To uninstall only the pacemaker package we can use the following command:
sudo dnf remove pacemaker
pacemaker Package Contents on Rocky Linux 8
/etc/sysconfig/pacemaker
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/7424d7a6db66391e28b7db8c68fe5a12b72965
/usr/lib/.build-id/12
/usr/lib/.build-id/12/283b41d1ec42de9b30ad6ea0d1f1077f45ac6a
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/4f040c9326de88b07ea3d0056cb627637a1426
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/ea2431805cb29d553d6324f3fc0bb86c5733f0
/usr/lib/.build-id/48
/usr/lib/.build-id/48/e7e322d4e0f00455d2e6ad39d7c997778b69c3
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/3727d973ff8430759f80c081d06823ab63208f
/usr/lib/.build-id/64
/usr/lib/.build-id/64/f4b39f73cae2f87b39f2aaa5ee326c726a3a50
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/700803451ac95a0111067d23af8141d6ebd359
/usr/lib/.build-id/97
/usr/lib/.build-id/97/d79209abee8ee48b09da4e67ee60288f8208cd
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/5f84af3e78c2b56e10ba7fa0159f49f8478942
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/243dddef3d5d5c826d86b71e0265f01b702521
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/4c4d1bd731e1aebf307aaceb07ae4e79d8a3d5
/usr/lib/ocf/resource.d/pacemaker/controld
/usr/lib/ocf/resource.d/pacemaker/remote
/usr/lib/systemd/system/pacemaker.service
/usr/libexec/pacemaker/attrd
/usr/libexec/pacemaker/cib
/usr/libexec/pacemaker/cibmon
/usr/libexec/pacemaker/crmd
/usr/libexec/pacemaker/cts-exec-helper
/usr/libexec/pacemaker/cts-fence-helper
/usr/libexec/pacemaker/lrmd
/usr/libexec/pacemaker/pacemaker-attrd
/usr/libexec/pacemaker/pacemaker-based
/usr/libexec/pacemaker/pacemaker-controld
/usr/libexec/pacemaker/pacemaker-execd
/usr/libexec/pacemaker/pacemaker-fenced
/usr/libexec/pacemaker/pacemaker-schedulerd
/usr/libexec/pacemaker/pengine
/usr/libexec/pacemaker/stonithd
/usr/sbin/crm_attribute
/usr/sbin/crm_master
/usr/sbin/pacemakerd
/usr/share/doc/pacemaker
/usr/share/doc/pacemaker/COPYING
/usr/share/doc/pacemaker/ChangeLog
/usr/share/licenses/pacemaker
/usr/share/licenses/pacemaker/GPLv2
/usr/share/man/man7/ocf_pacemaker_controld.7.gz
/usr/share/man/man7/ocf_pacemaker_remote.7.gz
/usr/share/man/man7/pacemaker-controld.7.gz
/usr/share/man/man7/pacemaker-fenced.7.gz
/usr/share/man/man7/pacemaker-schedulerd.7.gz
/usr/share/man/man8/crm_attribute.8.gz
/usr/share/man/man8/crm_master.8.gz
/usr/share/man/man8/pacemakerd.8.gz
/usr/share/pacemaker/alerts
/usr/share/pacemaker/alerts/alert_file.sh.sample
/usr/share/pacemaker/alerts/alert_smtp.sh.sample
/usr/share/pacemaker/alerts/alert_snmp.sh.sample
/var/lib/pacemaker/cib
/var/lib/pacemaker/pengine
References
Summary
In this tutorial we learn how to install pacemaker on Rocky Linux 8 using yum and dnf.