1PACEMAKER(8)            System Administration Utilities           PACEMAKER(8)
2
3
4

NAME

6       Pacemaker - Part of the Pacemaker cluster resource manager
7

SYNOPSIS

9       stonith_admin <command> [<options>]
10

DESCRIPTION

12       stonith_admin - Access the Pacemaker fencing API
13

OPTIONS

15   Help Options:
16       -?, --help
17              Show help options
18
19       --help-all
20              Show all help options
21
22       --help-output
23              Show output help
24
25       --help-definition
26              Show device definition help
27
28       --help-queries
29              Show query help
30
31       --help-fence
32              Show fence help
33
34       --help-additional
35              Show additional options
36
37   Output Options:
38       --output-as=FORMAT
39              Specify output format as one of: text (default), html, xml
40
41       --output-to=DEST
42              Specify file name for output (or "-" for stdout)
43
44       --html-cgi
45              Add CGI headers (requires --output-as=html)
46
47       --html-stylesheet=URI
48              Link to an external stylesheet (requires --output-as=html)
49
50       --html-title=TITLE
51              Specify a page title (requires --output-as=html)
52
53       --text-fancy
54              Use more highly formatted output (requires --output-as=text)
55
56   Device Definition Commands:
57       -R, --register=DEVICE
58              Register the named stonith device. Requires: --agent.  Optional:
59              --option, --env-option.
60
61       -D, --deregister=DEVICE
62              De-register the named stonith device.
63
64       -r, --register-level=TARGET
65              Register a stonith level for the named target, specified as  one
66              of  NAME, @PATTERN, or ATTR=VALUE.  Requires: --index and one or
67              more --device entries.
68
69       -d, --deregister-level=TARGET
70              Unregister a stonith level for the named  target,  specified  as
71              for --register-level. Requires: --index
72
73   Queries:
74       -l, --list=HOST
75              List  devices  that can terminate the specified host.  Optional:
76              --timeout
77
78       -L, --list-registered
79              List all registered devices. Optional: --timeout.
80
81       -I, --list-installed
82              List all installed devices. Optional: --timeout.
83
84       -s, --list-targets=DEVICE
85              List the targets  that  can  be  fenced  by  the  named  device.
86              Optional: --timeout.
87
88       -M, --metadata
89              Show agent metadata. Requires: --agent.  Optional: --timeout.
90
91       -Q, --query=DEVICE
92              Check the named device's status. Optional: --timeout.
93
94       -H, --history=NODE
95              Show  last  successful  fencing operation for named node (or '*'
96              for all nodes). Optional: --timeout,  --cleanup,  --quiet  (show
97              only  the  operation's  epoch  timestamp),  --verbose  (show all
98              recorded and pending operations),  --broadcast  (update  history
99              from all nodes available).
100
101       -h, --last=NODE
102              Indicate  when  the  named  node  was  last  fenced.   Optional:
103              --as-node-id.
104
105       -K, --validate
106              Validate  a  fence  device  configuration.   Requires:  --agent.
107              Optional: --option, --env-option, --quiet (print no output, only
108              return status).
109
110   Fencing Commands:
111       -F, --fence=HOST
112              Fence named host. Optional: --timeout, --tolerance, --delay.
113
114       -U, --unfence=HOST
115              Unfence named host. Optional: --timeout, --tolerance, --delay.
116
117       -B, --reboot=HOST
118              Reboot named host. Optional: --timeout, --tolerance, --delay.
119
120       -C, --confirm=HOST
121              Tell cluster that named host is now safely down.
122
123   Additional Options:
124       -c, --cleanup
125              Cleanup wherever appropriate. Requires --history.
126
127       -b, --broadcast
128              Broadcast wherever appropriate.
129
130       -a, --agent=AGENT
131              The agent to  use  (for  example,  fence_xvm;  with  --register,
132              --metadata, --validate).
133
134       -o, --option=PARAM
135              Specify  a  device configuration parameter as NAME=VALUE (may be
136              specified multiple times; with --register, --validate).
137
138       -e, --env-option=PARAM
139              Specify a device  configuration  parameter  with  the  specified
140              name,  using  the  value of the environment variable of the same
141              name prefixed with OCF_RESKEY_ (may be specified multiple times;
142              with --register, --validate).
143
144       -T, --tag=TAG
145              Identify fencing operations in logs with the specified tag; use‐
146              ful when multiple entities might invoke stonith_admin (used with
147              most commands).
148
149       -v, --device=DEVICE
150              Device  ID  (with  --register-level,  device to associate with a
151              given host and level; may be specified multiple times).
152
153       -i, --index=LEVEL
154              The  stonith  level  (1-9)  (with  --register-level,  --deregis‐
155              ter-level).
156
157       -t, --timeout=SECONDS
158              Operation  timeout  in seconds (default 120; used with most com‐
159              mands).
160
161       -y, --delay=SECONDS
162              Apply a fencing delay in seconds. Any static/random delays  from
163              pcmk_delay_base/max  will  be added, otherwise all disabled with
164              the value -1 (default 0; with --fence, --reboot, --unfence).
165
166       -n, --as-node-id
167              (Advanced) The supplied node  is  the  corosync  node  ID  (with
168              --last).
169
170       --tolerance=SECONDS
171              (Advanced) Do nothing if an equivalent --fence request succeeded
172              less than this many seconds earlier  (with  --fence,  --unfence,
173              --reboot).
174
175   Application Options:
176       -$, --version
177              Display software version and exit
178
179       -V, --verbose
180              Increase debug output (may be specified multiple times)
181
182       -q, --quiet
183              Be less descriptive in output.
184

AUTHOR

186       Written by Andrew Beekhof
187

REPORTING BUGS

189       Report bugs to users@clusterlabs.org
190
191
192
193Pacemaker 2.0.5-10.fc33          December 2020                    PACEMAKER(8)
Impressum