How To Install openhpi on CentOS 7

In this tutorial we learn how to install openhpi on CentOS 7. openhpi is Hardware Platform Interface library and tools

Introduction

In this tutorial we learn how to install openhpi on CentOS 7.

What is openhpi

OpenHPI is an open source project created with the intent of providing an implementation of the SA Forum’s Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers. HPI includes resource modeling; access to and control over sensor, control, watchdog, and inventory data associated with resources; abstracted System Event Log interfaces; hardware events and alerts; and a managed hot swap interface. OpenHPI provides a modular mechanism for adding new hardware and device support easily. Many plug-ins exist in the OpenHPI source tree to provide access to various types of hardware. This includes, but is not limited to, IPMI based servers, Blade Center, and machines which export data via sysfs. OpenHPI is an open source project created with the intent of providing an implementation of the SA Forum’s Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers. HPI includes resource modeling; access to and control over sensor, control, watchdog, and inventory data associated with resources; abstracted System Event Log interfaces; hardware events and alerts; and a managed hot swap interface. OpenHPI provides a modular mechanism for adding new hardware and device support easily. Many plug-ins exist in the OpenHPI source tree to provide access to various types of hardware. This includes, but is not limited to, IPMI based servers, Blade Center, and machines which export data via sysfs.

We can use yum or dnf to install openhpi on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install openhpi.

Install openhpi on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install openhpi using yum by running the following command:

sudo yum -y install openhpi

Install openhpi on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install openhpi using dnf by running the following command:

sudo dnf -y install openhpi

How To Uninstall openhpi on CentOS 7

To uninstall only the openhpi package we can use the following command:

sudo dnf remove openhpi

References

Summary

In this tutorial we learn how to install openhpi on CentOS 7 using yum and dnf.