FENCE_AGENT(8)
β¨ NAME β¨
okay bestie, meet fence_ilo_ssh β the Fence agent for HP iLO over SSH π
and its little symlink siblings, who are literally the same vibe:
fence_ilo3_sshβ Fence agent for HP iLO3 over SSH (symlink)fence_ilo4_sshβ Fence agent for HP iLO4 over SSH (symlink)fence_ilo5_sshβ Fence agent for HP iLO5 over SSH (symlink)
(and yes, this whole thing lives in section 8 of the System Manager's Manual, iykyk π«Ά)
πΈ DESCRIPTION πΈ
fence_ilo3_ssh is a Power Fencing agent that connects to an iLO device. It logs into the device via ssh and reboots a specified outlet. no cap, that's the whole job π
WARNING: Themonitoraction is prone to timeouts. Use thefence_ilo-equivalent to avoid this issue. fr fr, don't say I didn't warn you π
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 also be run by itself with command line options β which is genuinely so useful for testing and for turning outlets on or off from scripts. main character energy for real π
Vendor URL: http://www.hp.com
π PARAMETERS π
-o,--action=[action]β Fencing action (Default Value:reboot)-c,--command-prompt=[prompt]β Force Python regex for command prompt (Default Value:['MP>', 'hpiLO->'])-k,--identity-file=[filename]β Identity file (private key) for SSH-4,--inet4-onlyβ Forces agent to use IPv4 addresses only-6,--inet6-onlyβ Forces agent to use IPv6 addresses only-a,--ip=[ip]β IP address or hostname of fencing device-u,--ipport=[port]β TCP/UDP port to use for connection with device (Default Value:23)-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)-x,--sshβ Use SSH connection--ssh-options=[options]β SSH options to use-l,--username=[name]β Login name. This parameter is always required β οΈ-q,--quietβ Disable logging tostderr. 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., onstdin).-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:truewhen 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:5)--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)--ssh-path=[path]β Path tosshbinary (Default Value:/usr/bin/ssh)--telnet-path=[path]β Path totelnetbinary (Default Value:/usr/bin/telnet)
π¦ 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, I'm not making it up)validate-allβ Validate if all required parameters are entered. β
π STDIN PARAMETERS π
actionβ Fencing action (Default Value:reboot)command_promptβ Force Python regex for command prompt (Default Value:['MP>', 'hpiLO->']) Obsoletes:cmd_promptidentity_fileβ Identity file (private key) for SSHinet4_onlyβ Forces agent to use IPv4 addresses onlyinet6_onlyβ Forces agent to use IPv6 addresses onlyipβ IP address or hostname of fencing device Obsoletes:ipaddripportβ TCP/UDP port to use for connection with device (Default Value:23)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:portsshβ Use SSH connection Obsoletes:securessh_optionsβ SSH options to useusernameβ Login name. This parameter is always required. Obsoletes:loginquietβ Disable logging tostderr. 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., onstdin).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: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:5)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)ssh_pathβ Path tosshbinary (Default Value:/usr/bin/ssh)telnet_pathβ Path totelnetbinary (Default Value:/usr/bin/telnet)
and that's the whole page bestie, you ate that π β¨
this lil doc is from fence_ilo_ssh (Fence Agent), dated 2009-10-20, living its best life in FENCE_AGENT(8) π bye ily π«Ά
π¦ where this page comes from
- centos-stream 10: fence-agents-ilo-ssh 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian trixie: fence-agents-ilo-ssh 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-ilo-ssh 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-ilo-ssh 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-ilo-ssh 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-ilo-ssh 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-ilo-ssh 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-ilo-ssh 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-ilo-ssh 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