Section: Maintenance Commands (8)
Return to Main Contents
fence_tool - A program to join and leave the fence domain
<join | leave | wait>
fence_tool is a program used to join or leave the default fence
domain. Specifically, it starts the fence daemon (fenced) to join the
domain and kills fenced to leave the domain. Fenced can be started
and stopped directly without using this program, but fence_tool takes
some added steps that are often helpful.
Before joining or leaving the fence domain, fence_tool waits for the
cluster be in a quorate state. The user can cancel fence_tool while it's
waiting for quorum. It's generally nicer to block waiting for quorum here
than to have the fence daemon itself waiting to join or leave the domain
while the cluster is inquorate.
Since fence_tool join is the usual way of starting fenced, the
fenced options -j, -f, and -c can also be passed to fence_tool which
passes them on to fenced.
A node must not leave the fence domain (fenced must not be terminated)
while CLVM or GFS are in use.
Wait until the join is completed. "fence_tool join -w" is
equivalent to "fence_tool join; fence_tool wait"
Help. Print out the usage syntax.
Print version information.
- -j secs
Post-join fencing delay (passed to fenced)
- -f secs
Post-fail fencing delay (passed to fenced)
All nodes are in a clean state to start (passed to fenced)
Maximum time in seconds to wait (default: 300 seconds)
fenced(8), fence(8), fence_node(8)
- SEE ALSO
linux.jgfs.net manual pages