CRM_REPORT(8)
CRM_REPORT(8) π the cluster-reporting bestie era
okay so this is crm_report, part of the Pacemaker cluster resource manager β¨ like the glow-up your cluster reports have been waiting for.
β¨ SYNOPSIS β¨
crm_report [options] [DEST]
πΈ DESCRIPTION πΈ
crm_report β Create archive of everything needed when reporting cluster problems π
ngl bestie, that's the whole vibe: your cluster is being weird, so you scoop up literally everything a human would need to figure out why, and you put it in one archive. iconic behavior.
π Required option: π
-f,--from TIMEβ the time prior to the problems beginning (as"YYYY-M-D H:M:S"including the quotes, dontcha dare forget them π)
yes bestie, it's required. no -f, no archive. periodt.
π OPTIONS π
-Vβ increase verbosity, and yes you can specify it multiple times β stack that verbosity like your fave lip gloss β¨-h,--helpβ display this message (the classic "help me help you" move)-v,--versionβ display software version--featuresβ display software features-t,--to TIMEβ the time at which all problems were resolved (as"YYYY-M-D H:M:S"including the quotes; default"now")-n,--nodes NODESβ node names for this cluster (only needed if the cluster is not active on this host; accepts-n "a b"or-n a -n bβ both slay, pick your vibe)-Mβ do not search for cluster logs π«π-l,--logfile FILEβ log file to collect (in addition to detected logs if-Mis not specified; may be specified multiple times β so you can list your faves)-p PATTβ an additional regular expression to match variables to be masked in output (default:"passw.*") π«£-L PATTβ an additional regular expression to match in log files for analysis (default:CRIT: ERROR:)-S,--single-nodeβ don't attempt to collect data from other nodes, main character energy only π-c,--cluster TYPEβ force the cluster type instead of detecting (currently onlycorosyncis supported)-C,--corosyncβ force the cluster type to corosync, no detection needed-u,--user USERβ username to use when collecting data from other nodes (defaultroot)-D,--max-depthβ search depth to use when attempting to locate files π-e,--rshβ command to use to run commands on other nodes (defaultssh -T)-d,--as-directoryβ leave result as a directory tree instead of archiving (for the girlies who like to browse)--sos-modeβ use defaults suitable for being called by sosreport tool (behavior subject to change and not useful to end users) πDEST,--dest DESTβ custom destination directory or file name β¨
crm_report works best when run from a cluster node on a running cluster, but (good news!!) it can be run from a stopped cluster node or a Pacemaker Remote node too π«Ά
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 the command specified by -e/--rsh using the user specified by -u/--user. like they have to actually answer the phone, yk?
π EXAMPLES π
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
and that's the whole page bestie, go forth and collect those logs π¦
sign-off time β¨ β this iconic piece of documentation is brought to you by crm_report 3.0.3+20260728.705..., dated September 2026. mwah π
π¦ where this page comes from
- opensuse-leap 16.0: pacemaker-cli 3.0.3+20260728.7052efa194-160000.1.1 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pacemaker-cli 3.0.3+20260728.7052efa194-160000.1.1 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pacemaker-cli 3.0.3+20260728.7052efa194-160000.1.1 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pacemaker-cli 3.0.3+20260728.7052efa194-160000.1.1 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms