1CRM_REPORT(8) System Administration Utilities CRM_REPORT(8)
2
3
4
6 crm_report - Part of the Pacemaker cluster resource manager
7
9 crm_report [options] [DEST]
10
12 crm_report - Create archive of everything needed when reporting cluster
13 problems
14
15 Required option:
16 -f, --from TIME
17 time prior to problems beginning (as "YYYY-M-D H:M:S" including
18 the quotes)
19
21 -V increase verbosity (may be specified multiple times)
22
23 -v, --version
24 display software version
25
26 --features
27 display software features
28
29 -t, --to TIME
30 time at which all problems were resolved (as "YYYY-M-D H:M:S"
31 including the quotes; default "now")
32
33 -T, --cts TEST
34 CTS test or set of tests to extract
35
36 --cts-log
37 CTS master logfile
38
39 -n, --nodes NODES
40 node names for this cluster (only needed if cluster is not
41 active on this host; accepts -n "a b" or -n a -n b)
42
43 -M do not search for cluster logs
44
45 -l, --logfile FILE
46 log file to collect (in addition to detected logs if -M is not
47 specified; may be specified multiple times)
48
49 -p PATT
50 additional regular expression to match variables to be masked in
51 output (default: "passw.*")
52
53 -L PATT
54 additional regular expression to match in log files for analysis
55 (default: CRIT: ERROR:)
56
57 -S, --single-node
58 don't attempt to collect data from other nodes
59
60 -c, --cluster TYPE
61 force the cluster type instead of detecting (currently only
62 corosync is supported)
63
64 -C, --corosync
65 force the cluster type to be corosync
66
67 -u, --user USER
68 username to use when collecting data from other nodes (default
69 root)
70
71 -D, --depth
72 search depth to use when attempting to locate files
73
74 -e, --rsh
75 command to use to run commands on other nodes (default ssh -T)
76
77 --sos-mode
78 use defaults suitable for being called by sosreport tool (behav‐
79 ior subject to change and not useful to end users)
80
81 DEST, --dest DEST
82 custom destination directory or file name
83
84 crm_report works best when run from a cluster node on a running clus‐
85 ter, but can be run from a stopped cluster node or a Pacemaker Remote
86 node.
87
88 If neither --nodes nor --single-node is given, crm_report will guess
89 the node list, but may have trouble detecting Pacemaker Remote nodes.
90 Unless --single-node is given, the node names (whether specified by
91 --nodes or detected automatically) must be resolvable and reachable via
92 the command specified by -e/--rsh using the user specified by
93 -u/--user.
94
96 crm_report -f "2011-12-14 13:05:00" unexplained-apache-failure
97 crm_report -f 2011-12-14 -t 2011-12-15 something-that-took-mul‐
98 tiple-days crm_report -f 13:05:00 -t 13:12:00 brief-outage
99
100
101
102crm_report 2.0.1-9e909a5bdd April 2019 CRM_REPORT(8)