FENCE_AGENT(8)
π NAME π
fence_aliyun β the fence agent for Aliyun (aka Aliyun Web Services), bestie π
πΈ DESCRIPTION πΈ
okay so fence_aliyun is a Power Fencing agent for Aliyun. that's the whole vibe. it fences. it powers. it's giving main character energy in your cluster π«Ά
here's the tea: the fence agent 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 by itself with command line options β which is lowkey so useful for testing and for turning outlets on or off from scripts β¨
Vendor URL: http://www.aliyun.com
β¨ PARAMETERS β¨
-o,--action=[action]β the fencing action, obvi. (Default Value:reboot)-n,--plug=[id]β physical plug number on the device, or the UUID / identification of the machine. this one is always required, no skipping π ββοΈ-r,--region=[name]β the region.-a,--access-key=[name]β Access Key.-s,--secret-key=[name]β Secret Key.--ram-role=[name]β Ram Role.--credentials-file=[path]β path to the credentials file.--credentials-file-profile=[profile]β credentials file profile. (Default Value:default)--filter=[key=value]β filter for list-action.-q,--quietβ disable logging to stderr. ngl it does not affect--verboseor--debug-fileor logging to syslog.-v,--verboseβ verbose mode. you can stack multiple-vflags on the command line (like-vvv) to crank the verbosity up π--verbose-levelβ level of debugging detail in output. defaults to the number of--verboseflags you 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 you're specifying more than 1 plug. (Default Value:,)-C,--separator=[char]β separator for the CSV created by the '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:60)--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: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)
π ACTIONS π
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's 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. π (not me reading that and going "ok bestie, noted")validate-allβ validate if all required parameters are entered.
π¦ STDIN PARAMETERS π¦
actionβ fencing action. (Default Value:reboot)plugβ physical plug number on device, UUID or identification of machine. this parameter is always required. Obsoletes:portregionβ region.access_keyβ Access Key.secret_keyβ Secret Key.ram_roleβ Ram Role.credentials_fileβ path to credentials file.credentials_file_profileβ credentials file profile. (Default Value:default)filterβ filter for list-action.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 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: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:60)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)
β friendly reminder bestie:plugis always required, andmanpage's operational behavior is genuinely listed as not known. we keep the lore accurate here π
and that's the whole page, bestie!! this lil doc lives in the Fence Agent manual set for fence_aliyun, dated 2009-10-20, filed under the manual page FENCE_AGENT(8) πβ¨ slay, go fence something responsibly π«Άπ
π¦ where this page comes from
- centos-stream 10: fence-agents-aliyun 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later AND Apache-2.0 AND BSD-3-Clause AND MIT
- debian trixie: fence-agents-aliyun 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-aliyun 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later AND Apache-2.0 AND BSD-3-Clause AND MIT
- fedora 43: fence-agents-aliyun 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later AND Apache-2.0 AND BSD-3-Clause AND MIT
- fedora 44: fence-agents-aliyun 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later AND Apache-2.0 AND BSD-3-Clause AND MIT
- opensuse-leap 16.0: fence-agents-aliyun 4.16.0+git.1750325058.755815b1-160000.2.2 Β· Apache-2.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT
- ubuntu questing: fence-agents-aliyun 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-aliyun 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-aliyun 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