How To Install openlmi-pcp.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install openlmi-pcp.noarch on Amazon Linux 2.
What is openlmi-pcp.noarch
openlmi-pcp exposes metrics from a local PMCD (Performance Co-Pilot server) to the CIMOM. They appear as potentially hundreds of MOF classes, e.g. class “PCP_Metric_kernel__pernode__cpu__use”, with instances for each PCP metric instance, e.g. “node0”. PCP metric values and metadata are transcribed into strings on demand.
We can use yum to install openlmi-pcp.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install openlmi-pcp.noarch.
Install openlmi-pcp.noarch 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 openlmi-pcp.noarch using yum by running the following command:
sudo yum -y install openlmi-pcp.noarch
How To Uninstall openlmi-pcp.noarch on Amazon Linux 2
To uninstall only the openlmi-pcp.noarch package we can use the following command:
sudo yum remove openlmi-pcp.noarch
openlmi-pcp.noarch Package Contents on Amazon Linux 2
/etc/cron.daily/openlmi-pcp
/usr/bin/openlmi-pcp-generate
/usr/lib/python2.7/site-packages/lmi/pcp
/usr/lib/python2.7/site-packages/lmi/pcp/__init__.py
/usr/lib/python2.7/site-packages/lmi/pcp/__init__.pyc
/usr/lib/python2.7/site-packages/lmi/pcp/__init__.pyo
/usr/lib/python2.7/site-packages/lmi/pcp/metric.py
/usr/lib/python2.7/site-packages/lmi/pcp/metric.pyc
/usr/lib/python2.7/site-packages/lmi/pcp/metric.pyo
/usr/lib/python2.7/site-packages/openlmi_pcp-0.5.0-py2.7-nspkg.pth
/usr/lib/python2.7/site-packages/openlmi_pcp-0.5.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/openlmi_pcp-0.5.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/openlmi_pcp-0.5.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/openlmi_pcp-0.5.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/openlmi_pcp-0.5.0-py2.7.egg-info/namespace_packages.txt
/usr/lib/python2.7/site-packages/openlmi_pcp-0.5.0-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/openlmi_pcp-0.5.0-py2.7.egg-info/top_level.txt
/usr/share/doc/openlmi-pcp-0.5.0
/usr/share/doc/openlmi-pcp-0.5.0/COPYING
/usr/share/doc/openlmi-pcp-0.5.0/README
/usr/share/openlmi-providers/60_LMI_PCP.mof
/var/lib/openlmi-providers
/var/lib/openlmi-providers/60_LMI_PCP_PMNS.mof
/var/lib/openlmi-providers/60_LMI_PCP_PMNS.reg
/var/lib/openlmi-providers/stamp
References
Summary
In this tutorial we learn how to install openlmi-pcp.noarch on Amazon Linux 2 using yum.