FENCE_AGENT(8)
β¨ NAME β¨
ok so this is fence_ibmz, bestie β it's the Fence agent for IBM z LPARs π (and yeah, it lives in section 8 of the manual, iykyk).
π¦ DESCRIPTION π¦
fence_ibmz is a Power Fencing agent that uses the HMC Web Services API to fence IBM z LPARs. no cap, that's literally its whole job π
okay so the tea β β this fence agent takes options on the command line and from stdin. When fenced execs the agent, it sends parameters through stdin. but you can also run the agent all by itself with command line options, which is highkey useful for testing and for turning outlets on or off from scripts π
Vendor URL: http://www.ibm.com π
πΈ PARAMETERS πΈ
-o,--action=[action]β the fencing action π₯ (Default Value:reboot)-a,--ip=[ip]β IP address or hostname of the fencing device. this one is always required, like there's no getting around it π«Ά-u,--ipport=[port]β TCP/UDP port to use for the connection with the device (Default Value:6794)-p,--password=[password]β login password or passphrase π-S,--password-script=[script]β script to run to retrieve the password π-n,--plug=[id]β physical plug id, formatted ascpc-name/partition-name(and yes it's case-sensitive, watch out π). this parameter is always required.--ssl-secureβ use an SSL connection with verifying certificate πβ¨-l,--username=[name]β login name. also always required, we're not letting this one slide either π--connect-retries=[number]β how many times to retry on connection errors (Default Value:3)--connect-timeout=[seconds]β how long to wait to establish a connection (Default Value:30)--operation-timeout=[seconds]β how long to wait for the power operation to complete (Default Value:900)--read-retries=[number]β how many times to retry on read errors (Default Value:3)--read-timeout=[seconds]β how long to wait for server data (Default Value:300)--load-on-activateβ rely on the HMC to perform a load operation on activation β‘-q,--quietβ disable logging to stderr. (it does not affect--verboseor--debug-fileor logging to syslog, so don't get it twisted π€«)-v,--verboseβ verbose mode. you can stack multiple-vflags 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 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)--power-timeout=[seconds]β test X seconds for status change after ON/OFF (Default Value:300)--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)
π ACTIONS π
onβ power on machine. β‘offβ power off machine. πrebootβ reboot 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. π€·βοΈ (yeah. that's what it says. we're all just vibing with that one.)validate-allβ validate if all required parameters are entered. β
π STDIN PARAMETERS π
actionβ fencing action (Default Value:reboot)ipβ IP address or hostname of the fencing device. this parameter is always required. Obsoletes:ipaddripportβ TCP/UDP port to use for connection with the device (Default Value:6794)passwordβ login password or passphrase. Obsoletes:passwdpassword_scriptβ script to run to retrieve password. Obsoletes:passwd_scriptplugβ physical plug id in the formatcpc-name/partition-name(case-sensitive). this parameter is always required. Obsoletes:portssl_secureβ use SSL connection with verifying certificateusernameβ login name. this parameter is always required. Obsoletes:loginconnect_retriesβ how many times to retry on connection errors (Default Value:3)connect_timeoutβ how long to wait to establish a connection (Default Value:30)operation_timeoutβ how long to wait for power operation to complete (Default Value:900)read_retriesβ how many times to retry on read errors (Default Value:3)read_timeoutβ how long to wait for server data (Default Value:300)load_on_activateβ rely on the HMC to perform a load operation on activationquietβ 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:,)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:5)power_timeoutβ test X seconds for status change after ON/OFF (Default Value:300)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)
okay that's the whole thing, you ate that reading session fr fr π«Ά this was fence_ibmz (Fence Agent) and it's dated 2009-10-20 β the same page as FENCE_AGENT(8), slay, go forth and fence responsibly π
β¨π
π¦ where this page comes from
- debian trixie: fence-agents-ibmz 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-ibmz 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-ibmz 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-ibmz 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-ibmz 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-ibmz 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-ibmz 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-ibmz 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