[Pacemaker] inconsistence in crm_mon and crm resource show
Janec, Jozef
jozef.janec at hp.com
Wed Mar 21 09:42:26 UTC 2012
Hello All,
I have easy configuration of 2 node cluster:
b400ple0:(/root/home/root)(root)#crm configure show
node b300ple0
node b400ple0
primitive rs_nw_cijj7 ocf:heartbeat:IPaddr \
operations $id="rs_nw_cijj7-operations" \
op monitor interval="5s" timeout="20s" \
params ip="10.226.130.80"
primitive rs_nw_dbjj7 ocf:heartbeat:IPaddr \
operations $id="rs_nw_dbjj7-operations" \
op monitor interval="5s" timeout="20s" \
params ip="10.226.128.80" \
meta target-role="Started"
primitive sbd_fense_SHARED2 stonith:external/sbd \
operations $id="sbd_fense-operations_b400" \
op monitor interval="15" timeout="15" start-delay="15"
property $id="cib-bootstrap-options" \
dc-version="1.1.5-5bd2b9154d7d9f86d7f56fe0a74072a5a6590c60" \
cluster-infrastructure="openais" \
default-resource-stickiness="1000000" \
is-managed-default="true" \
expected-quorum-votes="2" \
no-quorum-policy="ignore"
situation was:
b400ple0:(/root/home/root)(root)#crm_mon -1
============
Last updated: Fri Mar 23 05:33:46 2012
Stack: openais
Current DC: b400ple0 - partition with quorum
Version: 1.1.5-5bd2b9154d7d9f86d7f56fe0a74072a5a6590c60
2 Nodes configured, 2 expected votes
3 Resources configured.
============
Online: [ b300ple0 b400ple0 ]
rs_nw_cijj7 (ocf::heartbeat:IPaddr): Started b300ple0
sbd_fense_SHARED2 (stonith:external/sbd): Started b400ple0
rs_nw_dbjj7 (ocf::heartbeat:IPaddr): Started b300ple0
I have rebooted b300ple0 and now I have
Reconnecting...b400ple0:(/root/home/root)(root)#crm_mon -1 -n -r
============
Last updated: Fri Mar 23 05:37:59 2012
Stack: openais
Current DC: b400ple0 - partition WITHOUT quorum
Version: 1.1.5-5bd2b9154d7d9f86d7f56fe0a74072a5a6590c60
2 Nodes configured, 2 expected votes
3 Resources configured.
============
Node b300ple0: UNCLEAN (offline)
rs_nw_dbjj7 (ocf::heartbeat:IPaddr) Started
rs_nw_cijj7 (ocf::heartbeat:IPaddr) Started
Node b400ple0: online
sbd_fense_SHARED2 (stonith:external/sbd) Started
Inactive resources:
rs_nw_cijj7 (ocf::heartbeat:IPaddr): Started b300ple0
rs_nw_dbjj7 (ocf::heartbeat:IPaddr): Started b300ple0
b400ple0:(/root/home/root)(root)#crm resource show
rs_nw_cijj7 (ocf::heartbeat:IPaddr) Started
sbd_fense_SHARED2 (stonith:external/sbd) Started
rs_nw_dbjj7 (ocf::heartbeat:IPaddr) Started
b400ple0:(/root/home/root)(root)#
b400ple0:(/root/home/root)(root)#/usr/sbin/crm_resource -W -r rs_nw_cijj7
resource rs_nw_cijj7 is running on: b300ple0
b400ple0:(/root/home/root)(root)#
but b300ple0 is down
b400ple0:(/root/home/root)(root)#/usr/sbin/crm_verify -LV
crm_verify[11645]: 2012/03/23_05:39:00 WARN: pe_fence_node: Node b300ple0 will be fenced because it is un-expectedly down
crm_verify[11645]: 2012/03/23_05:39:00 WARN: determine_online_status: Node b300ple0 is unclean
crm_verify[11645]: 2012/03/23_05:39:00 WARN: custom_action: Action rs_nw_cijj7_stop_0 on b300ple0 is unrunnable (offline)
crm_verify[11645]: 2012/03/23_05:39:00 WARN: custom_action: Marking node b300ple0 unclean
crm_verify[11645]: 2012/03/23_05:39:00 WARN: custom_action: Action rs_nw_dbjj7_stop_0 on b300ple0 is unrunnable (offline)
crm_verify[11645]: 2012/03/23_05:39:00 WARN: custom_action: Marking node b300ple0 unclean
crm_verify[11645]: 2012/03/23_05:39:00 WARN: stage6: Scheduling Node b300ple0 for STONITH
Warnings found during check: config may not be valid
Any idea what can be behind?
Best regards,
Jozef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120321/c85aba7c/attachment-0003.html>
More information about the Pacemaker
mailing list