How To Install pacemaker on Fedora 34
Introduction
In this tutorial we learn how to install pacemaker
on Fedora 34.
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)
We can use yum
or dnf
to install pacemaker
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install pacemaker.
Install pacemaker on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install pacemaker
using dnf
by running the following command:
sudo dnf -y install pacemaker
Install pacemaker on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the pacemaker
package we can use the following command:
sudo dnf remove pacemaker
pacemaker Package Contents on Fedora 34
/etc/sysconfig/pacemaker
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/aabd260d924dd77d5c8223b7d29493bd81d864
/usr/lib/.build-id/15
/usr/lib/.build-id/15/bb38a2282fd1578f2340c4d2bcd46de02cbb05
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/f05d2c3e17d03f8df3d61b3aeb9979d72a4aac
/usr/lib/.build-id/41
/usr/lib/.build-id/41/00658dcb84ea3b9b5cc06e70675b7ddba70b49
/usr/lib/.build-id/66
/usr/lib/.build-id/66/f1de5c574d1925a04dbc3c8314dec75d863d0f
/usr/lib/.build-id/87
/usr/lib/.build-id/87/30a77586040cee779c5b5201778267e8ec1ab3
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/00491b70a9c28ee518e81d4e14c3965a09b2a2
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/69afae507886282c87846e4f51ebffc8639edc
/usr/lib/.build-id/d9/90e1f53fccae89718e4ca4ae09d3a6ddf81f0a
/usr/lib/.build-id/de
/usr/lib/.build-id/de/5d6b34b96bf7ef924375aab46120d80f84ee78
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/0efb6c95862a8f9ff64ac5b30dc617bac92e3b
/usr/lib/ocf/resource.d/pacemaker/controld
/usr/lib/ocf/resource.d/pacemaker/remote
/usr/lib/systemd/system/pacemaker.service
/usr/libexec/pacemaker/cts-exec-helper
/usr/libexec/pacemaker/cts-fence-helper
/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/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
/etc/sysconfig/pacemaker
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/ae89bf58247b8da2f04df9f6e9d03ac6e148d8
/usr/lib/.build-id/24
/usr/lib/.build-id/24/e5abe628c3459c719a585762479aeb27fdd379
/usr/lib/.build-id/43
/usr/lib/.build-id/43/788572cc946dc1fb10d705887e2fc72cfe2751
/usr/lib/.build-id/51
/usr/lib/.build-id/51/ecf9db6326ed94120948881c6dba54b50bffa7
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/363aa35e68c96f5e57028a83c82e2dad29c550
/usr/lib/.build-id/99
/usr/lib/.build-id/99/75d40e81be20ac92c990be9f66c5cb03a103ee
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/4d7247b2e497b2fc6d692b8836133af5d51ef1
/usr/lib/.build-id/d7/4e67fa1a85e381c5fa52ee96174ebd24088bdc
/usr/lib/.build-id/d7/99d9f125c7aa112e2f3c28ccafd368d5a017d2
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/fccc55138de9b64be031d5447b4d7676698fb8
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/e70d316094ee166c47504dc3bc1df966a82c54
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/c982eb273692c82b69b9fdf1cb84036df755d1
/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 Fedora 34 using yum and dnf.