FENCE_AGENT(8)

πŸ“¦
version 4.17.0 Β· 4 versions
, in centos-stream 10, debian trixie, fedora 43, fedora 44, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– fence_rhevm β€” the manual page, but make it make sense πŸ’–

okay bestie, welcome to fence_rhevm(8) from the System Manager's Manual ✨ this is the page for fence_rhevm, and yes we're doing the whole thing, every flag, no skips, no cap 🫢


🌸 NAME 🌸

fence_rhevm β€” Fence agent for RHEV-M REST API


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so fence_rhevm is a Power Fencing agent that you use with the RHEV-M REST API to fence virtual machines. it's giving "i will cut your VM off from the shared storage, respectfully" πŸ’…

the fence agent accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. but also?? the agent can be run by itself with command line options. that's genuinely so useful for testing and for turning outlets on or off from scripts, periodt πŸ”₯

Vendor URL: http://www.redhat.com β€” go say hi πŸŽ€

✨ PARAMETERS ✨

every single one, bestie, in order, defaults intact, i'm not skipping a thing πŸ™ˆ

  • -o, --action=[action] β€” Fencing action (Default Value: reboot)
  • -a, --ip=[ip] β€” IP address or hostname of fencing device. This parameter is always required. like, always always πŸ”΄
  • -u, --ipport=[port] β€” TCP/UDP port to use for connection with device (Default Value: 80)
  • -t, --notls β€” Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up. ⚠️ only for the ancient ones, bestie
  • -p, --password=[password] β€” Login password or passphrase
  • -S, --password-script=[script] β€” Script to run to retrieve password
  • -n, --plug=[name] β€” VM name in RHV. This parameter is always required.
  • -z, --ssl β€” Use SSL connection with verifying certificate πŸ”
  • --ssl-insecure β€” Use SSL connection without verifying certificate πŸ™ˆ (it's literally in the name, she is not verifying, be aware)
  • --ssl-secure β€” Use SSL connection with verifying certificate
  • --use-cookies β€” Reuse cookies for authentication πŸͺ
  • -l, --username=[name] β€” Login name. This parameter is always required.
  • --api-version β€” Version of RHEV API (default: auto) (Default Value: auto)
  • --cookie-file β€” Path to cookie file for authentication
  • --api-path=[path] β€” The path part of the API URL (Default Value: /ovirt-engine/api)
  • --disable-http-filter β€” Set HTTP Filter header to false
  • -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. stack her up bestie 🫢
  • --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: ,)
  • -C, --separator=[char] β€” Separator for CSV created by 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 cmd prompt after login (Default Value: 5)
  • --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: 1)
  • --shell-timeout=[seconds] β€” Wait X seconds for cmd prompt after issuing command (Default Value: 5)
  • --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)
  • --gnutlscli-path=[path] β€” Path to gnutls-cli binary (Default Value: /usr/bin/gnutls-cli)

πŸ‘‘ ACTIONS πŸ‘‘

the menu of things she can do, and yes manpage is genuinely mysterious, i don't make the rules πŸ’€

  • 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 is support for more then 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 fence device 🩺
  • metadata β€” Display the XML metadata describing this resource.
  • manpage β€” The operational behavior of this is not known. πŸ™ˆ like. nobody knows. iconic honestly.
  • validate-all β€” Validate if all required parameters are entered.

🌈 STDIN PARAMETERS 🌈

same energy, snake_case edition, and don't forget the Obsoletes: notes, they matter 🫢

  • action β€” Fencing action (Default Value: reboot)
  • ip β€” IP address or hostname of fencing device. This parameter is always required. Obsoletes: ipaddr
  • ipport β€” TCP/UDP port to use for connection with device (Default Value: 80)
  • notls β€” Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up. ⚠️
  • password β€” Login password or passphrase. Obsoletes: passwd
  • password_script β€” Script to run to retrieve password. Obsoletes: passwd_script
  • plug β€” VM name in RHV. This parameter is always required. Obsoletes: port
  • ssl β€” Use SSL connection with verifying certificate πŸ”
  • ssl_insecure β€” Use SSL connection without verifying certificate πŸ™ˆ
  • ssl_secure β€” Use SSL connection with verifying certificate
  • use_cookies β€” Reuse cookies for authentication πŸͺ
  • username β€” Login name. This parameter is always required. Obsoletes: login
  • api_version β€” Version of RHEV API (default: auto) (Default Value: auto)
  • cookie_file β€” Path to cookie file for authentication
  • api_path β€” The path part of the API URL (Default Value: /ovirt-engine/api)
  • disable_http_filter β€” Set HTTP Filter header to false
  • 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: 20)
  • power_wait β€” Wait X seconds after issuing ON/OFF (Default Value: 1)
  • shell_timeout β€” Wait X seconds for cmd prompt after issuing command (Default Value: 5)
  • 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)
  • gnutlscli_path β€” Path to gnutls-cli binary (Default Value: /usr/bin/gnutls-cli)

and that's the whole page, bestie πŸ’– go fence something responsibly πŸŽ€

this was fence_rhevm (Fence Agent), dated 2009-10-20, and it lives in section FENCE_AGENT(8) β€” mwah, bye πŸ¦‹βœ¨

πŸ“¦ where this page comes from