FENCE_AGENT(8)

πŸ“¦
version 4.17.0 Β· 2 versions
, in centos-stream 10, fedora 43, fedora 44

πŸ’– FENCE_AGENT(8) πŸ’–

okay bestie, welcome to the manual page for fence_amt_ws β€” that's the Fence Agent for AMT (WS), and yes it lives in section 8 of the System Manager's Manual, iykyk πŸŽ€


✨ NAME ✨

fence_amt_ws β€” Fence agent for AMT (WS)


🌸 DESCRIPTION 🌸

so fence_amt_ws is a Power Fencing agent, and it's the one you use with Intel AMT (WS). no cap. This agent requires the pywsman Python library, which is included in OpenWSMAN β€” that's over at http://openwsman.github.io/ πŸ¦‹

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 be run by itself with command line options β€” which is lowkey the move, because it's useful for testing and for turning outlets on or off from scripts. πŸ’…

Vendor URL: http://www.intel.com/


πŸ‘‘ PARAMETERS πŸ‘‘

  • -o, --action=[action] β€” Fencing action (Default Value: reboot)
  • -b, --boot-option=[option] β€” Change the default boot behavior of the machine. (pxe|hd|hdsafe|cd|diag)
  • -a, --ip=[ip] β€” IP address or hostname of fencing device
  • -u, --ipport=[port] β€” TCP/UDP port to use for connection with device (Default Value: 16992)
  • -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)
  • -q, --quiet β€” Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog.
  • -v, --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).
  • -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: true when 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: 0)
  • --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)

πŸ”₯ 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 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, the manpage action being a mystery is not my fault, I'm just the messenger πŸ’€ the original literally says the operational behavior of it is not known.

πŸ¦‹ STDIN PARAMETERS πŸ¦‹

  • action β€” Fencing action (Default Value: reboot)
  • boot_option β€” Change the default boot behavior of the machine. (pxe|hd|hdsafe|cd|diag)
  • ip β€” IP address or hostname of fencing device Obsoletes: ipaddr
  • ipport β€” TCP/UDP port to use for connection with device (Default Value: 16992)
  • method β€” Method to fence (onoff|cycle) (Default Value: onoff)
  • password β€” Login password or passphrase Obsoletes: passwd
  • password_script β€” Script to run to retrieve password Obsoletes: passwd_script
  • plug β€” IP address or hostname of fencing device (together with --port-as-ip) Obsoletes: port
  • 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: ,)
  • 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)
  • port_as_ip β€” Make "port/plug" to be an alias to IP address
  • 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)

and that's the whole page, periodt πŸ’…βœ¨

this iconic lil' manual is fence_amt_ws (Fence Agent) and it's dated 2009-10-20 β€” slay, she's been serving since '09 πŸ‘‘πŸ’– mwah, go fence something responsibly bestie 🫢

πŸ“¦ where this page comes from