<br clear="all"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,geneva,helvetica,arial,sans-serif; font-size: 13px;">Hi<span class="Apple-converted-space"> </span><br>
<br>I am a naive user of pacemaker and have been trying to achieve iSCSI failover on Pacemaker. I have tried couple of things though, which logically looks fine. But, I am not able to get any progress in this. So, I wanted to share this problem with you and help me sort out the problem.<span class="Apple-converted-space"> </span><br>
<br>This is how my CIB file looks like :<span class="Apple-converted-space"> </span><br><br>node $id="1c96735b-59c8-47d9-a2c6-cd2a2731d936" drbd_desk1 \<span class="Apple-converted-space"> </span><br> attributes standby="off"<span class="Apple-converted-space"> </span><br>
node $id="b8c4fa16-df49-45b7-a850-cb9f65af036e" drbd_desk2 \<span class="Apple-converted-space"> </span><br> attributes standby="off"<span class="Apple-converted-space"> </span><br>primitive drbd_test ocf:linbit:drbd \<span class="Apple-converted-space"> </span><br>
params drbd_resource="r0" \<span class="Apple-converted-space"> </span><br> op monitor interval="15s" \<span class="Apple-converted-space"> </span><br> meta target-role="started"<span class="Apple-converted-space"> </span><br>
primitive ip_drbd ocf:heartbeat:IPaddr2 \<span class="Apple-converted-space"> </span><br> params ip="192.168.30.33" nic="eth0" \<span class="Apple-converted-space"> </span><br> meta target-role="started"<span class="Apple-converted-space"> </span><br>
primitive iscsiLU ocf:heartbeat:iSCSILogicalUnit \<span class="Apple-converted-space"> </span><br> params lun="0" path="/dev/drbd0" target_iqn="iqn.2009-10.com.systems:Testme" \<span class="Apple-converted-space"> </span><br>
meta target-role="started"<span class="Apple-converted-space"> </span><br>primitive iscsiTG ocf:heartbeat:iSCSITarget \<span class="Apple-converted-space"> </span><br> params iqn="iqn.2009-10.com.systems:Testme" tid="1" \<span class="Apple-converted-space"> </span><br>
meta target-role="started"<span class="Apple-converted-space"> </span><br>group drbd_group ip_drbd iscsiTG iscsiLU<span class="Apple-converted-space"> </span><br>ms ms_DRBD drbd_test \<span class="Apple-converted-space"> </span><br>
meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"<span class="Apple-converted-space"> </span><br>property $id="cib-bootstrap-options" \<span class="Apple-converted-space"> </span><br>
dc-version="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7" \<span class="Apple-converted-space"> </span><br> cluster-infrastructure="openais" \<span class="Apple-converted-space"> </span><br>
no-quorum-policy="ignore" \<span class="Apple-converted-space"> </span><br> stonith-enabled="false" \<span class="Apple-converted-space"> </span><br> default-resource-stickiness="1000" \<span class="Apple-converted-space"> </span><br>
expected-quorum-votes="2" \<span class="Apple-converted-space"> </span><br> last-lrm-refresh="1256633765"<span class="Apple-converted-space"> </span><br><br><br>crm_mon shows perfectly fine when both the nodes are up and shows all services are running.<span class="Apple-converted-space"> </span><br>
<br>I powered off the master (desk2 at present), desk1 becomes master fine, but the iscsiLU resource is seen 'Stopped' at this machine. I think this service is not migrated here.<span class="Apple-converted-space"> </span><br>
<br>Can anyone guide me through this ?<span class="Apple-converted-space"> </span><br></span></span><br>