Pacemaker − Part of the Pacemaker cluster resource manager
crmadmin [options] [node]
query and manage the Pacemaker controller
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)
−−text−fancy
Use more highly formatted output (requires −−output−as=text)
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=TIMESPEC
Time to wait before declaring the operation failed
−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:
Time Specification:
The TIMESPEC in any command line option can be specified in many different formats. It can be just an integer number of seconds, a number plus units (ms/msec/us/usec/s/sec/m/min/h/hr), or an ISO 8601 period specification.
Written by Andrew Beekhof and the Pacemaker project contributors
Report bugs to https://bugs.clusterlabs.org/enter_bug.cgi?product=Pacemaker