FENCE_AGENT(8)
πΈ FENCE_AGENT(8) β the kdump fencing situation π
okay bestie, gather round, because this is FENCE_AGENT(8) from the System Manager's Manual and we're about to make fencing make sense. β¨
π NAME
fence_kdump β fencing agent for use with kdump crash recovery service
π DESCRIPTION
So, fence_kdump is an I/O fencing agent meant to be used with the kdump crash recovery service. When the fence_kdump agent gets invoked, it literally just sits there and listens for a message from the failed node β a message that acknowledges the failed node is out here executing the kdump crash kernel. π«Ά
ngl, important: fence_kdump is not a replacement for traditional fencing methods. It can only detect that a node has entered the kdump crash recovery service. That's it, that's the whole job.
But that's actually the point, because it lets the kdump crash recovery service complete without getting preempted by traditional power fencing methods. slay. π
Note: the "off" action listens for a message from the failed node that acknowledges the node has entered the kdump crash recovery service. If a valid message comes through from the failed node, the node is considered to be fenced and the agent returns success. But if no valid message arrives from the failed node within the given timeout period? That results in fencing failure. π And when multiple node names / IP addresses are specified, a single valid message is sufficient for success β which is super useful when a single node can send a message via several different IP addresses. π
Also! The fence agent accepts options on the command line and from stdin. Fenced sends parameters through stdin when it execs the agent. And you can run the agent by itself with command line options β which is lowkey so useful for testing and for turning outlets on or off from scripts. π
Vendor URL: http://www.kernel.org/pub/linux/utils/kernel/kexec/
β¨ PARAMETERS β¨
-n,--nodename=NODE[,NODE...]β a list of names or IP addresses of the node to be fenced. This one is required for the"off"action. You can pass multiple values separated by commas. All values have to be of the same IP network family, no mixing bestie. π¦-p,--ipport=PORTβ the IP port number that thefence_kdumpagent will use to listen for messages. (Default Value:7410)-f,--family=FAMILYβ the IP network family. This forces thefence_kdumpagent to use a specific family. The value forFAMILYcan be"auto","ipv4", or"ipv6". (Default Value:auto)-o,--action=ACTIONβ the fencing action to perform. The value forACTIONcan be either"off"or"metadata". (Default Value:off)-t,--timeout=TIMEOUTβ the number of seconds to wait for a message from the failed node. If no message is received withinTIMEOUTseconds, thefence_kdumpagent returns failure. (Default Value:60)-v,--verboseβ print verbose output-V,--versionβ print version-h,--helpβ print usage
π ACTIONS π
offβ power off machine.monitorβ check the health of fence devicemetadataβ display the XML metadata describing this resource.validate-allβ validate if all required parameters are entered.
π¦ STDIN PARAMETERS π¦
nodenameβ list of names or IP addresses of node to be fenced. This option is required for the"off"action. Multiple values separated by commas can be specified. All values must be of same IP network family.ipportβ IP port number that thefence_kdumpagent will use to listen for messages. (Default Value:7410)familyβ IP network family. Force thefence_kdumpagent to use a specific family. The value forFAMILYcan be"auto","ipv4", or"ipv6". (Default Value:auto)actionβ fencing action to perform. The value forACTIONcan be either"off"or"metadata". (Default Value:off)timeoutβ number of seconds to wait for message from failed node. If no message is received withinTIMEOUTseconds, thefence_kdumpagent returns failure. (Default Value:60)verboseβ print verbose outputversionβ print versionusageβ print usage
okay and that's the whole page, periodt. π this lil icon is fence_kdump (Fence Agent) and it's been serving since 2009-10-20, still in FENCE_AGENT(8) where it belongs. go forth and fence responsibly, bestie π«Άβ¨πΈ
π¦ where this page comes from
- centos-stream 10: fence-agents-kdump 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian trixie: fence-agents-kdump 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-agents-kdump 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-agents-kdump 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-agents-kdump 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-kdump 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-kdump 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-kdump 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: fence-agents-kdump 4.16.0+git.1750325058.755815b1-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-agents-kdump 4.16.0-3ubuntu1
- ubuntu resolute: fence-agents-kdump 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-agents-kdump 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