FENCE_AGENT(8)
π FENCE_AGENT(8) π
ok so this is a page from the System Manager's Manual bestie, and it's literally all about fence_bladecenter π¦ it's giving very much "sysadmin group chat at 3am" energy and I'm obsessed. it documents FENCE_AGENT(8), so yeah, that's the manual name, that's the vibe, we move π
β¨ NAME β¨
fence_bladecenter β the fence agent for IBM BladeCenter π no cap, that's the whole name section, short and iconic
πΈ DESCRIPTION πΈ
fence_bladecenter is a Power Fencing agent that you can use with IBM Bladecenters β but like, only the ones with firmware recent enough that it ships with telnet support, ok? don't come for me if your firmware is ancient π it logs into a Brocade chasis via telnet or ssh and then uses the command line interface to power blades on and off β‘
and the way this agent is flexible?? it accepts options on the command line and from stdin π«Ά like, when fenced execs the agent it sends the parameters through stdin. but you can also just run the agent 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.ibm.com π
π PARAMETERS π
here's the whole menu bestie, every single one, I'm not skipping a thing π
-o,--action=[action]β the fencing action (Default Value:reboot) π-c,--command-prompt=[prompt]β forces a Python regex for the command prompt (Default Value:['system>']) π-k,--identity-file=[filename]β identity file (private key) for SSH π-4,--inet4-onlyβ forces the agent to use IPv4 addresses only π-6,--inet6-onlyβ forces the agent to use IPv6 addresses only π-a,--ip=[ip]β IP address or hostname of the fencing device. This parameter is always required. β οΈ-u,--ipport=[port]β TCP/UDP port to use for connection with the device (Default Value:23) πͺ-p,--password=[password]β login password or passphrase π-S,--password-script=[script]β script to run to retrieve the password π-n,--plug=[id]β physical plug number on the device, UUID, or identification of the machine. This parameter is always required. β οΈ-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 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 the 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 the given file π-V,--versionβ display version information and exit π-h,--helpβ display help and exit π--plug-separator=[char]β separator for the plug parameter when you're specifying more than 1 plug (Default Value:,) βοΈ-C,--separator=[char]β separator for the CSV created by thelistoperation (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 the cmd prompt after login (Default Value:5) π--missing-as-offβ missing port returnsOFFinstead of failure π«--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:10) π΄--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]β count of attempts to retry power on (Default Value:1) π--ssh-path=[path]β path to the ssh binary (Default Value:/usr/bin/ssh) π€οΈ--telnet-path=[path]β path to the telnet binary (Default Value:/usr/bin/telnet) π€οΈ
π₯ ACTIONS π₯
every action this agent can do, and yes I'm listing all of them π
onβ power on the machine. β‘offβ power off the machine. πrebootβ reboot the machine. πstatusβ this returns the status of the plug/virtual machine. πlistβ list available plugs with aliases/virtual machines, if there's support for more than one device. returnsN/Aotherwise. πlist-statusβ list available plugs with aliases/virtual machines and their power state, if it can be obtained without additional commands. π§monitorβ check the health of the fence device. π©Ίmetadataβ display the XML metadata describing this resource. πmanpageβ the operational behavior of this is not known. π€·ββοΈvalidate-allβ validate if all required parameters are entered. β
ngl bestie, that manpage action is giving mystery box energy, we genuinely do not know what it does π
π STDIN PARAMETERS π
same energy, different naming convention β these are the stdin versions, and I'm keeping every single Obsoletes note because that's important fr fr π
actionβ fencing action (Default Value:reboot) πcommand_promptβ force Python regex for command prompt (Default Value:['system>']). Obsoletes:cmd_promptπidentity_fileβ identity file (private key) for SSH πinet4_onlyβ forces the agent to use IPv4 addresses only πinet6_onlyβ forces the agent to use IPv6 addresses only πipβ IP address or hostname of the fencing device. This parameter is always required. Obsoletes:ipaddrβ οΈipportβ TCP/UDP port to use for connection with the device (Default Value:23) πͺpasswordβ login password or passphrase. Obsoletes:passwdπpassword_scriptβ script to run to retrieve the password. Obsoletes:passwd_scriptπplugβ physical plug number on the device, UUID, or identification of the machine. This parameter is always required. Obsoletes:portβ οΈsshβ use SSH connection. Obsoletes:secureπ§ssh_optionsβ SSH options to use π οΈusernameβ login name. This parameter is always required. Obsoletes:loginβ οΈquietβ 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 the 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 the given file. Obsoletes:debugπversionβ display version information and exit πhelpβ display help and exit πplug_separatorβ separator for the plug parameter when you're specifying more than 1 plug (Default Value:,) βοΈseparatorβ separator for the CSV created by thelistoperation (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 the cmd prompt after login (Default Value:5) πmissing_as_offβ missing port returnsOFFinstead of failure π«power_timeoutβ test X seconds for status change after ON/OFF (Default Value:20) β‘power_waitβ wait X seconds after issuing ON/OFF (Default Value:10) π΄shell_timeoutβ wait X seconds for the cmd prompt after issuing a 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 to the ssh binary (Default Value:/usr/bin/ssh) π€οΈtelnet_pathβ path to the telnet binary (Default Value:/usr/bin/telnet) π€οΈ
heads up bestie: the three parameters marked always required βip,plugandusernameβ are literally always required, no exceptions, no skipping, do not pass go π
and that's the whole page!! this was fence_bladecenter (Fence Agent), dated 2009-10-20, from the FENCE_AGENT(8) manual π¦ tysm for reading, go forth and fence responsibly, ily, bye bestie πβ¨π
π¦ where this page comes from
- centos-stream 10: fence-agents-bladecenter 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian trixie: fence-agents-bladecenter 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-bladecenter 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-bladecenter 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-bladecenter 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-bladecenter 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-bladecenter 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-bladecenter 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-bladecenter 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