crm_report man page

crm_report — Part of the Pacemaker cluster resource manager


crm_report --from date-time [--to date-time] [additional options] [dest]


crm_report - Create a tarball containing everything needed when reporting cluster problems


increase verbosity
software version
software features
-f, --from time
time prior to problems beginning: "YYYY-M-D H:M:S" (do not forget the quotes)
-t, --to time
time at which all problems were resolved: "YYYY-M-D H:M:S" (default: 'now')
-T, --cts test
CTS test or set of tests to extract
CTS master logfile
-n, --nodes nodes
node names for this cluster only needed if the cluster is not active on the current machine accepts both -n "a b" and -n a -n b
-l, --logfile file
log file to collect, normally this will be determined automatically
-p patt
additional regular expression to match variables to be removed (default: "passw.*")
-L patt
additional regular expression to match in log files for analysis (default: CRIT: ERROR:)
collect only the logs specified by -l
-S, --single-node
single node operation; don't try to start report collectors on other nodes
-c, --cluster type
force the cluster type (corosync,openais,heartbeat,logmaster)
-A, --openais
force the cluster type to be OpenAIS
-C, --corosync
force the cluster type to be CoroSync
-H, --heartbeat
force the cluster type to be Heartbeat
-u, --user user
ssh username for cluster nodes (default: root)
-D, --depth
search depth to use when attempting to locate files
-e, --rsh
specify the remote shell to use (default: ssh -T)
a custom destination directory/file
a custom destination directory/file

crm_report works best when run from a cluster node on a running cluster, but can be run from a stopped cluster node or a Pacemaker Remote node.

If neither --nodes nor --single-node is given, crm_report will guess the node list, but may have trouble detecting Pacemaker Remote nodes. Unless --single-node is given, the node names (whether specified by --nodes or detected automatically) must be resolvable and reachable via ssh.


crm_report -f "2011-12-14 13:05:00" unexplained-apache-failure crm_report -f 2011-12-14 -t 2011-12-15 something-that-took-multiple-days crm_report -f 13:05:00 -t 13:12:00 brief-outage


crm_report 1.1.15-e174ec8 July 2016