FENCE_AGENT(8)
π FENCE_AGENT(8) π
okay so bestie, welcome to the FENCE_AGENT manual, section 8, straight out of the System Manager's Manual. this one's about fence_powerman and it's lowkey iconic, let's get into it β¨
πΈ NAME πΈ
fence_powerman β Fence Agent for Powerman π«Ά
π¦ DESCRIPTION π¦
okay so fence_powerman is a Power Fence Agent for the Powerman management utility, and it was literally designed for LLNL systems. no cap. it's giving specialized.
the fence agent is so flexible bestie β it accepts options on the command line as well as from stdin. when fenced execs the agent, it sends parameters through stdin. but the agent can also be run all by itself with command line options, which is highkey useful for testing and for turning outlets on or off from scripts. main character energy fr fr π
Vendor URL: https://github.com/chaos/powerman
π PARAMETERS π
-o,--action=[action]β the fencing action (Default Value:reboot)-a,--ip=[ip]β IP address or hostname of fencing device-u,--ipport=[port]β TCP/UDP port to use for connection with device (Default Value:10101)-n,--plug=[ip]β IP address or hostname of fencing device (together with--port-as-ip)-q,--quietβ disable logging to stderr. does not affect--verboseor--debug-fileor logging to syslog.-v,--verboseβ verbose mode. multiple-vflags can be stacked on the command line (e.g.,-vvv) to increase verbosity. stack 'em like bracelets π--verbose-levelβ level of debugging detail in output. defaults to the number of--verboseflags specified on the command line, or to1ifverbose=1in a stonith device configuration (i.e., on stdin).-D,--debug-file=[debugfile]β write debug information to given file-V,--versionβ display version information and exit-h,--helpβ display help and exit--plug-separator=[char]β separator for plug parameter when specifying more than 1 plug (Default Value:,)--delay=[seconds]β wait X seconds before fencing is started (Default Value:3)--disable-timeout=[true/false]β disable timeout (true/false) (default: true when run from Pacemaker 2.0+)--login-timeout=[seconds]β wait X seconds for cmd prompt after login (Default Value:5)--port-as-ipβ make "port/plug" to be an alias to IP address--power-timeout=[seconds]β test X seconds for status change after ON/OFF (Default Value:20)--power-wait=[seconds]β wait X seconds after issuing ON/OFF (Default Value:3)--powerman-path=[path]β path to powerman binary (Default Value:/usr/bin/powerman)--shell-timeout=[seconds]β wait X seconds for cmd prompt after issuing command (Default Value:3)--stonith-status-sleep=[seconds]β sleep X seconds between status calls during a STONITH action (Default Value:1)--retry-on=[attempts]β count of attempts to retry power on (Default Value:1)
β ACTIONS β
onβ power on machine. π‘offβ power off machine.rebootβ reboot machine.statusβ this returns the status of the plug/virtual machine.monitorβ check the health of fence device π©Ίmetadataβ display the XML metadata describing this resource.manpageβ the operational behavior of this is not known. π (not me putting that in a manual, but ok, we're being honest)validate-allβ validate if all required parameters are entered.
π STDIN PARAMETERS π
actionβ fencing action (Default Value:reboot)ipβ IP address or hostname of fencing device Obsoletes:ipaddripportβ TCP/UDP port to use for connection with device (Default Value:10101)plugβ IP address or hostname of fencing device (together with--port-as-ip) Obsoletes:portquietβ disable logging to stderr. does not affect--verboseor--debug-fileor logging to syslog.verboseβ verbose mode. multiple-vflags can be stacked on the command line (e.g.,-vvv) to increase verbosity.verbose_levelβ level of debugging detail in output. defaults to the number of--verboseflags specified on the command line, or to1ifverbose=1in a stonith device configuration (i.e., on stdin).debug_fileβ write debug information to given file Obsoletes:debugversionβ display version information and exithelpβ display help and exitplug_separatorβ separator for plug parameter when specifying more than 1 plug (Default Value:,)delayβ wait X seconds before fencing is started (Default Value:3)disable_timeoutβ disable timeout (true/false) (default: true when run from Pacemaker 2.0+)login_timeoutβ wait X seconds for cmd prompt after login (Default Value:5)port_as_ipβ make "port/plug" to be an alias to IP addresspower_timeoutβ test X seconds for status change after ON/OFF (Default Value:20)power_waitβ wait X seconds after issuing ON/OFF (Default Value:3)powerman_pathβ path to powerman binary (Default Value:/usr/bin/powerman)shell_timeoutβ wait X seconds for cmd prompt after issuing command (Default Value:3)stonith_status_sleepβ sleep X seconds between status calls during a STONITH action (Default Value:1)retry_onβ count of attempts to retry power on (Default Value:1)
and that's the whole page bestie, we ate and left zero crumbs π β¨
this lil beauty is fence_powerman (Fence Agent), dated 2009-10-20, and it lives in section FENCE_AGENT(8) β she's been serving looks since 2009 and she's still here ππ¦
π¦ where this page comes from
- debian trixie: fence-agents-powerman 4.16.0-3 Β· GPL-2.0-or-later
- ubuntu questing: fence-agents-powerman 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-powerman 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-powerman 4.17.0-1ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms