stonith_admin (8) Linux Manual Page
Pacemaker – Part of the Pacemaker cluster resource manager
Synopsis
stonith_admin mode [options]
Description
stonith_admin – Provides access to the stonith-ng API.
Allows the administrator to add/remove/list devices, check device and host status and fence hosts
Options
- -?,
–help - This text
- -$,
–version - Version information
-V,–verbose- Increase debug output
-q,–quiet- Print only essential output
Commands:
-l,–list=value- List devices that can terminate the specified host
-L,–list-registered- List all registered devices
-I,–list-installed- List all installed devices
-
-M,–metadataCheck the device’s metadata-Q,–query=value -
- Check the device’s status
-F,–fence=value- Fence the named host
-U,–unfence=value- Unfence the named host
-B,–reboot=value- Reboot the named host
-C,–confirm=value- Confirm the named host is now safely down
-H,–history=value- Retrieve last fencing operation for specified node (or ‘*’ for all)
-h,–last=value- Indicate when the named node was last fenced. Optional:
–as-node-id -R,–register=value- Register the named stonith device. Requires:
–agent, optional:–option -
-D,–deregister=value De-register the named stonith device-r,–register-level=value -
- Register a stonith level for the named target, specified as one of:
- NAME, @PATTERN, or ATTR=VALUE. Requires:
–index, one or more–deviceentries - Register a stonith level for the named target, specified as one of:
-d,–deregister-level=value- De-register a stonith level for the named target
- Target is specified as for
–register-level. Requires:–index - Target is specified as for
Options and modifiers:
-a,–agent=value- The agent (eg. fence_xvm) to instantiate when calling with
–register -
-e,–env-option=value-o,–option=value-T,–tag=value -
- Identify fencing operations with the specified tag.
- Useful when there are multiple entities that might be invoking stonith_admin(8)
- Identify fencing operations with the specified tag.
-v,–device=value- A device to associate with a given host and stonith level
-i,–index=value- The stonith level (1-9)
-t,–timeout=value- Operation timeout in seconds
-n,–as-node-id- (Advanced) The supplied node is the corosync nodeid (Only for use with
–last) –tolerance=value- (Advanced) Do nothing if an equivalent
–fencerequest succeeded less than N seconds earlier -
-L,–list-alllegacy alias for–list-registered
Author
Reporting Bugs
Report bugs to pacemaker [at] oss.clusterlabs.org
