How To Install pacemaker.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pacemaker.x86_64 in Amazon Linux 2. pacemaker.x86_64 is Scalable High-Availability cluster resource manager

Introduction

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

What is pacemaker.x86_64

Pacemaker is an advanced, scalable High-Availability cluster resource manager for Corosync, CMAN and/or Linux-HA. 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 to install pacemaker.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.x86_64.

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

sudo yum -y install pacemaker.x86_64

How To Uninstall pacemaker.x86_64 on Amazon Linux 2

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

sudo yum remove pacemaker.x86_64

pacemaker.x86_64 Package Contents on Amazon Linux 2

/etc/sysconfig/pacemaker
/usr/lib/ocf/resource.d/.isolation
/usr/lib/ocf/resource.d/.isolation/docker-wrapper
/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/lrmd
/usr/libexec/pacemaker/lrmd_internal_ctl
/usr/libexec/pacemaker/pengine
/usr/libexec/pacemaker/stonith-test
/usr/libexec/pacemaker/stonithd
/usr/sbin/crm_attribute
/usr/sbin/crm_master
/usr/sbin/crm_node
/usr/sbin/pacemakerd
/usr/sbin/stonith_admin
/usr/share/doc/pacemaker-1.1.23
/usr/share/doc/pacemaker-1.1.23/COPYING
/usr/share/doc/pacemaker-1.1.23/ChangeLog
/usr/share/licenses/pacemaker-1.1.23
/usr/share/licenses/pacemaker-1.1.23/GPLv2
/usr/share/man/man7/crmd.7.gz
/usr/share/man/man7/ocf_pacemaker_controld.7.gz
/usr/share/man/man7/ocf_pacemaker_remote.7.gz
/usr/share/man/man7/pengine.7.gz
/usr/share/man/man7/stonithd.7.gz
/usr/share/man/man8/crm_attribute.8.gz
/usr/share/man/man8/crm_master.8.gz
/usr/share/man/man8/crm_node.8.gz
/usr/share/man/man8/pacemakerd.8.gz
/usr/share/man/man8/stonith_admin.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.x86_64 on Amazon Linux 2 using yum.