1CRM_REPORT(8)           System Administration Utilities          CRM_REPORT(8)
2
3
4

NAME

6       crm_report - Part of the Pacemaker cluster resource manager
7

SYNOPSIS

9       crm_report [options] [DEST]
10

DESCRIPTION

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

OPTIONS

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  (one  of  corosync,
62              cman, openais, heartbeat)
63
64       -A, --openais
65              force the cluster type to be openais
66
67       -C, --corosync
68              force the cluster type to be corosync
69
70       -H, --heartbeat
71              force the cluster type to be heartbeat
72
73       -u, --user USER
74              username  to  use when collecting data from other nodes (default
75              root)
76
77       -D, --depth
78              search depth to use when attempting to locate files
79
80       -e, --rsh
81              command to use to run commands on other nodes (default ssh -T)
82
83       --sos-mode
84              use defaults suitable for being called by sosreport tool (behav‐
85              ior subject to change and not useful to end users)
86
87       DEST, --dest DEST
88              custom destination directory or file name
89
90       crm_report  works  best when run from a cluster node on a running clus‐
91       ter, but can be run from a stopped cluster node or a  Pacemaker  Remote
92       node.
93
94       If  neither  --nodes  nor --single-node is given, crm_report will guess
95       the node list, but may have trouble detecting Pacemaker  Remote  nodes.
96       Unless  --single-node  is  given,  the node names (whether specified by
97       --nodes or detected automatically) must be resolvable and reachable via
98       the   command  specified  by  -e/--rsh  using  the  user  specified  by
99       -u/--user.
100

EXAMPLES

102              crm_report -f "2011-12-14  13:05:00"  unexplained-apache-failure
103              crm_report  -f 2011-12-14 -t 2011-12-15 something-that-took-mul‐
104              tiple-days crm_report -f 13:05:00   -t 13:12:00   brief-outage
105
106
107
108crm_report 1.1.18-bfe4e80420       June 2018                     CRM_REPORT(8)
Impressum