FENCE_AGENT(8)
FENCE_AGENT(8) β the fence agents manual, bestie edition π
okay so this is from the System Manager's Manual section of the manual, and it's literally the whole family of IPMI-ish fence agents. buckle up π
β¨ NAME β¨
fence_ipmilan β Fence agent for IPMI
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)
not me listing seven agents, all of them iconic, most of them just symlinks living their best life π¦
πΈ DESCRIPTION πΈ
fence_ipmilanplus is a Power Fencing agent which can be used with machines controlled by IPMI. This agent calls support software ipmitool (http://ipmitool.sf.net/). slay.
β οΈ WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option. fr fr, do not ignore this one bestie π
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 giving "I can do both" energy π
Vendor URL: (yeah it's justβ¦ empty. the vibe is mysterious. leave it) β¨
π 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:1) π₯-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) β main character privilege, literally π--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 device π©Ίmetadataβ Display the XML metadata describing this resource.manpageβ The operational behavior of this is not known. π (genuinely, that's what it says, nobody knows)validate-allβ Validate if all required parameters are entered.diagβ Pulse a diagnostic interrupt to the processor(s). β‘
π STDIN PARAMETERS π
(these are the same little cuties but in stdin flavor, with their obsoletes noted)
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:1)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, no skips, no cuts, every single flag accounted for β¨
πΈ sign-off cutie moment: this page lives under fence_ipmilan (Fence Agent), dated 2009-10-20, and it belongs to the FENCE_AGENT(8) family. go forth and fence responsibly ππ¦π
π¦ 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