How To Install pacemaker-remote on Rocky Linux 8

In this tutorial we learn how to install pacemaker-remote on Rocky Linux 8. pacemaker-remote is Pacemaker remote daemon for non-cluster nodes

Introduction

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

What is pacemaker-remote

Pacemaker is an advanced, scalable High-Availability cluster resource manager. The pacemaker-remote package contains the Pacemaker Remote daemon which is capable of extending pacemaker functionality to remote nodes not running the full corosync/cluster stack.

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

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

sudo dnf -y install pacemaker-remote

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

sudo yum -y install pacemaker-remote

How To Uninstall pacemaker-remote on Rocky Linux 8

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

sudo dnf remove pacemaker-remote

pacemaker-remote Package Contents on Rocky Linux 8

/etc/sysconfig/pacemaker
/usr/lib/.build-id
/usr/lib/.build-id/c9/5f84af3e78c2b56e10ba7fa0159f49f8478942
/usr/lib/systemd/system/pacemaker_remote.service
/usr/sbin/pacemaker-remoted
/usr/sbin/pacemaker_remoted
/usr/share/doc/pacemaker-remote
/usr/share/doc/pacemaker-remote/COPYING
/usr/share/doc/pacemaker-remote/ChangeLog
/usr/share/licenses/pacemaker-remote
/usr/share/licenses/pacemaker-remote/GPLv2
/usr/share/man/man8/pacemaker-remoted.8.gz
/var/lib/rpm-state/pacemaker

References

Summary

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