FENCE_AGENT(8)
π FENCE_AGENT(8) π
hii bestie π«Ά so this is a page from the System Manager's Manual, section 8, and it's about fence_heuristics_ping. yes the name is a mouthful. no we're not skipping any of it. let's go β¨
πΈ NAME πΈ
fence_heuristics_ping β the fence agent for ping-heuristic based fencing π
π¦ DESCRIPTION π¦
so fence_heuristics_ping uses ping-heuristics to control execution of another fence agent that lives on the same fencing level. that's the whole vibe. that's the whole job. π
π¨ not me being a real fence agent π¨ β this is not a fence agent by itself! Its only purpose is to enable/disable another fence agent that lives on the same fencing level but after fence_heuristics_ping. so like, it's the opening act, not the headliner. π
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 lowkey useful for testing and for turning outlets on or off from scripts. slay. β¨
Vendor URL:
(yeah bestie, it's just... empty. that's the URL. it's giving mysterious. π)
β¨ PARAMETERS β¨
-o,--action=[action]β the fencing action you want to happen (Default Value:reboot)-m,--method=[method]β the method to fence, eitheronofforcycle(Default Value:cycle)--ping-count=[number]β how many ping-probes get sent per target (Default Value:10)--ping-good-count=[number]β how many positive ping-probes are required before we count a target as available (Default Value:8)--ping-interval=[seconds]β the interval in seconds between ping-probes (Default Value:1)--ping-maxfail=[number]β how many failed ping-targets we can have and still count the whole thing as an overall success (Default Value:0)--ping-targets=tgt1,[inet6:]tgt2β a comma separated list of ping-targets (optionally prepended byinet:orinet6:) that we're going to probe (Default Value: )--ping-timeout=[seconds]β the timeout in seconds until an individual ping-probe gets counted as lost (Default Value:2)-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. stack 'em like bracelets π--verbose-levelβ level of debugging detail in output. Defaults to the number of--verboseflags specified on the command line, or to1ifverbose=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:,)--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. πmonitorβ check the health of fence device π©Ίmetadataβ display the XML metadata describing this resource.manpageβ The operational behavior of this is not known. π (yes fr, that's what it says, we don't make the rules)validate-allβ validate if all required parameters are entered. β
π STDIN PARAMETERS π
actionβ Fencing action (Default Value:reboot)methodβ Method to fence (onoff|cycle) (Default Value:cycle)ping_countβ The number of ping-probes that is being sent per target (Default Value:10)ping_good_countβ The number of positive ping-probes required to account a target as available (Default Value:8)ping_intervalβ The interval in seconds between ping-probes (Default Value:1)ping_maxfailβ The number of failed ping-targets to still account as overall success (Default Value:0)ping_targetsβ A comma separated list of ping-targets (optionally prepended byinet:orinet6:) to be probed (Default Value: )ping_timeoutβ The timeout in seconds till an individual ping-probe is accounted as lost (Default Value:2)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 to1ifverbose=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:,)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 bestie that's the whole page, no skips, no cuts, every flag accounted for π
this one came out of the Fence Agent source, dated 2009-10-20, and it lives on the FENCE_AGENT(8) page β yeah, a 2009 baddie still serving in section 8, we love a vintage icon πβ¨
periodt. now go ping something. π¦
π¦ where this page comes from
- centos-stream 10: fence-agents-heuristics-ping 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian trixie: fence-agents-heuristics-ping 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-heuristics-ping 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-heuristics-ping 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-heuristics-ping 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-heuristics-ping 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-heuristics-ping 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-heuristics-ping 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