---
name: "fence_tool"
section: "8"
platform: "linux"
package: "cman"
version: "3.1.8-1.2+b1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/fence_tool"
---

# fence\_tool(8)

a utility for the fenced daemon

## NAME

fence\_tool - a utility for the fenced daemon

## SYNOPSIS

**fence\_tool** \[COMMAND\] \[OPTIONS\]

## DESCRIPTION

This utility controls and queries the [**fenced**(8)](/fenced/8.md) daemon with the following commands:

- **join**

  join the fence domain.

- **leave**

  leave the fence domain.

- **dump**

  print the fenced internal debug buffer ont stdout.

- **ls**

  display internal fenced state.

The leave command will not be sent to fenced if fence\_tool detects that any instances of gfs or dlm are in use.

## OPTIONS

- **-n**

  Show all node information in ls.

- **-t** *seconds*

  Retry cman connection for this many seconds. 0 none, -1 indefinite. Default 0.

- **-q** *seconds*

  Delay join up to this many seconds for the cluster to have quorum. 0 none, -1 indefinite. Default 0.

- **-m** *seconds*

  Delay join up to this many seconds for all nodes in cluster.conf to be cluster members. 0 none, -1 indefinite. Default 0.

- **-w** *seconds*

  Wait up to this many seconds for the result of join or leave. 0 none, -1 indefinite. Default 0.

- **-h**

  Print a help message describing available options, then exit.

- **-V**

  Print program version information, then exit.

## SEE ALSO

[**fenced**(8)](/fenced/8.md)
