FENCE_AGENT(8)

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

πŸ’– FENCE_AGENT(8) πŸ’–

okay bestie, buckle up, we're doing the fence_agent manual page (that's the 8th section of the manual, system manager's stuff, iykyk) and honestly? it ate. ✨


✨ NAME ✨

fence_ilo β€” Fence agent for HP iLO πŸ’…

fence_ilo2 β€” Fence agent for HP iLO2 (symlink) πŸŽ€


🌸 DESCRIPTION 🌸

okay so fence_ilo is a Power Fencing agent used for HP servers with the Integrated Light Out (iLO) PCI card. no cap. 🫢

the agent opens an SSL connection to the iLO card, and once that SSL connection is established, the agent is able to communicate with the iLO card through an XML stream. it's giving secure little handshake. iconic honestly. 🌈

the fence agent accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. and you can run the agent by itself with command line options β€” super useful for testing and for turning outlets on or off from scripts. main character energy fr fr. πŸ’–

Vendor URL: http://www.hp.com


πŸ‘‘ PARAMETERS πŸ‘‘

one bullet per option, bestie, and yes we're doing ALL of them. not a single one skipped. periodt.

  • -o, --action=[action] β€” the fencing action (Default Value: reboot)
  • -a, --ip=[ip] β€” IP address or hostname of fencing device
  • -u, --ipport=[port] β€” TCP/UDP port to use for connection with device (Default Value: 443)
  • -t, --notls β€” Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up.
  • -p, --password=[password] β€” Login password or passphrase
  • -S, --password-script=[script] β€” Script to run to retrieve password
  • -n, --plug=[ip] β€” IP address or hostname of fencing device (together with --port-as-ip)
  • -r, --ribcl-version=[version] β€” Force ribcl version to use
  • -z, --ssl β€” Use SSL connection with verifying certificate (Default Value: 1)
  • --ssl-insecure β€” Use SSL connection without verifying certificate
  • --ssl-secure β€” Use SSL connection with verifying certificate
  • --tls1.0 β€” Disable TLS negotiation and force TLS1.0. This should only be used for devices that do not support TLS1.1 and up.
  • -l, --username=[name] β€” Login name. This parameter is always required. ⚠️ (yes always, like the way you always need your phone at 3am)
  • -q, --quiet β€” Disable logging to stderr. Does not affect --verbose or --debug-file or logging to syslog.
  • -v, --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).
  • -D, --debug-file=[debugfile] β€” Write debug information to given file
  • -V, --version β€” Display version information and exit
  • -h, --help β€” Display help and exit
  • --plug-separator=[char] β€” Separator for plug parameter when specifying more than 1 plug (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 cmd prompt after login (Default Value: 10)
  • --port-as-ip β€” Make "port/plug" to be an alias to IP address
  • --power-timeout=[seconds] β€” Test X seconds for 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 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: 3)
  • --gnutlscli-path=[path] β€” Path to gnutls-cli binary (Default Value: /usr/bin/gnutls-cli)

πŸ”₯ ACTIONS πŸ”₯

  • on β€” Power on machine. ⚑
  • off β€” Power off machine. πŸ’€
  • reboot β€” Reboot machine. πŸ”„
  • status β€” This returns the status of the plug/virtual machine.
  • monitor β€” Check the health of fence device
  • metadata β€” Display the XML metadata describing this resource.
  • manpage β€” The operational behavior of this is not known. πŸ™ˆ (bestie we literally do not know, and we're being honest about it)
  • validate-all β€” Validate if all required parameters are entered.

πŸ¦‹ STDIN PARAMETERS πŸ¦‹

these are the ones Fenced pipes in through stdin, and they're basically the glow-up versions of the flags above (snake_case edition πŸ’…).

  • action β€” Fencing action (Default Value: reboot)
  • ip β€” IP address or hostname of fencing device Obsoletes: ipaddr
  • ipport β€” TCP/UDP port to use for connection with device (Default Value: 443)
  • notls β€” Disable TLS negotiation and force SSL3.0. This should only be used for devices that do not support TLS1.0 and up.
  • password β€” Login password or passphrase Obsoletes: passwd
  • password_script β€” Script to run to retrieve password Obsoletes: passwd_script
  • plug β€” IP address or hostname of fencing device (together with --port-as-ip) Obsoletes: port
  • ribcl_version β€” Force ribcl version to use Obsoletes: ribcl
  • ssl β€” Use SSL connection with verifying certificate (Default Value: 1)
  • ssl_insecure β€” Use SSL connection without verifying certificate
  • ssl_secure β€” Use SSL connection with verifying certificate
  • tls1.0 β€” Disable TLS negotiation and force TLS1.0. This should only be used for devices that do not support TLS1.1 and up.
  • username β€” Login name This parameter is always required. Obsoletes: login
  • 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: ,)
  • 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: 10)
  • port_as_ip β€” Make "port/plug" to be an alias to IP address
  • 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: 3)
  • gnutlscli_path β€” Path to gnutls-cli binary (Default Value: /usr/bin/gnutls-cli)

⚠️ heads up bestie: --notls forces SSL3.0 and --tls1.0 forces TLS1.0, and the page says both should only be used for devices that do not support the newer stuff. don't just turn those on for fun, fr fr. 🚨

and that's the whole thing! this page is fence_ilo (Fence Agent), dated 2009-10-20, and it lives in the FENCE_AGENT(8) corner of the manual. slay, go fence some servers responsibly πŸ’–βœ¨πŸŽ€πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from