FENCE_AGENT(8)
β¨ FENCE_AGENT(8) β the girlies' guide to fencing HP servers β¨
System Manager's Manual energy, bestie. This is FENCE_AGENT(8) and we're gonna make it make sense. π
π NAME
fence_ilo β the fence agent for HP iLO. And fence_ilo2 β the fence agent for HP iLO2, which is literally just a symlink. Same girl, different name. π
πΈ DESCRIPTION
So fence_ilo2 is a Power Fencing agent for HP servers that have the Integrated Light Out (iLO) PCI card. The way it works? The agent opens an SSL connection to the iLO card. Once that SSL connection is up and running, the agent can talk to the iLO card through an XML stream. No cap. π¦
Also, this fence agent takes options on the command line and from stdin. When fenced execs the agent, it sends the parameters through stdin. But you can also just run the agent all by itself with command line options β which is lowkey so useful for testing and for turning outlets on or off from scripts. β¨
Vendor URL: http://www.hp.com π
π PARAMETERS
Every flag, every default, all of it. Don't skip a single one, bestie. π
-o,--action=[action]β what fencing action we're doing (Default Value:reboot)-a,--ip=[ip]β IP address or hostname of the fencing device-u,--ipport=[port]β the TCP/UDP port we use to connect to the device (Default Value:443)-t,--notlsβ disables TLS negotiation and forcesSSL3.0. Only use this for devices that don't support TLS1.0 and up, okay??-p,--password=[password]β login password or passphrase-S,--password-script=[script]β script to run to go get that password-n,--plug=[ip]β IP address or hostname of the fencing device (this goes together with--port-as-ip)-r,--ribcl-version=[version]β force which ribcl version to use-z,--sslβ use an SSL connection with certificate verifying (Default Value:1)--ssl-insecureβ use an SSL connection without verifying the certificate--ssl-secureβ use an SSL connection with verifying the certificate--tls1.0β disables TLS negotiation and forcesTLS1.0. Only for devices that don't support TLS1.1 and up!-l,--username=[name]β login name. This parameter is always required. Periodt.-q,--quietβ turns off logging to stderr. Does not affect--verbose,--debug-file, or logging to syslog.-v,--verboseβ verbose mode. You can stack multiple-vflags on the command line (like-vvv) to crank up the verbosity. ποΈ--verbose-levelβ how much debugging detail shows up in output. Defaults to the number of--verboseflags you gave on the command line, or to1ifverbose=1in a stonith device configuration (i.e., on stdin).-D,--debug-file=[debugfile]β write debug info to the given file-V,--versionβ show version info and exit-h,--helpβ show help and exit--plug-separator=[char]β the separator for the plug parameter when you're specifying more than 1 plug (Default Value:,)--delay=[seconds]β wait X seconds before fencing even starts (Default Value:0)--disable-timeout=[true/false]β disable timeout, true or false (default:truewhen run from Pacemaker 2.0+)--login-timeout=[seconds]β wait X seconds for the cmd prompt after login (Default Value:10)--port-as-ipβ makes"port/plug"an alias to the IP address--power-timeout=[seconds]β test X seconds for a 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 the cmd prompt after issuing a command (Default Value:3)--stonith-status-sleep=[seconds]β sleep X seconds between status calls during a STONITH action (Default Value:1)--retry-on=[attempts]β how many attempts to retry power on (Default Value:3)--gnutlscli-path=[path]β path to thegnutls-clibinary (Default Value:/usr/bin/gnutls-cli)
π₯ ACTIONS
onβ power on the machine π‘offβ power off the machinerebootβ reboot the machine πstatusβ returns the status of the plug/virtual machinemonitorβ check the health of the fence device π©Ίmetadataβ display the XML metadata describing this resourcemanpageβ ngl, the operational behavior of this one is not known πvalidate-allβ validate that all required parameters are entered
π STDIN PARAMETERS
Same vibes, underscore names, and some of them have Obsoletes β meaning the old name still hangs around like an ex. π
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 forceSSL3.0. Only for devices that don't 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 forceTLS1.0. Only for devices that don't 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:truewhen 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 tognutls-clibinary (Default Value:/usr/bin/gnutls-cli)
π«Ά That's the whole page, bestie. Every flag, every default, every obsoleted name β nothing got left behind. Slay.
This one's a fence_ilo (Fence Agent) situation, dated 2009-10-20, and it's page FENCE_AGENT(8) of your system manager's manual. Byeee, go fence something 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