FENCE_AGENT(8)
π FENCE_AGENT(8) π
okay bestie, welcome to section 8 of the System Manager's Manual, it's giving "system administration but make it cute" π this whole page is about the fence agent situation, so let's get into it β¨
π NAME π
Bestie, meet the whole squad. fence_ipmilan is the main character here β a Fence agent for IPMI π β and then there's a whole friend group of symlinks that point at the same vibe:
fence_ilo3β Fence agent for HP iLO3 (symlink)fence_ilo4β Fence agent for HP iLO4 (symlink)fence_ilo5β Fence agent for HP iLO5 (symlink)fence_ipmilanplusβ Fence agent for IPMIv2 lanplus (symlink)fence_immβ Fence agent for IBM Integrated Management Module (symlink)fence_idracβ Fence agent for Dell iDRAC (symlink)
β¨ DESCRIPTION β¨
So fence_imm is a Power Fencing agent that works with machines controlled by IPMI, no cap. This agent calls support software ipmitool (http://ipmitool.sf.net/) β that's the plug, that's the girl doing the actual work π«Ά
β οΈ WARNING! This fence agent might report success before the node is actually powered off. Like, it'll say "done bestie π " and the machine is still very much awake. You should use-m/method onoffif your fence device works correctly with that option. This is not a drill, this is literally in the docs π
The fence agent accepts options on the command line as well as from stdin. fenced sends parameters through stdin when it execs the agent. The agent can be run by itself with command line options. This is useful for testing and for turning outlets on or off from scripts. Very demure, very mindful, very versatile πΈ
Vendor URL:
π PARAMETERS π
-o,--action=[action]β Fencing action (Default Value:reboot)-A,--auth=[auth]β IPMI Lan Auth type. (md5|password|none)-C,--cipher=[cipher]β Ciphersuite to use (same asipmitool -Cparameter)--hexadecimal-kg=[key]β Hexadecimal-encoded Kg key for IPMIv2 authentication-a,--ip=[ip]β IP address or hostname of fencing device-u,--ipport=[port]β TCP/UDP port to use for connection with device (Default Value:623)-P,--lanplusβ Use Lanplus to improve security of connection (Default Value:0)-m,--method=[method]β Method to fence (onoff|cycle) (Default Value:onoff)-p,--password=[password]β Login password or passphrase-S,--password-script=[script]β Script to run to retrieve password-n,--plug=[ip]β IP address or hostname of fencing device (together with--port-as-ip)-L,--privlvl=[level]β Privilege level on IPMI device (callback|user|operator|administrator) (Default Value:administrator)--target=[targetaddress]β Bridge IPMI requests to the remote target address-l,--username=[name]β Login name-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.--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:0)--disable-timeout=[true/false]β Disable timeout (true/false) (default: true when run from Pacemaker 2.0+)--ipmitool-path=[path]β Path toipmitoolbinary (Default Value:/usr/bin/ipmitool)--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:2)--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)--ipmitool-timeout=[timeout]β Timeout (sec) for IPMI operation (Default Value:2)--retry-on=[attempts]β Count of attempts to retry power on (Default Value:1)--use-sudoβ Use sudo (without password) when calling 3rd party software--sudo-path=[path]β Path tosudobinary (Default Value:/usr/bin/sudo)
π 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 devicemetadataβ Display the XML metadata describing this resource.manpageβ The operational behavior of this is not known. (yes bestie, that's literally what it says π)validate-allβ Validate if all required parameters are entered.diagβ Pulse a diagnostic interrupt to the processor(s).
π¦ STDIN PARAMETERS π¦
Same energy, different delivery method β these come in through stdin:
actionβ Fencing action (Default Value:reboot)authβ IPMI Lan Auth type. (md5|password|none)cipherβ Ciphersuite to use (same asipmitool -Cparameter)hexadecimal_kgβ Hexadecimal-encoded Kg key for IPMIv2 authenticationipβ IP address or hostname of fencing device Obsoletes:ipaddripportβ TCP/UDP port to use for connection with device (Default Value:623)lanplusβ Use Lanplus to improve security of connection (Default Value:0)methodβ Method to fence (onoff|cycle) (Default Value:onoff)passwordβ Login password or passphrase Obsoletes:passwdpassword_scriptβ Script to run to retrieve password Obsoletes:passwd_scriptplugβ IP address or hostname of fencing device (together with--port-as-ip) Obsoletes:portprivlvlβ Privilege level on IPMI device (callback|user|operator|administrator) (Default Value:administrator)targetβ Bridge IPMI requests to the remote target addressusernameβ Login name Obsoletes:loginquietβ 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:0)disable_timeoutβ Disable timeout (true/false) (default: true when run from Pacemaker 2.0+)ipmitool_pathβ Path toipmitoolbinary (Default Value:/usr/bin/ipmitool)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:2)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)ipmitool_timeoutβ Timeout (sec) for IPMI operation (Default Value:2)retry_onβ Count of attempts to retry power on (Default Value:1)use_sudoβ Use sudo (without password) when calling 3rd party software Obsoletes:sudosudo_pathβ Path tosudobinary (Default Value:/usr/bin/sudo)
and that's the whole page bestie, you ate that π«Ά this was fence_ipmilan (Fence Agent), dated 2009-10-20, from FENCE_AGENT(8) β go forth and fence responsibly, ily, bye πβ¨
π¦ where this page comes from
- centos-stream 10: fence-agents-ipmilan 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian trixie: fence-agents-ipmilan 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-ipmilan 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-ipmilan 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-ipmilan 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-ipmilan 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-ipmilan 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-ipmilan 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-ipmilan 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