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

In this tutorial we learn how to install pcp-pmda-mssql on Rocky Linux 8. pcp-pmda-mssql is Performance Co-Pilot (PCP) metrics for Microsoft SQL Server

Introduction

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

What is pcp-pmda-mssql

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from Microsoft SQL Server.

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

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

sudo dnf -y install pcp-pmda-mssql

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

sudo yum -y install pcp-pmda-mssql

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

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

sudo dnf remove pcp-pmda-mssql

pcp-pmda-mssql Package Contents on Rocky Linux 8

/etc/pcp/mssql
/etc/pcp/mssql/mssql.conf
/usr/libexec/pcp/pmdas/mssql
/usr/libexec/pcp/pmdas/mssql/Install
/usr/libexec/pcp/pmdas/mssql/Remove
/usr/libexec/pcp/pmdas/mssql/Upgrade
/usr/libexec/pcp/pmdas/mssql/pmdamssql.python
/var/lib/pcp/pmdas/mssql
/var/lib/pcp/pmdas/mssql/Install
/var/lib/pcp/pmdas/mssql/Remove
/var/lib/pcp/pmdas/mssql/Upgrade
/var/lib/pcp/pmdas/mssql/mssql.conf
/var/lib/pcp/pmdas/mssql/pmdamssql.python

References

Summary

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