How To Install openhpi on CentOS 8
Introduction
In this tutorial we learn how to install openhpi
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install openhpi.
Install openhpi on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the openhpi
package we can use the following command:
sudo dnf remove openhpi
openhpi Package Contents on CentOS 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/01
/usr/lib/.build-id/01/eaea79339e23975b0364b9dcb25924f12961a0
/usr/lib/.build-id/01/fdfb29674447d0d8a7c4e7b3203e48323c9264
/usr/lib/.build-id/07
/usr/lib/.build-id/07/17f502c152f6fa788d5afebaacd5929294824c
/usr/lib/.build-id/07/4fcfdd24e8582fae262de8ea649a9c9931ab63
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/e84b9cb87626ea03cacffc5231d0db03918abd
/usr/lib/.build-id/12
/usr/lib/.build-id/12/a799fc686d00dcb7879bb285496c30b002cd9b
/usr/lib/.build-id/17
/usr/lib/.build-id/17/f7181820eb7bd4b22f31752478fc18a47d11f3
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/5ae6db4e3993c8c75831f7c806907fb4487490
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/bf831f89075379035ad7cec2493145980ec172
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/37bfa55894ff5193866d822860aebe906cd63f
/usr/lib/.build-id/24
/usr/lib/.build-id/24/1d0e1f46dc025d652d673e9c49ad8507252d99
/usr/lib/.build-id/25
/usr/lib/.build-id/25/ede48ce768471182efe9afc2acda1ad4515b32
/usr/lib/.build-id/28
/usr/lib/.build-id/28/e90cdbc40af54609de6b15d585719164238f90
/usr/lib/.build-id/29
/usr/lib/.build-id/29/1789c378ecc52fca5d2b768600eaa8e11f9673
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/610913274b83cbe6e11e6fb99fa64de50b090c
/usr/lib/.build-id/4c/8abf449537149839c1a8ddfb00258a4c7fb754
/usr/lib/.build-id/51
/usr/lib/.build-id/51/1b81b8bdc2bb082898370920c56c1566155441
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/fbb6c99f8724590dea3d8070016f2ac237e9c3
/usr/lib/.build-id/65
/usr/lib/.build-id/65/b0bd47d674618f3c4259fd0e8ef37e33e9936e
/usr/lib/.build-id/68
/usr/lib/.build-id/68/7e105ec727dee9b7e4184d689a04ff4e2a5015
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/418605dce76fcc14141e519235ce9643a6128b
/usr/lib/.build-id/90
/usr/lib/.build-id/90/f67bbea5a5469e742a38e5b53cf678f90f991c
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/fab0bbe3643166e74857ec9c1e2a156db71582
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/0db0bfc7bba22d4a37b7928753728e2bac49d2
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/87771ea00a3c99dded963c9d55626d6e56c3d8
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/2586f3719190a90525a9d4ac939d132a6b78a1
/usr/lib/.build-id/be
/usr/lib/.build-id/be/b5340553e226b9ffab106d7ec331cd166d285b
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/600f4a91724b2d7a0f891ab86eef91137d45dc
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/e93ac8c6f201578773603b189b1645c544b99c
/usr/lib/.build-id/db
/usr/lib/.build-id/db/e61fee1c68268727b153ec19e29a84825a3d7a
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/8b2252db385bd47d714a03c2d2bd3a61cd6321
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/a59aa09f455e3c16222271aac8023698b2021a
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/500385ccf8003eb37cbd8682ddbab60ae12ffe
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/81c4082bc6b46657288bc39fbfce2b12828114
/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 CentOS 8 using yum and dnf.