<br clear="all"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: &#39;Times New Roman&#39;; 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=&quot;1c96735b-59c8-47d9-a2c6-cd2a2731d936&quot; drbd_desk1 \<span class="Apple-converted-space"> </span><br>        attributes standby=&quot;off&quot;<span class="Apple-converted-space"> </span><br>

node $id=&quot;b8c4fa16-df49-45b7-a850-cb9f65af036e&quot; drbd_desk2 \<span class="Apple-converted-space"> </span><br>        attributes standby=&quot;off&quot;<span class="Apple-converted-space"> </span><br>primitive drbd_test ocf:linbit:drbd \<span class="Apple-converted-space"> </span><br>

        params drbd_resource=&quot;r0&quot; \<span class="Apple-converted-space"> </span><br>        op monitor interval=&quot;15s&quot; \<span class="Apple-converted-space"> </span><br>        meta target-role=&quot;started&quot;<span class="Apple-converted-space"> </span><br>

primitive ip_drbd ocf:heartbeat:IPaddr2 \<span class="Apple-converted-space"> </span><br>        params ip=&quot;192.168.30.33&quot; nic=&quot;eth0&quot; \<span class="Apple-converted-space"> </span><br>        meta target-role=&quot;started&quot;<span class="Apple-converted-space"> </span><br>

primitive iscsiLU ocf:heartbeat:iSCSILogicalUnit \<span class="Apple-converted-space"> </span><br>        params lun=&quot;0&quot; path=&quot;/dev/drbd0&quot; target_iqn=&quot;iqn.2009-10.com.systems:Testme&quot; \<span class="Apple-converted-space"> </span><br>

        meta target-role=&quot;started&quot;<span class="Apple-converted-space"> </span><br>primitive iscsiTG ocf:heartbeat:iSCSITarget \<span class="Apple-converted-space"> </span><br>        params iqn=&quot;iqn.2009-10.com.systems:Testme&quot; tid=&quot;1&quot; \<span class="Apple-converted-space"> </span><br>

        meta target-role=&quot;started&quot;<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=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot;<span class="Apple-converted-space"> </span><br>property $id=&quot;cib-bootstrap-options&quot; \<span class="Apple-converted-space"> </span><br>

        dc-version=&quot;1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7&quot; \<span class="Apple-converted-space"> </span><br>        cluster-infrastructure=&quot;openais&quot; \<span class="Apple-converted-space"> </span><br>

        no-quorum-policy=&quot;ignore&quot; \<span class="Apple-converted-space"> </span><br>        stonith-enabled=&quot;false&quot; \<span class="Apple-converted-space"> </span><br>        default-resource-stickiness=&quot;1000&quot; \<span class="Apple-converted-space"> </span><br>

        expected-quorum-votes=&quot;2&quot; \<span class="Apple-converted-space"> </span><br>        last-lrm-refresh=&quot;1256633765&quot;<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 &#39;Stopped&#39; 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>