FENCE_AGENT(8)
β¨ FENCE_AGENT(8) β¨
okay bestie, so this is fence_dummy β the Dummy fence agent, from the System Manager's Manual, section 8 (that's the sysadmin-y one π
). buckle up, it's giving very unserious energy but the facts are 100% real.
π NAME π
fence_dummy β Dummy fence agent. yeah. that's the whole name. iconic of her honestly.
πΈ DESCRIPTION πΈ
so like, fence_dummy. that's it. that's the agent.
the fence agent is flexible like that β it takes options on the command line and from stdin. when fenced execs the agent, it sends parameters through stdin. but you can also just run the agent all by yourself with command line options, which is lowkey so useful for testing and for turning outlets on or off from scripts. no cap. π«Ά
Vendor URL: http://www.example.com
π PARAMETERS π
-o,--action=[action]β the fencing action you want. (Default Value:reboot)--random_sleep_range=[seconds]β throws in a sleep somewhere between 1 and X seconds. this one's for testing, bestie. π§--status-file=[file]β the file that holds the status. (Default Value:/tmp/fence_dummy.status)--type=[type]β which flavour of dummy fence agent you want. (Default Value:file)-q,--quietβ kills logging to stderr. heads up though: it does not affect--verbose,--debug-file, or logging to syslog. she's specific like that. π-v,--verboseβ verbose mode, babes. you can stack multiple-vflags on the command line (like,-vvv) to crank the verbosity up. go off. π₯--verbose-levelβ how much debugging detail shows up in the output. defaults to the number of--verboseflags you dropped on the command line, or to1ifverbose=1in a stonith device configuration (i.e., on stdin).-D,--debug-file=[debugfile]β writes debug info to the file you give it.-V,--versionβ shows version info and dips. βοΈ-h,--helpβ shows help and dips.--plug-separator=[char]β the separator used for the plug parameter when you're specifying more than 1 plug. (Default Value:,)--delay=[seconds]β waits X seconds before fencing even starts. (Default Value:0)--disable-timeout=[true/false]β disables the timeout, true/false style. (default:truewhen run from Pacemaker 2.0+)--login-timeout=[seconds]β waits X seconds for the cmd prompt after login. (Default Value:5)--power-timeout=[seconds]β tests for X seconds waiting for the status to change after ON/OFF. (Default Value:20)--power-wait=[seconds]β waits X seconds after issuing ON/OFF. (Default Value:0)--shell-timeout=[seconds]β waits X seconds for the cmd prompt after issuing a command. (Default Value:3)--stonith-status-sleep=[seconds]β sleeps X seconds between status calls during a STONITH action. (Default Value:1)--retry-on=[attempts]β how many attempts to retry power on. (Default Value:1)
β ACTIONS β
onβ Power on machine. let there be light. β¨offβ Power off machine. bye bestie. πrebootβ Reboot machine. the classic glow-up-and-restart.statusβ This returns the status of the plug/virtual machine.monitorβ Check the health of fence device. doing a little vibe check on it. π©Ίmetadataβ Display the XML metadata describing this resource.manpageβ The operational behavior of this is not known. (not me finding out mid-rewrite π)validate-allβ Validate if all required parameters are entered. a little homework check. π
π¦ STDIN PARAMETERS π¦
actionβ Fencing action (Default Value:reboot)random_sleep_rangeβ Issue a sleep between 1 and X seconds. Used for testing.status_fileβ File with status (Default Value:/tmp/fence_dummy.status)typeβ Type of the dummy fence agent (Default Value:file)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:,)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: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, bestie!! π
this absolute baddie of a manpage comes to you courtesy of fence_dummy (Fence Agent), dated 2009-10-20, living its best life in FENCE_AGENT(8). she's been iconic since 2009 and she's not stopping. periodt. ππ
π¦ where this page comes from
- debian trixie: fence-agents-dummy 4.16.0-3 Β· GPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-devel 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: fence-agents-devel 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: fence-agents-devel 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: fence-agents-devel 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- ubuntu questing: fence-agents-dummy 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-dummy 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-dummy 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