FENCE_AGENT(8)

πŸ“¦
version 4.17.0 Β· 3 versions
, in debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 as cpc-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 --verbose or --debug-file or logging to syslog, so don't get it twisted 🀫)
  • -v, --verbose β€” verbose mode. you can stack multiple -v flags on the command line (e.g., -vvv) to increase verbosity πŸ“’
  • --verbose-level β€” level of debugging detail in output. defaults to the number of --verbose flags specified on the command line, or to 1 if verbose=1 in 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 the list operation (Default Value: ,)
  • --delay=[seconds] β€” wait X seconds before fencing is started (Default Value: 0)
  • --disable-timeout=[true/false] β€” disable timeout (true/false) (default: true when 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. returns N/A otherwise.
  • 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: ipaddr
  • ipport β€” TCP/UDP port to use for connection with the device (Default Value: 6794)
  • password β€” login password or passphrase. Obsoletes: passwd
  • password_script β€” script to run to retrieve password. Obsoletes: passwd_script
  • plug β€” physical plug id in the format cpc-name/partition-name (case-sensitive). this parameter is always required. Obsoletes: port
  • ssl_secure β€” use SSL connection with verifying certificate
  • username β€” login name. this parameter is always required. Obsoletes: login
  • connect_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 activation
  • quiet β€” disable logging to stderr. does not affect --verbose or --debug-file or logging to syslog.
  • verbose β€” verbose mode. multiple -v flags 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 --verbose flags specified on the command line, or to 1 if verbose=1 in a stonith device configuration (i.e., on stdin).
  • debug_file β€” write debug information to given file. Obsoletes: debug
  • version β€” 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 by list operation (Default Value: ,)
  • delay β€” wait X seconds before fencing is started (Default Value: 0)
  • disable_timeout β€” disable timeout (true/false) (default: true when 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