openhpi(7)

🌸 openhpi β€” the openhpi(7) manual page, but make it make sense πŸ’…

okay so bestie, this is the manual page for openhpi β€” an implementation of the SA Forum's Hardware Platform Interface. it's a lot, but we're gonna get through it together, fr fr ✨


🌈 NAME

openhpi β€” an implementation of the SA Forum's Hardware Platform Interface, and honestly? it ate.


πŸŽ€ DESCRIPTION

OpenHPI is an implementation of the SA Forum's Hardware Platform Interface, which provides a standard C library interface to manage, monitor, and control hardware β€” and yes, that's both local and remote, the way that it covers everything πŸ’…

Starting with release 2.14.0, OpenHPI implements the HPI B.03.02 specification. periodt.

The OpenHPI client library (libopenhpi) provides all the connection functionality needed by the client application to connect to the OpenHPI daemon running on the local or remote server. it literally handles the whole "hey bestie can you reach the daemon" situation for you 🫢

The OpenHPI daemon runs as a background process and executes the requests. It loads plugins to adapt to the different hardware types. The plugins can be defined in the openhpi.conf file or can be loaded dynamically. iconic behaviour honestly ⭐


✨ ENVIRONMENTAL VARIABLES

Some of OpenHPI's functioning can be changed by setting environment variables. This documents all client environmental settings. Client environmental settings are evaluated in the openhpi library that is linked to the client. There are other environmental settings for the openhpi daemon (iykyk, different page).

  • OPENHPICLIENT_CONF="filename" β€” Location for the client's configuration file that specifies the HPI domains and addresses of daemons serving the domains. If the variable is not set, OpenHPI will look for a file openhpiclient.conf in the directory specified during the build process (default /etc/openhpi). so like, set it or it goes hunting on its own, no cap πŸ”₯
  • OPENHPI_DAEMON_HOST=URL β€” URL for the host running the daemon which the client wants to connect to. This can be an ip address or "localhost" (default) if the daemon is running on the same host as the client. The variable is only used if no default domain is defined via the client conf file. lowkey conditional, highkey useful πŸ’–
  • OPENHPI_DAEMON_PORT=PORT_NUMBER β€” The port number used by the daemon which the client wants to connect to. Default port is 4743. The variable is only used if no default domain is defined via the client conf file. remember 4743, it's giving ✨ the number ✨

πŸ”₯ HARDWARE SUPPORT

OpenHPI provides a number of plugins that talk to different hardware types. The following is a list of plugins provided by the OpenHPI project. (a whole friend group of plugins honestly 🫢)

πŸ’œ the actual hardware ones

  • ipmidirect β€” An IPMI plugin designed specifically for ATCA chassis. It implements IPMI commands directly in the plugin. direct. in the plugin. the way that it does that 😭
  • snmp_bc β€” An SNMP based plugin that can communicate with IBM BladeCenter, as well as IBM xSeries servers with RSA 1 adapters.
heads up bestie: the SNMP_BC plugin depends on net-snmp > 5.0.7. note the strictly-greater-than, it's not a suggestion πŸ“
  • ilo2_ribcl β€” OpenHPI plugin supporting HP ProLiant Rack Mount Servers. This plug-in connects to iLO2 on HP ProLiant Rack Mount Server using a SSL connection and exchanges information via Remote Insight Board Command Language (RIBCL). SSL + RIBCL, the whole combo πŸ’…
  • oa_soap β€” OpenHPI plug-in supporting HP BladeSystems c-Class. This plug-in connects to the OA of a c-Class chassis using an SSL connection and manages the system using an XML-encoded SOAP interface. XML-encoded SOAP in this economy 😭 but it works
  • rtas β€” Run-Time Abstraction Services (RTAS) plug-in. that's it, that's the description, short and iconic 🌸
  • sysfs β€” OpenHPI plugin that reads system information from sysfs. (LM sensors and I2C devices exported in sysfs requires kernel 2.6 or >= 2.5.72) β€” yes both, write them down, don't @ me πŸ™ˆ
  • watchdog β€” Linux watchdog device interface. simple, reliable, main character energy πŸ‘‘

🧚 the testing / fancy architecture ones

The following plugins are provided to ease testing or support complex hardware architectures:

  • simulator β€” OpenHPI plugin that reports fakes hardware used for testing the core library. fake hardware, real vibes ✨
  • dynamic_simulator β€” OpenHPI plugin that reports fakes hardware defined in the file simulation.data used for testing the core library. same energy, but the fake hardware lives in a file now, obsessed πŸŽ€
  • slave β€” OpenHPI plug-in that allows to aggregate resources from different domains (slave domains) and to provide aggregated resources as part of the one domain (master domain). collecting the girlies from every domain and presenting them as one πŸ’…
  • test_agent β€” OpenHPI plug-in for advanced testing. Provides console for runtime configuration. advanced testing bestie, we love to see it πŸ”₯

πŸ¦‹ OTHER DOCUMENTATION

The definitive guide to HPI is the SA Forum specification at http://saforum.org. that's the source of truth, no cap πŸ“–

More info on OpenHPI can be found at our webpage (http://openhpi.org) and in inline documentation. go read it, it's giving informative 🌈


⭐ SEE ALSO

The following man pages may also be of interest:

  • openhpid β€” The openhpi daemon, providing OpenHPI data as a system service.

OpenHPI client programs:

hpialarms      hpigensimdata  hpireset       hpitop
hpidomain      hpiinv         hpisensor      hpitree
hpiel          hpionIBMblade  hpisettime     hpiwdt
hpievents      hpipower       hpithres       hpixml
ohdomainlist   ohhandler      ohparam
hpi_shell

look at all of them. a whole squad. one of them is definitely your new fave 🫢


πŸ‘‘ AUTHORS

Authors of this man page:

  • Sean Dague (http://dague.net/sean)
  • Renier Morales (renier@openhpi.org)
  • Ulrich Kleber (ulikleber@users.sourceforge.net)
  • Anton Pak (avpak@users.sourceforge.net)

and that's the whole page bestie, you made it πŸ’–

✨ cute little sign-off: this was OpenHPI version 4.0.0, dated 2023-01-26, ok bye ily πŸŽ€πŸ¦‹