FENCE_AGENT(8)
β¨ NAME β¨
fence_crosslink β bestie, it's the fence agent for cross-link two-node clusters π (this lives in the FENCE_AGENT(8) manual, section 8, System Manager's Manual, iykyk)
π¦ DESCRIPTION π¦
okay so picture this: you've got a two-node cluster and one node straight up lost power. it cannot be fenced the normal way, so this agent slides in and tells pacemaker the tea: if the node is not reachable over the crosslink cable, we can assume it is dead. main character energy, 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. 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: (it's just... blank bestie, nothing there π)
π PARAMETERS π
-o,--action=[action]β the fencing action you want (Default Value:reboot)-a,--crosscableip=[IP]β the Cross-cable IP. This parameter is always required. no skipping, fr fr-n,--plug=[id]β Physical plug number on device, UUID or identification of machine. This parameter is always required. also non-negotiable-T,--timeout=[seconds]β No ICMP reply in 5 seconds -> Node is considered dead (Default Value:5) π-q,--quietβ Disable logging to stderr. Does not affect--verboseor--debug-fileor logging to syslog.-v,--verboseβ Verbose mode. Multiple-vflags can be stacked on the command line (e.g.,-vvv) to increase verbosity. go off, stack em π«Ά--verbose-levelβ Level of debugging detail in output. Defaults to the number of--verboseflags specified on the command line, or to 1 ifverbose=1in 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:,)-C,--separator=[char]β Separator for CSV created bylistoperation (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 cmd prompt after login (Default Value:5)--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: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 is support for more then 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 fence device π©Ίmetadataβ Display the XML metadata describing this resource.manpageβ The operational behavior of this is not known. π (not me putting a whole "we don't know" in here, but it's literally what it says)validate-allβ Validate if all required parameters are entered.
πΈ STDIN PARAMETERS πΈ
actionβ Fencing action (Default Value:reboot)crosscableipβ Cross-cable IP. This parameter is always required.plugβ Physical plug number on device, UUID or identification of machine. This parameter is always required. Obsoletes:porttimeoutβ No ICMP reply in 5 seconds -> Node is considered dead (Default Value:5)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 to 1 ifverbose=1in a stonith device configuration (i.e., on stdin).debug_fileβ Write debug information to given file. Obsoletes:debugversionβ Display version information and exithelpβ Display help and exitplug_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: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:1)
okay and for the lil sign-off moment πβ¨ this whole thing is fence_crosslink (Fence Agent), dated 2009-10-20, and it lives in FENCE_AGENT(8). slay. bye bestie, go fence something ππ¦
π¦ where this page comes from
- debian trixie: fence-agents-crosslink 4.16.0-3 Β· GPL-2.0-or-later
- ubuntu questing: fence-agents-crosslink 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-crosslink 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-crosslink 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