How To Install powerman on CentOS 8

powerman is Centralized power control for clusters

Introduction

In this tutorial we learn how to install powerman on CentOS 8.

What is powerman

PowerMan is a tool for manipulating remote power control (RPC) devices from a central location. Several RPC varieties are supported natively by PowerMan and Expect-like configurability simplifies the addition of new devices.

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

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

sudo dnf -y install powerman

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

sudo yum -y install powerman

How To Uninstall powerman on CentOS 8

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

sudo dnf remove powerman

powerman Package Contents on CentOS 8

/etc/powerman
/etc/powerman/apc-snmp.dev
/etc/powerman/apc.dev
/etc/powerman/apc7900.dev
/etc/powerman/apc7900v3.dev
/etc/powerman/apc7920.dev
/etc/powerman/apc8941.dev
/etc/powerman/apcnew.dev
/etc/powerman/apcold.dev
/etc/powerman/apcpdu.dev
/etc/powerman/apcpdu3.dev
/etc/powerman/appro-gb2.dev
/etc/powerman/appro-greenblade.dev
/etc/powerman/bashfun.dev
/etc/powerman/baytech-rpc18d-nc.dev
/etc/powerman/baytech-rpc22.dev
/etc/powerman/baytech-rpc28-nc.dev
/etc/powerman/baytech-rpc3-nc.dev
/etc/powerman/baytech-snmp.dev
/etc/powerman/baytech.dev
/etc/powerman/cb-7050.dev
/etc/powerman/cyclades-pm10.dev
/etc/powerman/cyclades-pm20.dev
/etc/powerman/cyclades-pm42.dev
/etc/powerman/cyclades-pm8.dev
/etc/powerman/dli.dev
/etc/powerman/dli4.dev
/etc/powerman/eaton-epdu-blue-switched.dev
/etc/powerman/eaton-revelation-snmp.dev
/etc/powerman/hp3488.dev
/etc/powerman/hpilo.dev
/etc/powerman/hpmp.dev
/etc/powerman/hpmpblade.dev
/etc/powerman/hpmpcell.dev
/etc/powerman/hpmpdome.dev
/etc/powerman/ibmbladecenter.dev
/etc/powerman/icebox.dev
/etc/powerman/icebox3.dev
/etc/powerman/ics8064.dev
/etc/powerman/ilom.dev
/etc/powerman/ipmi.dev
/etc/powerman/ipmipower-serial.dev
/etc/powerman/ipmipower.dev
/etc/powerman/kvm-ssh.dev
/etc/powerman/kvm.dev
/etc/powerman/lom.dev
/etc/powerman/openbmc.dev
/etc/powerman/phantom.dev
/etc/powerman/plmpower.dev
/etc/powerman/powerman.conf.example
/etc/powerman/powerman.dev
/etc/powerman/rancid-cisco-poe.dev
/etc/powerman/raritan-px4316.dev
/etc/powerman/raritan-px5523.dev
/etc/powerman/sentry_cdu.dev
/etc/powerman/swpdu.dev
/etc/powerman/vpc.dev
/etc/powerman/wti-rps10.dev
/etc/powerman/wti.dev
/usr/bin/pm
/usr/bin/powerman
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/68a4cb4bba6072add67378017d1adf101e46ad
/usr/lib/.build-id/45
/usr/lib/.build-id/45/06c718e97141778b859f005a93e1502e3f78ef
/usr/lib/.build-id/52
/usr/lib/.build-id/52/1ba3beb99fd94247622c3a82b0cd8d750858da
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/3f5039e1d363a2a0a1239b76c72efc0345ebee
/usr/lib/.build-id/95
/usr/lib/.build-id/95/e070e7838699ad521234d7d1ecec8d147de958
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/734ded097bdf1e76119d2562a09046f141ffa3
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/4ab187ce590d838c9efbf0aaa52e4153adb21c
/usr/lib/systemd/system/powerman.service
/usr/lib/tmpfiles.d/powerman.conf
/usr/lib64/libpowerman.so.0
/usr/lib64/libpowerman.so.0.0.0
/usr/lib64/stonith/plugins
/usr/lib64/stonith/plugins/external
/usr/lib64/stonith/plugins/external/powerman
/usr/sbin/httppower
/usr/sbin/plmpower
/usr/sbin/powermand
/usr/sbin/snmppower
/usr/sbin/vpcd
/usr/share/doc/powerman
/usr/share/doc/powerman/AUTHORS
/usr/share/doc/powerman/NEWS
/usr/share/doc/powerman/TODO
/usr/share/licenses/powerman
/usr/share/licenses/powerman/COPYING
/usr/share/licenses/powerman/DISCLAIMER
/usr/share/man/man1/pm.1.gz
/usr/share/man/man1/powerman.1.gz
/usr/share/man/man3/libpowerman.3.gz
/usr/share/man/man5/powerman.conf.5.gz
/usr/share/man/man5/powerman.dev.5.gz
/usr/share/man/man8/httppower.8.gz
/usr/share/man/man8/plmpower.8.gz
/usr/share/man/man8/powermand.8.gz
/usr/share/man/man8/vpcd.8.gz
/var/run/powerman

References

Summary

In this tutorial we learn how to install powerman on CentOS 8 using yum and dnf.