<div dir="ltr"><div><br></div><div>[root@vsan-test2 ~]# rpm -qa | grep pcs</div><div>pcs-0.9.26-10.el6.noarch</div><div>[root@vsan-test2 ~]# rpm -qa | grep ccs</div><div>ccs-0.16.2-63.el6.x86_64</div><div>[root@vsan-test2 ~]# rpm -qa | grep pace</div>
<div>pacemaker-libs-1.1.8-7.el6.x86_64</div><div>pacemaker-cli-1.1.8-7.el6.x86_64</div><div>pacemaker-1.1.8-7.el6.x86_64</div><div>pacemaker-cluster-libs-1.1.8-7.el6.x86_64</div><div>[root@vsan-test2 ~]# rpm -qa | grep coro</div>
<div>corosync-1.4.1-15.el6.x86_64</div><div>corosynclib-1.4.1-15.el6.x86_64</div><div>[root@vsan-test2 ~]# rpm -qa | grep cman</div><div>cman-3.0.12.1-49.el6.x86_64</div><div>[root@vsan-test2 ~]# cat /etc/redhat-release</div>
<div>Red Hat Enterprise Linux Server release 6.4 (Santiago)</div><div>[root@vsan-test2 ~]# uname -a</div><div>Linux vsan-test2 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux</div>
<div><br></div><div>[root@vsan-test2 ~]# pcs status</div><div>Last updated: Tue May 20 08:30:47 2014</div><div>Last change: Tue May 20 08:30:43 2014 via cibadmin on vsan-test2</div><div>Stack: cman</div><div>Current DC: vsan-test2 - partition with quorum</div>
<div>Version: 1.1.8-7.el6-394e906</div><div>2 Nodes configured, unknown expected votes</div><div>2 Resources configured.</div><div><br></div><div><br></div><div>Online: [ vsan-test1 vsan-test2 ]</div><div><br></div><div>Full list of resources:</div>
<div><br></div><div> Master/Slave Set: ms-3e6a5f58-d95e-461f-a376-a5064cecf144 [vha-3e6a5f58-d95e-461f-a376-a5064cecf144]</div><div> Masters: [ vsan-test1 ]</div><div> Slaves: [ vsan-test2 ]</div><div><br></div><div>
<br></div><div>[root@vsan-test2 ~]# pcs config</div><div>Corosync Nodes:</div><div><br></div><div>Pacemaker Nodes:</div><div> vsan-test1 vsan-test2</div><div><br></div><div>Resources:</div><div><br></div><div>Location Constraints:</div>
<div> Resource: vha-3e6a5f58-d95e-461f-a376-a5064cecf144</div><div> Enabled on: vsan-test2</div><div> Enabled on: vsan-test1</div><div> Resource: ms-3e6a5f58-d95e-461f-a376-a5064cecf144</div><div> Enabled on: vsan-test2</div>
<div> Enabled on: vsan-test1</div><div>Ordering Constraints:</div><div>Colocation Constraints:</div><div><br></div><div>Cluster Properties:</div><div> dc-version: 1.1.8-7.el6-394e906</div><div> cluster-infrastructure: cman</div>
<div> last-lrm-refresh: 1400492826</div><div> stonith-enabled: false</div><div> no-quorum-policy: ignore</div><div><br></div><div><br></div><div><br></div><div><br></div><div>[root@vsan-test2 ~]# pcs resource delete ms-3e6a5f58-d95e-461f-a376-a5064cecf144</div>
<div>ERROR: Unable to update cib</div><div>Call cib_replace failed (-1003): Update does not conform to the configured schema</div><div><cib admin_epoch="0" cib-last-written="Tue May 20 08:30:43 2014" crm_feature_set="3.0.7" dc-uuid="vsan-test2" epoch="7893" have-quorum="1" num_updates="1" update-client="cibadmin" update-origin="vsan-test2" validate-with="pacemaker-1.2"></div>
<div> <configuration></div><div> <crm_config></div><div> <cluster_property_set id="cib-bootstrap-options"></div><div> <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.8-7.el6-394e906"/></div>
<div> <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="cman"/></div><div> <nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1400492826"/></div>
<div> <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/></div><div> <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/></div>
<div> </cluster_property_set></div><div> </crm_config></div><div> <nodes></div><div> <node id="vsan-test1" uname="vsan-test1"/></div><div> <node id="vsan-test2" uname="vsan-test2"/></div>
<div> </nodes></div><div> <resources/></div><div> <constraints></div><div> <rsc_location id="location-vha-3e6a5f58-d95e-461f-a376-a5064cecf144-vsan-test2-INFINITY" node="vsan-test2" rsc="vha-3e6a5f58-d95e-461f-a376-a5064cecf144" score="INFINITY"/></div>
<div> <rsc_location id="location-vha-3e6a5f58-d95e-461f-a376-a5064cecf144-vsan-test1-INFINITY" node="vsan-test1" rsc="vha-3e6a5f58-d95e-461f-a376-a5064cecf144" score="INFINITY"/></div>
<div> <rsc_location id="location-ms-3e6a5f58-d95e-461f-a376-a5064cecf144-vsan-test2-INFINITY" node="vsan-test2" rsc="ms-3e6a5f58-d95e-461f-a376-a5064cecf144" score="INFINITY"/></div>
<div> <rsc_location id="location-ms-3e6a5f58-d95e-461f-a376-a5064cecf144-vsan-test1-INFINITY" node="vsan-test1" rsc="ms-3e6a5f58-d95e-461f-a376-a5064cecf144" score="INFINITY"/></div>
<div> </constraints></div><div> <rsc_defaults></div><div> <meta_attributes id="rsc_defaults-options"></div><div> <nvpair id="rsc_defaults-options-resource-stickiness" name="resource-stickiness" value="100"/></div>
<div> </meta_attributes></div><div> </rsc_defaults></div><div> </configuration></div><div> <status></div><div> <node_state crm-debug-origin="do_update_resource" crmd="online" expected="member" id="vsan-test2" in_ccm="true" join="member" uname="vsan-test2"></div>
<div> <transient_attributes id="vsan-test2"></div><div> <instance_attributes id="status-vsan-test2"></div><div> <nvpair id="status-vsan-test2-probe_complete" name="probe_complete" value="true"/></div>
<div> <nvpair id="status-vsan-test2-master-vha-3e6a5f58-d95e-461f-a376-a5064cecf144" name="master-vha-3e6a5f58-d95e-461f-a376-a5064cecf144" value="3"/></div><div> </instance_attributes></div>
<div> </transient_attributes></div><div> <lrm id="vsan-test2"></div><div> <lrm_resources></div><div> <lrm_resource id="vha-3e6a5f58-d95e-461f-a376-a5064cecf144" type="vgc-cm-agent.ocf" class="ocf" provider="heartbeat"></div>
<div> <lrm_rsc_op id="vha-3e6a5f58-d95e-461f-a376-a5064cecf144_last_0" operation_key="vha-3e6a5f58-d95e-461f-a376-a5064cecf144_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="9:1:0:5916460b-c0c3-4bd0-9e9a-845dc8745f2c" transition-magic="0:0;9:1:0:5916460b-c0c3-4bd0-9e9a-845dc8745f2c" call-id="9" rc-code="0" op-status="0" interval="0" last-run="1400599846" last-rc-change="0" exec-time="108" queue-time="0" op-digest="7bb186e694658d06bedbfcf9fb962098"/></div>
<div> <lrm_rsc_op id="vha-3e6a5f58-d95e-461f-a376-a5064cecf144_monitor_31000" operation_key="vha-3e6a5f58-d95e-461f-a376-a5064cecf144_monitor_31000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="7:2:0:5916460b-c0c3-4bd0-9e9a-845dc8745f2c" transition-magic="0:0;7:2:0:5916460b-c0c3-4bd0-9e9a-845dc8745f2c" call-id="12" rc-code="0" op-status="0" interval="31000" last-rc-change="0" exec-time="57" queue-time="0" op-digest="e3a7ce7334d52de15f8b2480d2d72ad3"/></div>
<div> </lrm_resource></div><div> </lrm_resources></div><div> </lrm></div><div> </node_state></div><div> <node_state crm-debug-origin="do_update_resource" crmd="online" expected="member" id="vsan-test1" in_ccm="true" join="member" uname="vsan-test1"></div>
<div> <transient_attributes id="vsan-test1"></div><div> <instance_attributes id="status-vsan-test1"></div><div> <nvpair id="status-vsan-test1-probe_complete" name="probe_complete" value="true"/></div>
<div> <nvpair id="status-vsan-test1-master-vha-3e6a5f58-d95e-461f-a376-a5064cecf144" name="master-vha-3e6a5f58-d95e-461f-a376-a5064cecf144" value="4"/></div><div> </instance_attributes></div>
<div> </transient_attributes></div><div> <lrm id="vsan-test1"></div><div> <lrm_resources></div><div> <lrm_resource id="vha-3e6a5f58-d95e-461f-a376-a5064cecf144" type="vgc-cm-agent.ocf" class="ocf" provider="heartbeat"></div>
<div> <lrm_rsc_op id="vha-3e6a5f58-d95e-461f-a376-a5064cecf144_last_0" operation_key="vha-3e6a5f58-d95e-461f-a376-a5064cecf144_promote_0" operation="promote" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="10:2:0:5916460b-c0c3-4bd0-9e9a-845dc8745f2c" transition-magic="0:0;10:2:0:5916460b-c0c3-4bd0-9e9a-845dc8745f2c" call-id="12" rc-code="0" op-status="0" interval="0" last-run="1400599846" last-rc-change="0" exec-time="171" queue-time="0" op-digest="7bb186e694658d06bedbfcf9fb962098"/></div>
<div> </lrm_resource></div><div> </lrm_resources></div><div> </lrm></div><div> </node_state></div><div> </status></div><div></cib></div><div><br></div><div><br>
</div><div><br></div><div>[root@vsan-test2 ~]# pcs status</div><div>Last updated: Tue May 20 08:32:42 2014</div><div>Last change: Tue May 20 08:30:43 2014 via cibadmin on vsan-test2</div><div>Stack: cman</div><div>Current DC: vsan-test2 - partition with quorum</div>
<div>Version: 1.1.8-7.el6-394e906</div><div>2 Nodes configured, unknown expected votes</div><div>2 Resources configured.</div><div><br></div><div><br></div><div>Online: [ vsan-test1 vsan-test2 ]</div><div><br></div><div>Full list of resources:</div>
<div><br></div><div> Master/Slave Set: ms-3e6a5f58-d95e-461f-a376-a5064cecf144 [vha-3e6a5f58-d95e-461f-a376-a5064cecf144]</div><div> Masters: [ vsan-test1 ]</div><div> Slaves: [ vsan-test2 ]</div><div><br></div><div>
[root@vsan-test2 ~]# pcs resource unclone ms-3e6a5f58-d95e-461f-a376-a5064cecf144</div><div>Error: could not find resource or group: ms-3e6a5f58-d95e-461f-a376-a5064cecf144</div><div><br></div><div><br></div><div><br></div>
<div>[root@vsan-test2 ~]# pcs status</div><div>Last updated: Tue May 20 08:33:07 2014</div><div>Last change: Tue May 20 08:30:43 2014 via cibadmin on vsan-test2</div><div>Stack: cman</div><div>Current DC: vsan-test2 - partition with quorum</div>
<div>Version: 1.1.8-7.el6-394e906</div><div>2 Nodes configured, unknown expected votes</div><div>2 Resources configured.</div><div><br></div><div><br></div><div>Online: [ vsan-test1 vsan-test2 ]</div><div><br></div><div>Full list of resources:</div>
<div><br></div><div> Master/Slave Set: ms-3e6a5f58-d95e-461f-a376-a5064cecf144 [vha-3e6a5f58-d95e-461f-a376-a5064cecf144]</div><div> Masters: [ vsan-test1 ]</div><div> Slaves: [ vsan-test2 ]</div><div><br></div><div>
[root@vsan-test2 ~]# pcs resource delete vha-3e6a5f58-d95e-461f-a376-a5064cecf144</div><div>Removing Constraint - location-ms-3e6a5f58-d95e-461f-a376-a5064cecf144-vsan-test2-INFINITY</div><div>Removing Constraint - location-ms-3e6a5f58-d95e-461f-a376-a5064cecf144-vsan-test1-INFINITY</div>
<div>Removing Constraint - location-vha-3e6a5f58-d95e-461f-a376-a5064cecf144-vsan-test2-INFINITY</div><div>Removing Constraint - location-vha-3e6a5f58-d95e-461f-a376-a5064cecf144-vsan-test1-INFINITY</div><div>Deleting Resource - vha-3e6a5f58-d95e-461f-a376-a5064cecf144</div>
<div>[root@vsan-test2 ~]# pcs status</div><div>Last updated: Tue May 20 08:33:22 2014</div><div>Last change: Tue May 20 08:33:19 2014 via cibadmin on vsan-test2</div><div>Stack: cman</div><div>Current DC: vsan-test2 - partition with quorum</div>
<div>Version: 1.1.8-7.el6-394e906</div><div>2 Nodes configured, unknown expected votes</div><div>0 Resources configured.</div><div><br></div><div><br></div><div>Online: [ vsan-test1 vsan-test2 ]</div><div><br></div><div>Full list of resources:</div>
<div><br></div><div> vha-3e6a5f58-d95e-461f-a376-a5064cecf144 (ocf::heartbeat:vgc-cm-agent.ocf): ORPHANED Started vsan-test2 <<<<<</div><div><br></div><div><br></div><div><br></div><div><br></div>
<div>Regards,</div><div> Kiran</div><div><br></div></div>