FENCE_AGENT(8)
π FENCE_AGENT(8) π
System Manager's Manual β¨ β and yes bestie, we're doing the whole thing, no skips, no shortcuts. This is fence_evacuate, the fence agent for the automatic resurrection of OpenStack compute instances. π§βοΈβ‘οΈβ¨
πΈ NAME πΈ
fence_evacuate β fence agent for the automatic resurrection of OpenStack compute instances π¦
π DESCRIPTION π
Okay so, what does it do? It's used to reschedule flagged instances. That's the whole vibe. π₯
Now here's the tea: the fence agent takes options from the command line and from stdin, both. When fenced execs the agent, it sends the parameters through stdin. But you can also just run the agent all by itself with command-line options β which is lowkey iconic for testing, and for turning outlets on or off from scripts. π
Vendor URL: (nothing here, it's literally blank, no cap)
π PARAMETERS π
-o,--action=[action]β the fencing action, bestie. Which move are we making? (Default Value:reboot)-k,--auth-url=[url]β Keystone Admin Auth URL, the whole where do I even log in situation (Default Value: empty)-e,--endpoint-type=[endpoint]β Nova Endpoint type, aka which door we're knocking on (Default Value:internalURL)-p,--password=[password]β login password or passphrase π-S,--password-script=[script]β a script to run that goes and fetches the password for you, so you don't have to hold it yourself π«Ά-n,--plug=[id]β physical plug number on device, UUID, or identification of machine. This parameter is always required. Periodt. You literally cannot skip it. π--region-name=[region]β Region Name (Default Value: empty)-t,--tenant-name=[name]β Keystone Admin Tenant or v3 Project (Default Value: empty)-l,--username=[name]β login name β¨--insecureβ allow Insecure TLS Requests π (yes it's called that, and yes that's a little scary, it's giving "we're not verifying certificates")-P,--project-domain=[name]β Keystone v3 Project Domain (Default Value:Default)-u,--user-domain=[name]β Keystone v3 User Domain (Default Value:Default)-d,--domain=[string]β DNS domain in which hosts live π--instance-filteringβ allow instances to be evacuated (Default Value:True)--no-shared-storageβ disable functionality for dealing with shared storage (Default Value:False)--compute-domain=[string]β replaced bydomainβ οΈ (old news, usedomaininstead)-q,--quietβ disable logging to stderr. Does not affect--verboseor--debug-fileor logging to syslog. It's selectively quiet, iykyk. π€«-v,--verboseβ verbose mode. Multiple-vflags can be stacked on the command line (e.g.,-vvv) to increase verbosity. Stack 'em like bracelets. π«--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 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: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:0)--shell-timeout=[seconds]β wait X seconds for cmd prompt after issuing command (Default Value:180)--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. Wakey wakey bestie βοΈoffβ power off machine. Night night π€rebootβ reboot machine. The classic "turn it off and on again" but make it β¨officialβ¨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. Two-for-one. πmonitorβ check the health of fence device π©Ίmetadataβ display the XML metadata describing this resource πmanpageβ the operational behavior of this is not known. π literally nobody knows what this does, it's a mystery, we're all just vibingvalidate-allβ validate if all required parameters are entered β
π¦ STDIN PARAMETERS π¦
actionβ fencing action (Default Value:reboot)auth_urlβ Keystone Admin Auth URL (Default Value: empty)endpoint_typeβ Nova Endpoint type (Default Value:internalURL)passwordβ login password or passphrase. Obsoletes:passwdpassword_scriptβ script to run to retrieve password. Obsoletes:passwd_scriptplugβ physical plug number on device, UUID or identification of machine. This parameter is always required. Obsoletes:portregion_nameβ Region Name (Default Value: empty)tenant_nameβ Keystone Admin Tenant or v3 Project (Default Value: empty)usernameβ login name. Obsoletes:logininsecureβ allow Insecure TLS Requests πproject_domainβ Keystone v3 Project Domain (Default Value:Default). Obsoletes:project-domainuser_domainβ Keystone v3 User Domain (Default Value:Default). Obsoletes:user-domaindomainβ DNS domain in which hosts liveinstance_filteringβ allow instances to be evacuated (Default Value:True)no_shared_storageβ disable functionality for dealing with shared storage (Default Value:False)compute_domainβ replaced bydomain. Obsoletes:compute-domainβ οΈquietβ 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 by'list'operation (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:0)shell_timeoutβ wait X seconds for cmd prompt after issuing command (Default Value:180)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, bestie, every single flag, default, obsolete name and action accounted for π
This was fence_evacuate (Fence Agent), dated 2009-10-20, from FENCE_AGENT(8) β slay, go forth and evacuate those instances responsibly π«Άβ¨π
π¦ where this page comes from
- debian trixie: fence-agents-compute 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-compute 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-compute 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-compute 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-compute 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-compute 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-compute 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