diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2018-07-02 13:41:15 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-09-03 16:50:06 +0100 |
commit | 1385628b73f120fef29cc911769774c2050b8918 (patch) | |
tree | 1d91d5d964d12cc5c5074e3fe1f7df345e6405df | |
parent | aac9673a8702ffb1bd8f5e6d2057cfc584b0cde4 (diff) | |
download | sos-1385628b73f120fef29cc911769774c2050b8918.tar.gz |
[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 <jhunsake@redhat.com>
-rw-r--r-- | sos/plugins/pacemaker.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |