How To Install pacemaker-remote.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pacemaker-remote.x86_64 in Amazon Linux 2. pacemaker-remote.x86_64 is Pacemaker remote daemon for non-cluster nodes

Introduction

In this tutorial we learn how to install pacemaker-remote.x86_64 on Amazon Linux 2.

What is pacemaker-remote.x86_64

Pacemaker is an advanced, scalable High-Availability cluster resource manager for Corosync, CMAN and/or Linux-HA. 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 to install pacemaker-remote.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pacemaker-remote.x86_64.

Install pacemaker-remote.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pacemaker-remote.x86_64 using yum by running the following command:

sudo yum -y install pacemaker-remote.x86_64

How To Uninstall pacemaker-remote.x86_64 on Amazon Linux 2

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

sudo yum remove pacemaker-remote.x86_64

pacemaker-remote.x86_64 Package Contents on Amazon Linux 2

/etc/sysconfig/pacemaker
/usr/lib/systemd/system/pacemaker_remote.service
/usr/sbin/pacemaker_remoted
/usr/share/doc/pacemaker-remote-1.1.23
/usr/share/doc/pacemaker-remote-1.1.23/COPYING
/usr/share/doc/pacemaker-remote-1.1.23/ChangeLog
/usr/share/licenses/pacemaker-remote-1.1.23
/usr/share/licenses/pacemaker-remote-1.1.23/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.x86_64 on Amazon Linux 2 using yum.