How To Install pacemaker-cli on Rocky Linux 8

In this tutorial we learn how to install pacemaker-cli on Rocky Linux 8. pacemaker-cli is Command line tools for controlling Pacemaker clusters

Introduction

In this tutorial we learn how to install pacemaker-cli on Rocky Linux 8.

What is pacemaker-cli

Pacemaker is an advanced, scalable High-Availability cluster resource manager. The pacemaker-cli package contains command line tools that can be used to query and control the cluster from machines that may, or may not, be part of the cluster.

We can use yum or dnf to install pacemaker-cli on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pacemaker-cli.

Install pacemaker-cli 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-cli using dnf by running the following command:

sudo dnf -y install pacemaker-cli

Install pacemaker-cli 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-cli using yum by running the following command:

sudo yum -y install pacemaker-cli

How To Uninstall pacemaker-cli on Rocky Linux 8

To uninstall only the pacemaker-cli package we can use the following command:

sudo dnf remove pacemaker-cli

pacemaker-cli Package Contents on Rocky Linux 8

/etc/logrotate.d/pacemaker
/etc/pacemaker
/etc/sysconfig/crm_mon
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/31c0ce01c11b3b9aa1e169975d7a0000f324d1
/usr/lib/.build-id/16
/usr/lib/.build-id/16/18eb113264a24151403d5873b9cb0d7ecc8169
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/53816599b672256f834823e7cd8d364f4585fa
/usr/lib/.build-id/28
/usr/lib/.build-id/28/4854dcefad4e64fbba02d069e4aaa75b34fa8c
/usr/lib/.build-id/42
/usr/lib/.build-id/42/058d6cb165a2b4ac61293d490efecdcd997517
/usr/lib/.build-id/53
/usr/lib/.build-id/53/c9bc8374081b3fa042727a97788ea9485168a7
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/41d508e0a3c423aeb560fa513a86ed8efa4743
/usr/lib/.build-id/60
/usr/lib/.build-id/60/c182564afae991d55777f73b11d156cb3f3f06
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/1fe9ad2145457356d927801a1725f6308af9a8
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/49de3ac2fd45a9314386418ad44c27ae1e81de
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/894e377b1f71db7ea4bdbe9cbe3c615886616f
/usr/lib/.build-id/df
/usr/lib/.build-id/df/54170f0f3feb2a531258b2586699a8cff343dd
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/ec9184cbafaa8f4663d712721465acd641dd74
/usr/lib/.build-id/f8/1d0b67af43d825c322ca7f1f25158190da040d
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/2c5b2ee94e547ae59e7cd11b7b9b4479d51cb4
/usr/lib/ocf
/usr/lib/ocf/resource.d
/usr/lib/ocf/resource.d/pacemaker
/usr/lib/ocf/resource.d/pacemaker/ClusterMon
/usr/lib/ocf/resource.d/pacemaker/Dummy
/usr/lib/ocf/resource.d/pacemaker/HealthCPU
/usr/lib/ocf/resource.d/pacemaker/HealthIOWait
/usr/lib/ocf/resource.d/pacemaker/HealthSMART
/usr/lib/ocf/resource.d/pacemaker/Stateful
/usr/lib/ocf/resource.d/pacemaker/SysInfo
/usr/lib/ocf/resource.d/pacemaker/SystemHealth
/usr/lib/ocf/resource.d/pacemaker/attribute
/usr/lib/ocf/resource.d/pacemaker/ifspeed
/usr/lib/ocf/resource.d/pacemaker/ping
/usr/lib/ocf/resource.d/pacemaker/pingd
/usr/lib/systemd/system/crm_mon.service
/usr/sbin/attrd_updater
/usr/sbin/cibadmin
/usr/sbin/cibsecret
/usr/sbin/crm_diff
/usr/sbin/crm_error
/usr/sbin/crm_failcount
/usr/sbin/crm_mon
/usr/sbin/crm_node
/usr/sbin/crm_report
/usr/sbin/crm_resource
/usr/sbin/crm_rule
/usr/sbin/crm_shadow
/usr/sbin/crm_simulate
/usr/sbin/crm_standby
/usr/sbin/crm_ticket
/usr/sbin/crm_verify
/usr/sbin/crmadmin
/usr/sbin/iso8601
/usr/sbin/stonith_admin
/usr/share/doc/pacemaker-cli
/usr/share/doc/pacemaker-cli/COPYING
/usr/share/doc/pacemaker-cli/ChangeLog
/usr/share/licenses/pacemaker-cli
/usr/share/licenses/pacemaker-cli/GPLv2
/usr/share/man/man7/ocf_pacemaker_ClusterMon.7.gz
/usr/share/man/man7/ocf_pacemaker_Dummy.7.gz
/usr/share/man/man7/ocf_pacemaker_HealthCPU.7.gz
/usr/share/man/man7/ocf_pacemaker_HealthIOWait.7.gz
/usr/share/man/man7/ocf_pacemaker_HealthSMART.7.gz
/usr/share/man/man7/ocf_pacemaker_Stateful.7.gz
/usr/share/man/man7/ocf_pacemaker_SysInfo.7.gz
/usr/share/man/man7/ocf_pacemaker_SystemHealth.7.gz
/usr/share/man/man7/ocf_pacemaker_attribute.7.gz
/usr/share/man/man7/ocf_pacemaker_ifspeed.7.gz
/usr/share/man/man7/ocf_pacemaker_ping.7.gz
/usr/share/man/man7/ocf_pacemaker_pingd.7.gz
/usr/share/man/man8/attrd_updater.8.gz
/usr/share/man/man8/cibadmin.8.gz
/usr/share/man/man8/cibsecret.8.gz
/usr/share/man/man8/crm_diff.8.gz
/usr/share/man/man8/crm_error.8.gz
/usr/share/man/man8/crm_failcount.8.gz
/usr/share/man/man8/crm_mon.8.gz
/usr/share/man/man8/crm_node.8.gz
/usr/share/man/man8/crm_report.8.gz
/usr/share/man/man8/crm_resource.8.gz
/usr/share/man/man8/crm_rule.8.gz
/usr/share/man/man8/crm_shadow.8.gz
/usr/share/man/man8/crm_simulate.8.gz
/usr/share/man/man8/crm_standby.8.gz
/usr/share/man/man8/crm_ticket.8.gz
/usr/share/man/man8/crm_verify.8.gz
/usr/share/man/man8/crmadmin.8.gz
/usr/share/man/man8/iso8601.8.gz
/usr/share/man/man8/stonith_admin.8.gz
/usr/share/pacemaker/report.collector
/usr/share/pacemaker/report.common
/usr/share/snmp/mibs/PCMK-MIB.txt
/var/lib/pacemaker
/var/lib/pacemaker/blackbox
/var/lib/pacemaker/cores
/var/log/pacemaker
/var/log/pacemaker/bundles

References

Summary

In this tutorial we learn how to install pacemaker-cli on Rocky Linux 8 using yum and dnf.