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 so this is a page out of the System Manager's Manual, and it's literally all about the IPMI fencing agent family. iykyk. πŸ’–


✨ NAME ✨

  • fence_ipmilan β€” Fence agent for IPMI
  • fence_ilo3 β€” Fence agent for HP iLO3 (symlink)
  • fence_ilo4 β€” Fence agent for HP iLO4 (symlink)
  • fence_ilo5 β€” Fence agent for HP iLO5 (symlink)
  • fence_ipmilanplus β€” Fence agent for IPMIv2 lanplus (symlink)
  • fence_imm β€” Fence agent for IBM Integrated Management Module (symlink)
  • fence_idrac β€” Fence agent for Dell iDRAC (symlink)

like… a whole little friend group of symlinks. obsessed. πŸ‘‘


πŸ’… DESCRIPTION πŸ’…

fence_ilo3 is a Power Fencing agent that can be used with machines controlled by IPMI. This agent calls support software ipmitool (http://ipmitool.sf.net/).

WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option. bestie please read this one, fr fr. 😭

The fence agent accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. The agent can be run by itself with command line options. This is useful for testing and for turning outlets on or off from scripts.

Vendor URL:

(no cap, there's just… nothing after the colon. iconic empty energy. πŸ¦‹)


🌸 PARAMETERS 🌸

  • -o, --action=[action] β€” Fencing action (Default Value: reboot)
  • -A, --auth=[auth] β€” IPMI Lan Auth type. (md5|password|none)
  • -C, --cipher=[cipher] β€” Ciphersuite to use (same as ipmitool -C parameter)
  • --hexadecimal-kg=[key] β€” Hexadecimal-encoded Kg key for IPMIv2 authentication
  • -a, --ip=[ip] β€” IP address or hostname of fencing device
  • -u, --ipport=[port] β€” TCP/UDP port to use for connection with device (Default Value: 623)
  • -P, --lanplus β€” Use Lanplus to improve security of connection (Default Value: 1)
  • -m, --method=[method] β€” Method to fence (onoff|cycle) (Default Value: onoff)
  • -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)
  • -L, --privlvl=[level] β€” Privilege level on IPMI device (callback|user|operator|administrator) (Default Value: administrator)
  • --target=[targetaddress] β€” Bridge IPMI requests to the remote target address
  • -l, --username=[name] β€” Login name
  • -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+)
  • --ipmitool-path=[path] β€” Path to ipmitool binary (Default Value: /usr/bin/ipmitool)
  • --login-timeout=[seconds] β€” Wait X seconds for cmd prompt after login (Default Value: 5)
  • --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: 4)
  • --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)
  • --ipmitool-timeout=[timeout] β€” Timeout (sec) for IPMI operation (Default Value: 2)
  • --retry-on=[attempts] β€” Count of attempts to retry power on (Default Value: 1)
  • --use-sudo β€” Use sudo (without password) when calling 3rd party software
  • --sudo-path=[path] β€” Path to sudo binary (Default Value: /usr/bin/sudo)

πŸ”₯ 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. (yeah. nobody knows. it's giving mystery. πŸ’€)
  • validate-all β€” Validate if all required parameters are entered.
  • diag β€” Pulse a diagnostic interrupt to the processor(s).

πŸ¦‹ STDIN PARAMETERS πŸ¦‹

  • action β€” Fencing action (Default Value: reboot)
  • auth β€” IPMI Lan Auth type. (md5|password|none)
  • cipher β€” Ciphersuite to use (same as ipmitool -C parameter)
  • hexadecimal_kg β€” Hexadecimal-encoded Kg key for IPMIv2 authentication
  • ip β€” IP address or hostname of fencing device Obsoletes: ipaddr
  • ipport β€” TCP/UDP port to use for connection with device (Default Value: 623)
  • lanplus β€” Use Lanplus to improve security of connection (Default Value: 1)
  • method β€” Method to fence (onoff|cycle) (Default Value: onoff)
  • 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
  • privlvl β€” Privilege level on IPMI device (callback|user|operator|administrator) (Default Value: administrator)
  • target β€” Bridge IPMI requests to the remote target address
  • username β€” Login name 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+)
  • ipmitool_path β€” Path to ipmitool binary (Default Value: /usr/bin/ipmitool)
  • login_timeout β€” Wait X seconds for cmd prompt after login (Default Value: 5)
  • 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: 4)
  • 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)
  • ipmitool_timeout β€” Timeout (sec) for IPMI operation (Default Value: 2)
  • retry_on β€” Count of attempts to retry power on (Default Value: 1)
  • use_sudo β€” Use sudo (without password) when calling 3rd party software Obsoletes: sudo
  • sudo_path β€” Path to sudo binary (Default Value: /usr/bin/sudo)

okay that's the whole thing, you ate it, no crumbs left πŸ«ΆπŸ’–

and for the cute little sign-off moment: this page comes from fence_ipmilan (Fence Agent), dated 2009-10-20, and it lives in section FENCE_AGENT(8) of the manual. periodt. ✨🌈

πŸ“¦ where this page comes from