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

In this tutorial we learn how to install pcp-pmda-lustre on Rocky Linux 8. pcp-pmda-lustre is Performance Co-Pilot (PCP) metrics for the Lustre Filesytem

Introduction

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

What is pcp-pmda-lustre

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Lustre Filesystem.

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

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

sudo dnf -y install pcp-pmda-lustre

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

sudo yum -y install pcp-pmda-lustre

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

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

sudo dnf remove pcp-pmda-lustre

pcp-pmda-lustre Package Contents on Rocky Linux 8

/etc/pcp/lustre
/etc/pcp/lustre/lustre.conf
/usr/libexec/pcp/pmdas/lustre
/usr/libexec/pcp/pmdas/lustre/Install
/usr/libexec/pcp/pmdas/lustre/Remove
/usr/libexec/pcp/pmdas/lustre/pmdalustre.pl
/var/lib/pcp/pmdas/lustre
/var/lib/pcp/pmdas/lustre/Install
/var/lib/pcp/pmdas/lustre/Remove
/var/lib/pcp/pmdas/lustre/lustre.conf
/var/lib/pcp/pmdas/lustre/pmdalustre.pl

References

Summary

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