FENCE_AGENT(8)
π FENCE_AGENT(8) π
okay bestie, buckle up, we're doing the fence_agent manual page (that's the 8th section of the manual, system manager's stuff, iykyk) and honestly? it ate. β¨
β¨ NAME β¨
fence_ilo β Fence agent for HP iLO π
fence_ilo2 β Fence agent for HP iLO2 (symlink) π
πΈ DESCRIPTION πΈ
okay so fence_ilo is a Power Fencing agent used for HP servers with the Integrated Light Out (iLO) PCI card. no cap. π«Ά
the agent opens an SSL connection to the iLO card, and once that SSL connection is established, the agent is able to communicate with the iLO card through an XML stream. it's giving secure little handshake. iconic honestly. π
the fence agent accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. and you can run the agent by itself with command line options β super useful for testing and for turning outlets on or off from scripts. main character energy fr fr. π
Vendor URL: http://www.hp.com
π PARAMETERS π
one bullet per option, bestie, and yes we're doing ALL of them. not a single one skipped. periodt.
-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:443)-t,--notlsβ Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up.-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)-r,--ribcl-version=[version]β Force ribcl version to use-z,--sslβ Use SSL connection with verifying certificate (Default Value:1)--ssl-insecureβ Use SSL connection without verifying certificate--ssl-secureβ Use SSL connection with verifying certificate--tls1.0β Disable TLS negotiation and force TLS1.0. This should only be used for devices that do not support TLS1.1 and up.-l,--username=[name]β Login name. This parameter is always required. β οΈ (yes always, like the way you always need your phone at 3am)-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+)--login-timeout=[seconds]β Wait X seconds for cmd prompt after login (Default Value:10)--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:0)--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:3)--gnutlscli-path=[path]β Path to gnutls-cli binary (Default Value:/usr/bin/gnutls-cli)
π₯ 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. π (bestie we literally do not know, and we're being honest about it)validate-allβ Validate if all required parameters are entered.
π¦ STDIN PARAMETERS π¦
these are the ones Fenced pipes in through stdin, and they're basically the glow-up versions of the flags above (snake_case edition π ).
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:443)notlsβ Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up.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:portribcl_versionβ Force ribcl version to use Obsoletes:ribclsslβ Use SSL connection with verifying certificate (Default Value:1)ssl_insecureβ Use SSL connection without verifying certificatessl_secureβ Use SSL connection with verifying certificatetls1.0β Disable TLS negotiation and force TLS1.0. This should only be used for devices that do not support TLS1.1 and up.usernameβ Login name This parameter is always required. 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+)login_timeoutβ Wait X seconds for cmd prompt after login (Default Value:10)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:0)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:3)gnutlscli_pathβ Path to gnutls-cli binary (Default Value:/usr/bin/gnutls-cli)
β οΈ heads up bestie:--notlsforces SSL3.0 and--tls1.0forces TLS1.0, and the page says both should only be used for devices that do not support the newer stuff. don't just turn those on for fun, fr fr. π¨
and that's the whole thing! this page is fence_ilo (Fence Agent), dated 2009-10-20, and it lives in the FENCE_AGENT(8) corner of the manual. slay, go fence some servers responsibly πβ¨ππ¦π
π¦ where this page comes from
- centos-stream 10: fence-agents-ilo2 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian trixie: fence-agents-ilo2 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-ilo2 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-ilo2 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-ilo2 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-ilo2 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-ilo2 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-ilo2 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-ilo2 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