`crm_mon -s` prints `"CLUSTER OK"` when there are nodes in `UNCLEAN (online)` status
Issue
crm_mon -sprints"CLUSTER OK"when there are nodes inUNCLEAN (online)status.crm_monshows a problem andcrm_mon -sdoes not.
# crm_mon -1
Stack: corosync
Current DC: node-1 (version 1.1.18-11.el7-2b07d5c5a9) - partition with quorum
Last updated: Tue May 8 16:56:22 2018
Last change: Tue May 8 16:55:58 2018 by root via cibadmin on node-1
2 nodes configured
7 resources configured
Node node-2: UNCLEAN (online)
Online: [ node-1 ]
Active resources:
Clone Set: dlm-clone [dlm]
Started: [ node-1 node-2 ]
Clone Set: clvmd-clone [clvmd]
Started: [ node-1 node-2 ]
Clone Set: clusterfs-clone [clusterfs]
clusterfs (ocf::heartbeat:Filesystem): FAILED node-2
Started: [ node-1 ]
xvm (stonith:fence_xvm): Started node-1
Failed Actions:
* clusterfs_monitor_60000 on node-2 'not running' (7): call=26, status=complete, exitreason='',
last-rc-change='Tue May 8 16:55:40 2018', queued=0ms, exec=0ms
# crm_mon -s
CLUSTER OK: 2 nodes online, 7 resources configured
Environment
- Red Hat Enterprise Linux 6 (with the High Availability Add-on)
- Red Hat Enterprise Linux 7 (with the High Availability Add-on)
pacemaker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
