FENCE_AGENT(8)
π 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--verboseor--debug-fileor logging to syslog.-v,--verboseβ Verbose mode. Multiple-vflags 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--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 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 bylistoperation (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 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. 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 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:ipaddripportβ 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:passwdpassword_scriptβ Script to run to retrieve password. Obsoletes:passwd_scriptplugβ VM name in RHV. This parameter is always required. Obsoletes:portsslβ Use SSL connection with verifying certificate πssl_insecureβ Use SSL connection without verifying certificate πssl_secureβ Use SSL connection with verifying certificateuse_cookiesβ Reuse cookies for authentication πͺusernameβ Login name. This parameter is always required. Obsoletes:loginapi_versionβ Version of RHEV API (default: auto) (Default Value:auto)cookie_fileβ Path to cookie file for authenticationapi_pathβ The path part of the API URL (Default Value:/ovirt-engine/api)disable_http_filterβ Set HTTP Filter header to falsequietβ 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: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
- centos-stream 10: fence-agents-rhevm 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian trixie: fence-agents-rhevm 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-rhevm 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-rhevm 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-rhevm 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-rhevm 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-rhevm 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-rhevm 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