FENCE_AGENT(8)
π fence_hpblade β the FENCE_AGENT(8) glow-up π
okay bestie, welcome to the fence_hpblade section of the system manager's manual and lemme tell you, this one's a whole vibe. it's a fencing agent, it lives in section 8 of the manual, and it is so ready to handle ur HP hardware for u. π«Ά
πΈ NAME πΈ
fence_hpblade β the fence agent for HP BladeSystem. literally that's her whole thing. π
β¨ DESCRIPTION β¨
fence_hpblade is a Power Fencing agent (yes, capital P capital F, she's official) that u can use with HP BladeSystem and HP Integrity Superdome X. what does she do? she logs into the onboard administrator of an enclosure β via telnet or ssh β and then uses the command line interface to power blades or partitions on or off. that's it. that's the job. iconic behavior honestly. π₯
and here's the tea: the fence agent takes options on the command line and from stdin. when fenced execs the agent, it sends parameters through stdin. but u can also run the agent all by itself with command line options β which is genuinely so useful for testing and for turning outlets on or off from scripts. no cap, that's the whole point. π
Vendor URL: http://www.hp.com β go say hi to HP, they made the hardware. π
π PARAMETERS π
here's the full menu, bestie. every single one. i would never gatekeep. π
-o,--action=[action]β the fencing action, aka what she's gonna do. (Default Value:reboot) β‘-c,--command-prompt=[prompt]β force a Python regex for the command prompt, if u need to be picky about it. (Default Value:['c7000oa>']) π¦-k,--identity-file=[filename]β the identity file (private key) for SSH. ur lil secret, kept safe. π-4,--inet4-onlyβ forces the agent to use IPv4 addresses only. old school, respect. πΌ-6,--inet6-onlyβ forces the agent to use IPv6 addresses only. futuristic, slay. π-a,--ip=[ip]β IP address or hostname of the fencing device. > This parameter is always required. no skipping, bestie.-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]β a script to run to retrieve the password, for when u don't wanna type it. π«-n,--plug=[id]β physical plug number on the device, UUID, or identification of the machine. > This parameter is always required. yes, again. required required.-x,--sshβ use an SSH connection. π»--ssh-options=[options]β SSH options to use. ur call. π-l,--username=[name]β login name. > This parameter is always required. ok three for three, u get the pattern.-q,--quietβ disable logging to stderr. and listen: it does not affect--verboseor--debug-fileor logging to syslog. those keep doing their thing. π€-v,--verboseβ verbose mode! multiple-vflags can be stacked on the command line (e.g.,-vvv) to increase verbosity. stack 'em like bracelets. π--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 the given file. receipts, but make them a text file. π-V,--versionβ display version information and exit. π-h,--helpβ display help and exit. the classic. π--plug-separator=[char]β separator for the plug parameter when 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 or false. (default:truewhen run from Pacemaker 2.0+) β--login-timeout=[seconds]β wait X seconds for the cmd prompt after login. (Default Value:10) π--missing-as-offβ missing port returns OFF instead of failure. choose ur fighter. π--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 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 π¦
the moves she can pull. each one is a whole mood:
onβ power on machine. β‘β¨offβ power off machine. π€rebootβ reboot machine. the glow-up-and-restart. π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. two-for-one. πmonitorβ check the health of the fence device. wellness check, bestie. π©Ίmetadataβ display the XML metadata describing this resource. πmanpageβ the operational behavior of this is not known. π literally nobody knows. it's a mystery. we love her anyway. πvalidate-allβ validate if all required parameters are entered. the responsible one in the group chat. β
π« STDIN PARAMETERS π«
same energy, snake_case edition, because fenced sends these through stdin. watch out for the "Obsoletes" notes β those are the old names she's moved on from. π
actionβ fencing action. (Default Value:reboot)command_promptβ force Python regex for command prompt. (Default Value:['c7000oa>']) Obsoletes:cmd_promptidentity_fileβ identity file (private key) for SSH.inet4_onlyβ forces agent to use IPv4 addresses only.inet6_onlyβ forces agent to use IPv6 addresses only.ipβ IP address or hostname of fencing device. > This parameter is always required. Obsoletes:ipaddripportβ TCP/UDP port to use for connection with device. (Default Value:23)passwordβ login password or passphrase. Obsoletes:passwdpassword_scriptβ script to run to retrieve password. Obsoletes:passwd_scriptplugβ physical plug number on device, UUID or identification of machine. > This parameter is always required. Obsoletes:portsshβ use SSH connection. Obsoletes:securessh_optionsβ SSH options to use.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 exit.helpβ display help and exit.plug_separatorβ separator for plug parameter when specifying more than 1 plug. (Default Value:,)separatorβ separator for CSV created bylistoperation. (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)missing_as_offβ missing port returns OFF instead 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: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:1)ssh_pathβ path to ssh binary. (Default Value:/usr/bin/ssh)telnet_pathβ path to telnet binary. (Default Value:/usr/bin/telnet)
and that's the whole page, bestie!! π«Ά this lil manpage is brought to u by the fence_hpblade (Fence Agent) herself, dated 2009-10-20 β yeah she's been serving since '09 and she has not lost a single step. periodt. π
β¨
π¦ where this page comes from
- centos-stream 10: fence-agents-hpblade 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian trixie: fence-agents-hpblade 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-hpblade 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-hpblade 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-hpblade 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-hpblade 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-hpblade 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-hpblade 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-hpblade 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