How To Install openhpi on Fedora 34

openhpi is Hardware Platform Interface library and tools

Introduction

In this tutorial we learn how to install openhpi on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install openhpi.

Install openhpi on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install openhpi

Install openhpi on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove openhpi

openhpi Package Contents on Fedora 34

/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/0f
/usr/lib/.build-id/0f/7a6e879aa4bde774d2d36fa1c020599ce44b75
/usr/lib/.build-id/19
/usr/lib/.build-id/19/306ae4b42e01f567f49df8ea5b384bc35769ad
/usr/lib/.build-id/22
/usr/lib/.build-id/22/95e80f3396e6d441df7f8dd4b8c855cd384b67
/usr/lib/.build-id/26
/usr/lib/.build-id/26/aaea0a0da1146d02e9a626a0f8b2359759c996
/usr/lib/.build-id/31
/usr/lib/.build-id/31/dc8a56464c900c73d2a47c7b4a43eb0c2c247e
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/37559848b791ae273a6479b0cef5feb5d2892e
/usr/lib/.build-id/43
/usr/lib/.build-id/43/720885334f1cb202311022c0c97ceb6fe9f143
/usr/lib/.build-id/45
/usr/lib/.build-id/45/af0594af1f5000a0c269781d41a992c11ced80
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/99cc65c4d7dff8037768b0247c44c4c63bcbfa
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/fd148d23211b9f27b057f03212ce731f3e8fb2
/usr/lib/.build-id/57
/usr/lib/.build-id/57/4e23104bc39a0081a5ac09611c586510d3fd5a
/usr/lib/.build-id/68
/usr/lib/.build-id/68/60efecc67e70e7f10c59141724269f49bcbbda
/usr/lib/.build-id/76
/usr/lib/.build-id/76/fbd9ee2b5e05215a042d97b2fcf0fd03ebe294
/usr/lib/.build-id/77
/usr/lib/.build-id/77/c2b09520063fb1040bfc6015a4d96e5d6dd597
/usr/lib/.build-id/87
/usr/lib/.build-id/87/8a8e938fa9e59346b8dcc99e5b3414be430ece
/usr/lib/.build-id/92
/usr/lib/.build-id/92/0a157947f383fad4082570531e01f12b7b1b60
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/082067218f783b9df9127bc3b9a2ad7d8bb9e1
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/85fc0bc259627f1f6880fcd9b645ace46e90e0
/usr/lib/.build-id/9c/a267e395b3322492c6136c9b63f050d48f5ec8
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/8e7fa1de5c28d26d976d861b7e88972d029c17
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/4c6502f08f8ae70e7d6034766d2e4d553cdedc
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/f1b6d1d01a38f945df596a795e6b212d25948d
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/3aaf12b1837fd8d9bf8caeda274867100a8e2e
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/e843b89168648e43af8077b8faece7af598adc
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/2072f1e3dc60ce106db4318a640d41cbe19495
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/17e39468c7f6705710551dfd85d37e2faf0868
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/44d6416d3aad22d87d9446a464847c86b5215f
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/b01ca7d9ff37cf758a41790b5ae5f75a8958cd
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/a34bd4d85911704d202242868bda548c7f6734
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/2ae59fadf1a3012eff591f2e4e6729569c57f3
/usr/lib/.build-id/e0/d1784f7a6fb48909c351a39eaa57a06732073d
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/bbca401dbbb57cb12827f4b95a19e03f9e3551
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/748691e5924b5bbd7ffdd1399b432f43e1f726
/usr/lib/.build-id/fd/da6681b536ac637241a1da31f74995cb9200bd
/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-3.8.0/COPYING
/usr/share/doc/openhpi-3.8.0/ChangeLog
/usr/share/doc/openhpi-3.8.0/README
/usr/share/doc/openhpi-3.8.0/README-dynamic_simulator
/usr/share/doc/openhpi-3.8.0/README.daemon
/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/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 Fedora 34 using yum and dnf.