crmadmin8
Part of the pacemaker cluster resource manager
Usage
crmadmin [options]
[node]
Overview
query and manage the Pacemaker controller
Options
Help Options:
-
-h, --help -
Show help options
-
--help-all -
Show all help options
-
--help-output -
Show output help
-
--help-command -
Show command options
-
--help-additional -
Show additional options
Output Options:
-
--output-as=FORMAT -
Specify output format as one of: text (default), xml
-
--output-to=DEST -
Specify file name for output (or "-" for stdout)
Commands:
-
-S, --status=NODE -
Display the status of the specified node. Result is state of node's internal finite state machine, which can be useful for debugging
-
-P, --pacemakerd -
Display the status of local pacemakerd. Result is the state of the sub-daemons watched by pacemakerd.
-
-D, --dc_lookup -
Display the uname of the node co-ordinating the cluster. This is an internal detail rarely useful to administrators except when deciding on which node to examine the logs.
-
-N, --nodes=TYPE -
Display the uname of all member nodes [optionally filtered by type (comma-separated)] Types: all (default), cluster, guest, remote
Additional Options:
-
-t, --timeout=DURATION -
Time to wait before declaring the operation failed (default 30s; use 0 to disable timeout)
-
-B, --bash-export -
Display nodes as shell commands of the form 'export uname=uuid' (valid with
-N/--nodes)
-
-i, --ipc-name=NAME -
Name to use for ipc instead of 'crmadmin' (with
-P/--pacemakerd).
Application Options:
-
-$, --version -
Display software version and exit
-
-V, --verbose -
Increase debug output (may be specified multiple times)
-
-q, --quiet -
Display only the essential query information
Notes
DURATION in any command line option can be specified as an integer number of seconds, an integer plus units (ms, msec, us, usec, s, sec, m, min, h, or hr), or an ISO 8601 period specification.
Releases
6 releases since Debian 7 (Wheezy); the text changed 5 times.
--help-additional since Debian 11 (Bullseye);
--help-all since Debian 11 (Bullseye);
--help-command since Debian 11 (Bullseye);
--help-output since Debian 12 (Bookworm);
--ipc-name since Debian 11 (Bullseye);
--output-as since Debian 12 (Bookworm);
--output-to since Debian 12 (Bookworm);
--pacemakerd since Debian 11 (Bullseye);
-P since Debian 11 (Bullseye);
-h since Debian 11 (Bullseye);
-i since Debian 11 (Bullseye).
--debug_dec until Debian 9 (Stretch);
--debug_inc until Debian 9 (Stretch);
--election until Debian 7 (Wheezy);
--kill until Debian 10 (Buster);
--text-fancy until Debian 12 (Bookworm);
-? until Debian 10 (Buster);
-E until Debian 7 (Wheezy);
-K until Debian 10 (Buster);
-d until Debian 9 (Stretch).