<div dir="ltr"><div>Hi,</div><div><br></div><div>[root@vsanqa11 ~]# rpm -qa | grep pcs ; rpm -qa | grep pace ; rpm -qa | grep libqb; rpm -qa | grep coro; rpm -qa | grep cman</div><div>pcs-0.9.90-2.el6.centos.2.noarch</div>
<div>pacemaker-cli-1.1.10-14.el6_5.3.x86_64</div><div>pacemaker-libs-1.1.10-14.el6_5.3.x86_64</div><div>pacemaker-1.1.10-14.el6_5.3.x86_64</div><div>pacemaker-cluster-libs-1.1.10-14.el6_5.3.x86_64</div><div>libqb-devel-0.16.0-2.el6.x86_64</div>
<div>libqb-0.16.0-2.el6.x86_64</div><div>corosynclib-1.4.1-17.el6_5.1.x86_64</div><div>corosync-1.4.1-17.el6_5.1.x86_64</div><div>cman-3.0.12.1-59.el6_5.2.x86_64</div><div>[root@vsanqa11 ~]# uname -a</div><div>Linux vsanqa11 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux</div>
<div>[root@vsanqa11 ~]# cat /etc/redhat-release</div><div>CentOS release 6.3 (Final)</div><div><br></div><div><br></div><div>Created 27 resources </div><div><br></div><div>[root@vsanqa11 ~]# pcs status</div><div>Cluster name: vsanqa11_12</div>
<div>Last updated: Wed Jul 9 01:30:05 2014</div><div>Last change: Wed Jul 9 01:24:12 2014 via cibadmin on vsanqa11</div><div>Stack: cman</div><div>Current DC: vsanqa11 - partition with quorum</div><div>Version: 1.1.10-14.el6_5.3-368c726</div>
<div>2 Nodes configured</div><div>54 Resources configured</div><div><br></div><div><br></div><div>Online: [ vsanqa11 vsanqa12 ]</div><div><br></div><div>Full list of resources:</div><div><br></div><div> Master/Slave Set: ms-0feba438-0f16-4de5-bf18-9d576cf4dd26 [vha-0feba438-0f16-4de5-bf18-9d576cf4dd26]</div>
<div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-329ad1bd-2f9c-483d-a052-270731aefd70 [vha-329ad1bd-2f9c-483d-a052-270731aefd70]</div><div> Masters: [ vsanqa12 ]</div>
<div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-b5b9e8dc-87c9-4229-b425-870d1bc1f107 [vha-b5b9e8dc-87c9-4229-b425-870d1bc1f107]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div>
<div> Master/Slave Set: ms-56112cc8-4c56-4454-84ea-ba9b7b82dde7 [vha-56112cc8-4c56-4454-84ea-ba9b7b82dde7]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-20fd5ed6-8e72-4a6b-9b1a-73bd96e1f253 [vha-20fd5ed6-8e72-4a6b-9b1a-73bd96e1f253]</div>
<div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-77af4d7e-d78c-4799-a24a-7536d2cccc25 [vha-77af4d7e-d78c-4799-a24a-7536d2cccc25]</div><div> Masters: [ vsanqa12 ]</div>
<div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-913f6e7e-932f-4c3f-9e7f-a70c4153b4c7 [vha-913f6e7e-932f-4c3f-9e7f-a70c4153b4c7]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div>
<div> Master/Slave Set: ms-3d3ae48c-1955-4c64-b951-f2a2621a70b7 [vha-3d3ae48c-1955-4c64-b951-f2a2621a70b7]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-a8101da1-636f-483b-90a9-9a18fd5a5793 [vha-a8101da1-636f-483b-90a9-9a18fd5a5793]</div>
<div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-290e0fdd-19c6-4b40-8046-0fa2c94a7320 [vha-290e0fdd-19c6-4b40-8046-0fa2c94a7320]</div><div> Masters: [ vsanqa12 ]</div>
<div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-8341368b-6b6a-4bf0-bb0a-38b32ffec2f4 [vha-8341368b-6b6a-4bf0-bb0a-38b32ffec2f4]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div>
<div> Master/Slave Set: ms-6695f479-0d21-4388-9540-a440c32e0944 [vha-6695f479-0d21-4388-9540-a440c32e0944]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-85fe517e-9a2b-4ac1-b6e1-e4da57b49969 [vha-85fe517e-9a2b-4ac1-b6e1-e4da57b49969]</div>
<div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-5b9adf5c-3bb5-4353-8c5f-a3e1508f7c4a [vha-5b9adf5c-3bb5-4353-8c5f-a3e1508f7c4a]</div><div> Masters: [ vsanqa12 ]</div>
<div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-57b4b7a1-d3bb-4b94-b8dc-8a84e4a3de03 [vha-57b4b7a1-d3bb-4b94-b8dc-8a84e4a3de03]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div>
<div> Master/Slave Set: ms-b4fbac14-ef19-4861-93e5-14574e101484 [vha-b4fbac14-ef19-4861-93e5-14574e101484]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-ec4836d3-b768-4abd-83bf-3a61143346ce [vha-ec4836d3-b768-4abd-83bf-3a61143346ce]</div>
<div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-28d6db1a-bdba-4fc0-b74c-ef74548cf714 [vha-28d6db1a-bdba-4fc0-b74c-ef74548cf714]</div><div> Masters: [ vsanqa12 ]</div>
<div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-c6cfd538-17f4-4c4b-b259-731e2cac75f3 [vha-c6cfd538-17f4-4c4b-b259-731e2cac75f3]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div>
<div> Master/Slave Set: ms-06d19988-7549-4882-b780-fd598714ec7f [vha-06d19988-7549-4882-b780-fd598714ec7f]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-ec105b52-42b1-42f5-931f-249fbc2f16c4 [vha-ec105b52-42b1-42f5-931f-249fbc2f16c4]</div>
<div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-6cc9a97b-9714-4cab-bf52-103c46b8593f [vha-6cc9a97b-9714-4cab-bf52-103c46b8593f]</div><div> Masters: [ vsanqa12 ]</div>
<div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-b80b4a69-67e2-43bd-8eba-f6c18f78d706 [vha-b80b4a69-67e2-43bd-8eba-f6c18f78d706]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div>
<div> Master/Slave Set: ms-24817d3c-98e0-4408-9bce-67d8bb2495db [vha-24817d3c-98e0-4408-9bce-67d8bb2495db]</div><div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-a6d08422-8592-42cf-995a-8c72c6368cd2 [vha-a6d08422-8592-42cf-995a-8c72c6368cd2]</div>
<div> Masters: [ vsanqa12 ]</div><div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-100f3ec9-03aa-476c-9569-60463cc2ac8e [vha-100f3ec9-03aa-476c-9569-60463cc2ac8e]</div><div> Masters: [ vsanqa12 ]</div>
<div> Slaves: [ vsanqa11 ]</div><div> Master/Slave Set: ms-7ec2decb-5426-4ecf-a60f-9996ea0ca445 [vha-7ec2decb-5426-4ecf-a60f-9996ea0ca445]</div><div> Masters: [ vsanqa11 ]</div><div> Slaves: [ vsanqa12 ]</div>
<div><br></div><div><br></div><div>[root@vsanqa11 ~]# pcs resource create vha-3de5ab16-9917-4b90-93d2-7b04fc71879c ocf:heartbeat:vgc-cm-agent.ocf cluster_uuid=3de5ab16-9917-4b90-93d2-7b04fc71879c op monitor role="Master" interval=30s timeout=100s op monitor role="Master" interval=30s timeout=100s</div>
<div><br></div><div><br></div><div>pcs status output includes </div><div> vha-3de5ab16-9917-4b90-93d2-7b04fc71879c (ocf::heartbeat:vgc-cm-agent.ocf): Started vsanqa11</div><div><br></div><div><br></div><div>[root@vsanqa11 ~]# pcs resource master ms-3de5ab16-9917-4b90-93d2-7b04fc71879c vha-3de5ab16-9917-4b90-93d2-7b04fc71879c meta clone-max=2 globally-unique=false target-role=started</div>
<div>Error: unable to locate command: /usr/sbin/cibadmin</div><div><br></div><div><br></div><div>Deleted one of the resources that was created successfully and reran above command to create master resource ms-3de5ab16-9917-4b90-93d2-7b04fc71879c and it worked.</div>
<div><br></div><div>Tried this multiple times and each time saw the same behavior</div><div><br></div><div>Attached is the debug output for the above command. This output contains string "<span style="color:rgb(0,0,0);white-space:pre-wrap">unable to locate command: /usr/sbin/cibadmin" </span></div>
<div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Regards,</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"> kiran</span></div>
<div><br></div><div><br></div></div>