FENCE_AGENT(8)

πŸ“¦
version 4.17.0 Β· 3 versions
, in centos-stream 10, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 --verbose or --debug-file or logging to syslog. 🀫
  • -v, --verbose β€” verbose mode. you can stack multiple -v flags 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 --verbose flags you put on the command line, or to 1 if verbose=1 in 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: true when 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. returns N/A otherwise. πŸ“
  • 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 --verbose or --debug-file or logging to syslog. 🀫
  • verbose β€” verbose mode. multiple -v flags 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 --verbose flags specified on the command line, or to 1 if verbose=1 in 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 by list operation. (Default Value: ,)
  • delay β€” wait X seconds before fencing is started. (Default Value: 0) ⏳
  • disable_timeout β€” disable timeout (true/false). (default: true when 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