FENCE_AGENT(8)
π FENCE_AGENT(8) β the manual page, but make it make sense π
okay bestie, welcome to the man page for fence_raritan β¨ β and yes, it lives in section 8 of your System Manager's Manual, so it's a big-girl admin page, not a lil userland one. π
πΈ NAME πΈ
fence_raritan β the Power Fencing agent for Raritan Dominion PX. she fences. she powers. she slays. π
β¨ DESCRIPTION β¨
fence_raritan is a Power Fencing agent, and she's the one you want for the Raritan DPXS12-20 Power Distribution Unit. π«Ά
How she works: she logs into the device via telnet and reboots a specified outlet. That's it, that's the job. iconic, honestly.
π¨ real talk bestie: avoid lengthy telnet connections while a GFS cluster is running, because the connection will block any necessary fencing actions. And blocking fencing in a cluster is not the vibe. periodt. π
The fence agent takes options on the command line and from stdin. fenced sends parameters through stdin when it execs the agent. You can also run the agent by itself with command line options β which is genuinely so useful for testing and for turning outlets on or off from scripts. girlboss automation. β¨
Vendor URL: http://www.raritan.com/
π PARAMETERS π
Every single one, no skipping, no cap. π
-o,--action=[action]β the fencing action. Default Value:reboot-a,--ip=[ip]β IP address or hostname of the fencing device. This parameter is always required. π₯-u,--ipport=[port]β TCP/UDP port to use for the connection with the device. Default Value:23-p,--password=[password]β login password or passphrase. π€«-S,--password-script=[script]β script to run to retrieve the password. π§-n,--plug=[id]β physical plug number on the device, UUID, or identification of the machine. This parameter is always required. π₯-l,--username=[name]β login name. This parameter is always required. π₯-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. stackable, like my iced lattes β--verbose-levelβ level of debugging detail in the 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 the given file. π-V,--versionβ display version information and exit. β-h,--helpβ display help and exit. π«Ά--plug-separator=[char]β separator for the plug parameter when specifying more than 1 plug. Default Value:,-C,--separator=[char]β separator for the CSV created by thelistoperation. 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 the cmd prompt after login. Default Value:5--power-timeout=[seconds]β test X seconds for a 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 the cmd prompt after issuing a 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--telnet-path=[path]β path to the telnet binary. Default Value:/usr/bin/telnet
π ACTIONS π
the things she can actually do for you, bestie:
onβ power on the machine. β‘offβ power off the machine. πrebootβ reboot the 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 than 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 the 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. β
π¦ STDIN PARAMETERS π¦
same energy, snake_case edition. These are the names fenced sends down the pipe. πΈ
actionβ fencing action. Default Value:rebootipβ IP address or hostname of the fencing device. This parameter is always required. Obsoletes:ipaddripportβ TCP/UDP port to use for the connection with the device. Default Value:23passwordβ login password or passphrase. Obsoletes:passwdpassword_scriptβ script to run to retrieve the password. Obsoletes:passwd_scriptplugβ physical plug number on the device, UUID, or identification of the machine. This parameter is always required. Obsoletes:portusernameβ login name. This parameter is always required. Obsoletes:loginquietβ 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 the 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 the given file. Obsoletes:debugversionβ display version information and exit. βhelpβ display help and exit. π«Άplug_separatorβ separator for the plug parameter when specifying more than 1 plug. Default Value:,separatorβ separator for the CSV created by thelistoperation. Default Value:,delayβ wait X seconds before fencing is started. Default Value:0disable_timeoutβ disable timeout (true/false). (default:truewhen run from Pacemaker 2.0+)login_timeoutβ wait X seconds for the cmd prompt after login. Default Value:5power_timeoutβ test X seconds for a status change after ON/OFF. Default Value:20power_waitβ wait X seconds after issuing ON/OFF. Default Value:0shell_timeoutβ wait X seconds for the cmd prompt after issuing a command. Default Value:3stonith_status_sleepβ sleep X seconds between status calls during a STONITH action. Default Value:1retry_onβ count of attempts to retry power on. Default Value:1telnet_pathβ path to the telnet binary. Default Value:/usr/bin/telnet
and that's the whole page, bestie!! π you read it all, which is main character energy fr fr. π
sign-off time: this page is fence_raritan (Fence Agent), dated 2009-10-20, and it's filed under FENCE_AGENT(8). slay, go fence something responsibly. β¨ππ
π¦ where this page comes from
- debian trixie: fence-agents-raritan 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-raritan 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-raritan 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-raritan 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-raritan 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-raritan 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-raritan 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-raritan 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