How To Install openhpi on Rocky Linux 8

In this tutorial we learn how to install openhpi on Rocky Linux 8. openhpi is Hardware Platform Interface library and tools

Introduction

In this tutorial we learn how to install openhpi on Rocky Linux 8.

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.

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

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

sudo dnf -y install openhpi

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

sudo yum -y install openhpi

How To Uninstall openhpi on Rocky Linux 8

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

sudo dnf remove openhpi

openhpi Package Contents on Rocky Linux 8

/etc/openhpi
/etc/openhpi/openhpi.conf
/etc/openhpi/openhpiclient.conf
/etc/openhpi/simulation.data
/usr/bin/hpi_shell
/usr/bin/hpialarms
/usr/bin/hpicrypt
/usr/bin/hpidomain
/usr/bin/hpiel
/usr/bin/hpievents
/usr/bin/hpifan
/usr/bin/hpigensimdata
/usr/bin/hpiinv
/usr/bin/hpionIBMblade
/usr/bin/hpipower
/usr/bin/hpireset
/usr/bin/hpisensor
/usr/bin/hpisettime
/usr/bin/hpithres
/usr/bin/hpitop
/usr/bin/hpitree
/usr/bin/hpiwdt
/usr/bin/hpixml
/usr/bin/ohdomainlist
/usr/bin/ohhandler
/usr/bin/ohparam
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/a943ab86953dbbb1d1287071b928a7ebe119cd
/usr/lib/.build-id/27
/usr/lib/.build-id/27/7611c61a7a88a2b4d3cac0d2362815d9b2e3c0
/usr/lib/.build-id/27/f0109ab0d05c73ebd30a605272ec138d61b25d
/usr/lib/.build-id/30
/usr/lib/.build-id/30/cd20b9ae80f1389b7f4cbfe178c3f4ff1e2640
/usr/lib/.build-id/33
/usr/lib/.build-id/33/cf311976997cf35f03a71f821216d45a454fb9
/usr/lib/.build-id/34
/usr/lib/.build-id/34/9d6dd3106ba59a899ca1e4110e6ef4767d28ad
/usr/lib/.build-id/35
/usr/lib/.build-id/35/df24eedcfd6d14c737a39b4355ca3f88c29b1d
/usr/lib/.build-id/37
/usr/lib/.build-id/37/c97b3c62279a7151b86b93ebeb2d8c19730a08
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/38a18fecf57e04fd449d633e663e1c2cb47e39
/usr/lib/.build-id/44
/usr/lib/.build-id/44/860332e7f855afaade5a8ae0d7ba115f016e46
/usr/lib/.build-id/47
/usr/lib/.build-id/47/81411873016ac0940eb97c24557a45027ed579
/usr/lib/.build-id/48
/usr/lib/.build-id/48/2ef12a2197b517262acda7fe370b4cd0118656
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/8dde57719709168d4c523611279e96586439e3
/usr/lib/.build-id/64
/usr/lib/.build-id/64/df8d94e6dd8ab8e316eb1222b060946b933443
/usr/lib/.build-id/65
/usr/lib/.build-id/65/20ad0f19963fe5bf727e14dd4f81802f7818aa
/usr/lib/.build-id/81
/usr/lib/.build-id/81/9d045526c767f7f2daf27eb12adac2bbd29851
/usr/lib/.build-id/82
/usr/lib/.build-id/82/32c594aa3a722f1bcd7b140e43fed4b32505f2
/usr/lib/.build-id/82/d6ee30acca0fc10f52e44bca4bfccfe5959261
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/957e96da9804d60c9abbf53e786ba00c407cfd
/usr/lib/.build-id/8c/b36cc3e3b4ab88be338de2073fed9768be8c95
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/47c2f36ad1d17f2c9e30c98cfd3fd19f74e32f
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/3aade2437a94b5458ecf1c169783d8fb1f2907
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/00541609c650f8b7a67c270872811ec96c900a
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/527e4cfe37eca9b3ff73aed097e0cfd4df103a
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/3d807241136b4c21522bae2d8af1136a94ded1
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/9db45aaf1223b4a369d5e2b66d893ccb1245b4
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/809db2b5694236ffb83b6e6a67e05337c55eee
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/2da4fdd680688a0dcfb6ebf22173436032fe28
/usr/lib/.build-id/db
/usr/lib/.build-id/db/4bf9cdf17d76669e5c5b7fd8032805d59fee78
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/9c45377492c4bbe1470fb634926708898d6c62
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/979aae7c3b986a21b404252972e6331f2297c1
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/8419af29a69fdc5ca1a868ecfcf5299333e8e2
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/bf4f0fb09dc553213f97e0ec1aa202a3bea3ba
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/3bc05030d8fb68f37167b07ba7d45d9285836b
/usr/lib/systemd/system/openhpid.service
/usr/lib64/openhpi
/usr/lib64/openhpi/libdyn_simulator.so
/usr/lib64/openhpi/libdyn_simulator.so.3
/usr/lib64/openhpi/libdyn_simulator.so.3.8.0
/usr/lib64/openhpi/libilo2_ribcl.so
/usr/lib64/openhpi/libilo2_ribcl.so.3
/usr/lib64/openhpi/libilo2_ribcl.so.3.8.0
/usr/lib64/openhpi/libipmidirect.so
/usr/lib64/openhpi/libipmidirect.so.3
/usr/lib64/openhpi/libipmidirect.so.3.8.0
/usr/lib64/openhpi/liboa_soap.so
/usr/lib64/openhpi/liboa_soap.so.3
/usr/lib64/openhpi/liboa_soap.so.3.8.0
/usr/lib64/openhpi/libov_rest.so
/usr/lib64/openhpi/libov_rest.so.3
/usr/lib64/openhpi/libov_rest.so.3.8.0
/usr/lib64/openhpi/libsimulator.so
/usr/lib64/openhpi/libsimulator.so.3
/usr/lib64/openhpi/libsimulator.so.3.8.0
/usr/lib64/openhpi/libslave.so
/usr/lib64/openhpi/libslave.so.3
/usr/lib64/openhpi/libslave.so.3.8.0
/usr/lib64/openhpi/libsnmp_bc.so
/usr/lib64/openhpi/libsnmp_bc.so.3
/usr/lib64/openhpi/libsnmp_bc.so.3.8.0
/usr/lib64/openhpi/libsysfs2hpi.so
/usr/lib64/openhpi/libsysfs2hpi.so.3
/usr/lib64/openhpi/libsysfs2hpi.so.3.8.0
/usr/lib64/openhpi/libtest_agent.so
/usr/lib64/openhpi/libtest_agent.so.3
/usr/lib64/openhpi/libtest_agent.so.3.8.0
/usr/lib64/openhpi/libwatchdog.so
/usr/lib64/openhpi/libwatchdog.so.3
/usr/lib64/openhpi/libwatchdog.so.3.8.0
/usr/sbin/openhpid
/usr/share/doc/openhpi
/usr/share/doc/openhpi/COPYING
/usr/share/doc/openhpi/ChangeLog
/usr/share/doc/openhpi/OpenHPI_Blade_DevGuide.pdf
/usr/share/doc/openhpi/OpenHPI_ProLiant_DevGuide.pdf
/usr/share/doc/openhpi/OpenHPI_Synergy_DevGuide.pdf
/usr/share/doc/openhpi/README
/usr/share/doc/openhpi/README-dynamic_simulator
/usr/share/doc/openhpi/README.daemon
/usr/share/doc/openhpi/bc2hpi.pdf
/usr/share/doc/openhpi/openhpi.conf.example
/usr/share/man/man1/hpi_shell.1.gz
/usr/share/man/man1/hpialarms.1.gz
/usr/share/man/man1/hpicrypt.1.gz
/usr/share/man/man1/hpidomain.1.gz
/usr/share/man/man1/hpiel.1.gz
/usr/share/man/man1/hpievents.1.gz
/usr/share/man/man1/hpifan.1.gz
/usr/share/man/man1/hpigensimdata.1.gz
/usr/share/man/man1/hpiinv.1.gz
/usr/share/man/man1/hpionIBMblade.1.gz
/usr/share/man/man1/hpipower.1.gz
/usr/share/man/man1/hpireset.1.gz
/usr/share/man/man1/hpisensor.1.gz
/usr/share/man/man1/hpisettime.1.gz
/usr/share/man/man1/hpithres.1.gz
/usr/share/man/man1/hpitop.1.gz
/usr/share/man/man1/hpitree.1.gz
/usr/share/man/man1/hpiwdt.1.gz
/usr/share/man/man1/hpixml.1.gz
/usr/share/man/man1/ohdomainlist.1.gz
/usr/share/man/man1/ohhandler.1.gz
/usr/share/man/man1/ohparam.1.gz
/usr/share/man/man7/openhpi.7.gz
/usr/share/man/man8/openhpid.8.gz
/var/lib/openhpi

References

Summary

In this tutorial we learn how to install openhpi on Rocky Linux 8 using yum and dnf.