.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4. .TH CRM_REPORT "8" "June 2017" "crm_report 1.1.16-94ff4df" "System Administration Utilities" .SH NAME crm_report \- Part of the Pacemaker cluster resource manager .SH SYNOPSIS .B crm_report \fI\,--from date-time \/\fR[\fI\,--to date-time\/\fR] [\fI\,additional options\/\fR] [\fI\,dest\/\fR] .SH DESCRIPTION crm_report \- Create a tarball containing everything needed when reporting cluster problems .SH OPTIONS .TP \fB\-V\fR increase verbosity .TP \fB\-v\fR,\-\-version software version .TP \fB\-\-features\fR software features .TP \fB\-f\fR, \fB\-\-from\fR time time prior to problems beginning: "YYYY\-M\-D H:M:S" (do not forget the quotes) .TP \fB\-t\fR, \fB\-\-to\fR time time at which all problems were resolved: "YYYY\-M\-D H:M:S" (default: 'now') .TP \fB\-T\fR, \fB\-\-cts\fR test CTS test or set of tests to extract .TP \fB\-\-cts\-log\fR CTS master logfile .TP \fB\-n\fR, \fB\-\-nodes\fR nodes node names for this cluster only needed if the cluster is not active on the current machine accepts both \fB\-n\fR "a b" and \fB\-n\fR a \fB\-n\fR b .TP \fB\-l\fR, \fB\-\-logfile\fR file log file to collect, normally this will be determined automatically .TP \fB\-p\fR patt additional regular expression to match variables to be removed (default: "passw.*") .TP \fB\-L\fR patt additional regular expression to match in log files for analysis (default: CRIT: ERROR:) .TP \fB\-M\fR collect only the logs specified by \fB\-l\fR .TP \fB\-S\fR, \fB\-\-single\-node\fR single node operation; don't try to start report collectors on other nodes .TP \fB\-c\fR, \fB\-\-cluster\fR type force the cluster type (corosync,openais,heartbeat,logmaster) .TP \fB\-A\fR, \fB\-\-openais\fR force the cluster type to be OpenAIS .TP \fB\-C\fR, \fB\-\-corosync\fR force the cluster type to be CoroSync .TP \fB\-H\fR, \fB\-\-heartbeat\fR force the cluster type to be Heartbeat .TP \fB\-u\fR, \fB\-\-user\fR user ssh username for cluster nodes (default: root) .TP \fB\-D\fR, \fB\-\-depth\fR search depth to use when attempting to locate files .TP \fB\-e\fR, \fB\-\-rsh\fR specify the remote shell to use (default: ssh \fB\-T\fR) .TP \fB\-\-sos\-mode\fR use defaults suitable for being called by sosreport tool (behavior subject to change and not useful to end users) .TP \fB\-\-dest\fR a custom destination directory/file .TP dest a custom destination directory/file .PP 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. .PP If neither \fB\-\-nodes\fR nor \fB\-\-single\-node\fR is given, crm_report will guess the node list, but may have trouble detecting Pacemaker Remote nodes. Unless \fB\-\-single\-node\fR is given, the node names (whether specified by \fB\-\-nodes\fR or detected automatically) must be resolvable and reachable via ssh. .SH EXAMPLES .IP 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