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

✨ NAME ✨

okay so bestie, this is the manual page for fence_ipmilan β€” the fence agent for IPMI πŸ’– β€” and it also answers to a whole lil squad of aliases:

  • 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)

This is the FENCE_AGENT(8) page, from the System Manager's Manual, iykyk πŸŽ€


🌸 DESCRIPTION 🌸

so fence_ipmilan is a Power Fencing agent and it works with machines that are controlled by IPMI. Under the hood it calls support software ipmitool ( http://ipmitool.sf.net/ ) β€” iconic behavior honestly 🫢

⚠️ WARNING! This fence agent might report success before the node is actually powered off. no cap, that's a real one. You should use -m/method onoff if your fence device works correctly with that option. πŸ’€

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 also be run by itself with command line options β€” which is useful for testing and for turning outlets on or off from scripts. main character energy fr fr ✨

Vendor URL:


πŸ’… 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: 0)
  • -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: 2)
  • --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.
  • 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: 0)
  • 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: 2)
  • 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, bestie, you ate it up πŸ’–βœ¨

this page is fence_ipmilan (Fence Agent), dated 2009-10-20, from FENCE_AGENT(8) β€” periodt πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from