From 1385628b73f120fef29cc911769774c2050b8918 Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Mon, 2 Jul 2018 13:41:15 -0400 Subject: [pacemaker] Collect stonith and quorum status Adds collection of stonith and quorum states within the cluster to the pacemaker plugin. If either of these are not used in a given cluster, these commands simply report that the resource is not in use so this is safe to run on all clusters. Signed-off-by: Jake Hunsaker --- sos/plugins/pacemaker.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sos/plugins/pacemaker.py b/sos/plugins/pacemaker.py index 59305bbf..84921fbd 100644 --- a/sos/plugins/pacemaker.py +++ b/sos/plugins/pacemaker.py @@ -80,6 +80,11 @@ class Pacemaker(Plugin): "/var/log/cluster/bundles/*/", ]) + self.add_cmd_output([ + "pcs stonith sbd status", + "pcs quorum status" + ]) + self.setup_crm_mon() # crm_report needs to be given a --from "YYYY-MM-DD HH:MM:SS" start -- cgit