How To Install pcp-pmda-hacluster on Rocky Linux 8

In this tutorial we learn how to install pcp-pmda-hacluster on Rocky Linux 8. pcp-pmda-hacluster is Performance Co-Pilot (PCP) metrics for High Availability Clusters

Introduction

In this tutorial we learn how to install pcp-pmda-hacluster on Rocky Linux 8.

What is pcp-pmda-hacluster

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about linux High Availability (HA) Clusters.

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

Install pcp-pmda-hacluster 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 pcp-pmda-hacluster using dnf by running the following command:

sudo dnf -y install pcp-pmda-hacluster

Install pcp-pmda-hacluster 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 pcp-pmda-hacluster using yum by running the following command:

sudo yum -y install pcp-pmda-hacluster

How To Uninstall pcp-pmda-hacluster on Rocky Linux 8

To uninstall only the pcp-pmda-hacluster package we can use the following command:

sudo dnf remove pcp-pmda-hacluster

pcp-pmda-hacluster Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/4b/b284cd806fc6289eab8bd8d7bf6035e572f127
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/1e796ca9e5a15e2c7b1f25876cecef24b04d69
/usr/libexec/pcp/pmdas/hacluster
/usr/libexec/pcp/pmdas/hacluster/Install
/usr/libexec/pcp/pmdas/hacluster/Remove
/usr/libexec/pcp/pmdas/hacluster/domain.h
/usr/libexec/pcp/pmdas/hacluster/help
/usr/libexec/pcp/pmdas/hacluster/pmda_hacluster.so
/usr/libexec/pcp/pmdas/hacluster/pmdahacluster
/usr/libexec/pcp/pmdas/hacluster/pmns
/usr/libexec/pcp/pmdas/hacluster/root
/var/lib/pcp/pmdas/hacluster
/var/lib/pcp/pmdas/hacluster/Install
/var/lib/pcp/pmdas/hacluster/Remove
/var/lib/pcp/pmdas/hacluster/domain.h
/var/lib/pcp/pmdas/hacluster/help
/var/lib/pcp/pmdas/hacluster/pmda_hacluster.so
/var/lib/pcp/pmdas/hacluster/pmdahacluster
/var/lib/pcp/pmdas/hacluster/pmns
/var/lib/pcp/pmdas/hacluster/root

References

Summary

In this tutorial we learn how to install pcp-pmda-hacluster on Rocky Linux 8 using yum and dnf.