FENCE_AGENT(8)
π NAME π
okay bestie, meet fence_ibm_vpc β the fence agent for IBM Cloud VPC. that's the whole name, that's the whole vibe. π«Ά
β¨ DESCRIPTION β¨
so like, fence_ibm_vpc</p> is a Power Fencing agent that you use with IBM Cloud VPC to fence virtual machines. that's its whole job and it does it. π
here's the tea about how you talk to it: the fence agent takes options on the command line AND from stdin. both. it's flexible like that. π
when fenced execs the agent, it sends parameters through stdin. but the agent can also be run all by itself with command line options β which is lowkey iconic for testing and for turning outlets on or off from scripts. π
Vendor URL: https://www.ibm.com β go say hi. π¦
π PARAMETERS π
--apikey=[key]β the API Key. this parameter is always required. like, no apikey no fencing, periodt. π--limit=[number]β how many nodes the API hands back. (Default Value:50)--proxy=[http://<URL>:<PORT>]β network proxy. (Default Value: empty, like, nothing, nada)--region=[region]β the Region. this parameter is always required. π--token-file=[path]β path to the token cache file. (Default Value:/run/fence-agents/fence_ibm_vpc/[hash].token) ποΈ-o,--action=[action]β the fencing action. (Default Value:reboot)-n,--plug=[id]β physical plug number on device, UUID, or identification of the machine. this parameter is always required. π-q,--quietβ disable logging to stderr. heads up bestie, this does not affect--verboseor--debug-fileor logging to syslog. π€«-v,--verboseβ verbose mode. you can stack multiple-vflags on the command line (e.g.-vvv) to crank the verbosity up. π’--verbose-levelβ level of debugging detail in the output. defaults to the number of--verboseflags you put 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 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 status change after ON/OFF. (Default Value:30) β‘--power-wait=[seconds]β wait X seconds after issuing ON/OFF. (Default Value:1)--shell-timeout=[seconds]β wait X seconds for the cmd prompt after issuing a command. (Default Value:15)--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. (yeah bestie, we don't know either π)validate-allβ validate if all required parameters are entered. β
π¦ STDIN PARAMETERS π¦
apikeyβ API Key. this parameter is always required. πlimitβ number of nodes returned by API. (Default Value:50)proxyβ network proxy. (Default Value: empty)regionβ Region. this parameter is always required. πtoken_fileβ path to the token cache file. (Default Value:/run/fence-agents/fence_ibm_vpc/[hash].token) ποΈactionβ fencing action. (Default Value:reboot)plugβ physical plug number on device, UUID, or identification of the machine. this parameter is always required. Obsoletes:portπ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:debugπversionβ 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 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:30) β‘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:15)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 was the FENCE_AGENT(8) manual β system manager's manual energy β and the page itself is fence_ibm_vpc (Fence Agent), dated 2009-10-20. yes she's been around a minute and she still ate. πππ«Ά
π¦ where this page comes from
- centos-stream 10: fence-agents-ibm-vpc 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian trixie: fence-agents-ibm-vpc 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-ibm-vpc 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-ibm-vpc 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-ibm-vpc 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-ibm-vpc 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-ibm-vpc 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-ibm-vpc 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-ibm-vpc 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