<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body ocsi="x">
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">I am building a two node active/passive cluster supporting iSCSITarget,iSCSILogicalUnit and ocf:linbit:drbd.&nbsp;&nbsp; I can hard power down a primary node (i.e. pull the power cord ) and all my resource migrate
 correctly to the other node.&nbsp;&nbsp; However, if I try to migrate the resoruces, put an active node in standby or shut a system down gracefully DRBD compalains to the console that drbd0 is held open by someone (it is wanting to switch to seocndary/secondary)&nbsp;.&nbsp;I
 followed &nbsp;the example here:</font></div>
<div dir="ltr"><a href="http://www.drbd.org/users-guide/s-pacemaker-crm.html">http://www.drbd.org/users-guide/s-pacemaker-crm.html</a>&nbsp;and converted resources from filesystem to iscsi.&nbsp;&nbsp; I can not figure out what is wrong with my order or colocation statements.&nbsp;
 I tried every permutaition of ordering that I could think of.&nbsp;&nbsp; Both systems are running debian/sid with corosync version 1.2.1&nbsp; and pacemaker version loaded&nbsp;from the&nbsp;debian repository.&nbsp;&nbsp;The kernel is version 2.6.34 with liotarget support built in.&nbsp;&nbsp; Any help
 that any could provide would be greatly appreciated.&nbsp;&nbsp; Thank you.&nbsp;&nbsp; Here is my config:</div>
<div dir="ltr"><font face="times new roman"></font>&nbsp;</div>
<div dir="ltr"><font face="times new roman"><br>
node sedona \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; attributes standby=&quot;off&quot;<br>
node toltec \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; attributes standby=&quot;off&quot;<br>
primitive drbdWitnessDisk ocf:linbit:drbd \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params drbd_resource=&quot;witnessdisk&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval=&quot;59s&quot; role=&quot;Master&quot; timeout=&quot;30s&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval=&quot;60s&quot; role=&quot;Slave&quot; timeout=&quot;30s&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op start interval=&quot;0s&quot; timeout=&quot;240s&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op stop interval=&quot;0s&quot; timeout=&quot;100&quot;<br>
primitive ip_iscsi ocf:heartbeat:IPaddr2 \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params ip=&quot;192.168.7.5&quot; nic=&quot;eth0&quot;<br>
primitive iscsiTarget ocf:heartbeat:iSCSITarget \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params implementation=&quot;lio&quot; iqn=&quot;iqn.2003-01.org.linux-iscsi.sedona.x86:sn.e6c51b908732&quot; portals=&quot;192.168.7.5:3260&quot; allowed_initiators=&quot;iqn.1991-05.com.microsoft:black-bear.****.local&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval=&quot;10s&quot; timeout=&quot;10s&quot;<br>
primitive sedona-stonith stonith:external/ipmi \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params hostname=&quot;sedona.********.com&quot; ipaddr=&quot;192.168.7.10&quot; userid=&quot;admin&quot; passwd=&quot;**********&quot; interface=&quot;lan&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op start interval=&quot;0s&quot; timeout=&quot;60s&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta target-role=&quot;Started&quot;<br>
primitive toltec-stonith stonith:external/ssh \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params hostlist=&quot;toltec&quot; livedangerously=&quot;yes&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta target-role=&quot;Started&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op start interval=&quot;0s&quot; timeout=&quot;60s&quot;<br>
primitive witnessDiskLU ocf:heartbeat:iSCSILogicalUnit \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params implementation=&quot;lio&quot; target_iqn=&quot;iqn.2003-01.org.linux-iscsi.sedona.x86:sn.e6c51b908732&quot; lun=&quot;0&quot; path=&quot;/dev/drbd0&quot;<br>
group iscsi witnessDiskLU ip_iscsi iscsiTarget \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta target-role=&quot;Started&quot;<br>
ms ms-drbdWitnessDisk drbdWitnessDisk \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta clone-max=&quot;2&quot; notify=&quot;true&quot; globally-unique=&quot;false&quot; target-role=&quot;Started&quot;<br>
location cli-standby-iscsi iscsi \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rule $id=&quot;cli-standby-rule-iscsi&quot; -inf: #uname eq toltec<br>
location ms-drbdWitnessDisk-master-on-sedona-1 ms-drbdWitnessDisk \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rule $id=&quot;ms-drbdWitnessDisk-master-on-sedona-1-rule&quot; $role=&quot;master&quot; 100: #uname eq sedona<br>
location ms-drbdWitnessDisk-placement ms-drbdWitnessDisk \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rule $id=&quot;ms-drbdWitnessDisk-placement-rule&quot; -inf: #uname ne sedona and #uname ne toltec<br>
location sedona-stonith-on-toltec sedona-stonith \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rule $id=&quot;sedona-stonith-on-toltec-rule&quot; -INF: #uname eq sedona<br>
location toltec-stonith-on-sedona toltec-stonith \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rule $id=&quot;toltec-stonith-on-sedona-rule&quot; -INF: #uname eq toltec<br>
colocation iscsi-on-msdrbdwitnessDisk inf: iscsi ms-drbdWitnessDisk:Master<br>
order iscsi_after_drbd inf: ms-drbdWitnessDisk:promote iscsi:start symmetrical=true<br>
property $id=&quot;cib-bootstrap-options&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dc-version=&quot;1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cluster-infrastructure=&quot;openais&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expected-quorum-votes=&quot;2&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no-quorum-policy=&quot;ignore&quot; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; last-lrm-refresh=&quot;1288316571&quot;<br>
</font></div>
<div dir="ltr"><font face="times new roman"></font>&nbsp;</div>
<div><font size="2" face="Tahoma">Matt Hymowitz</font></div>
<div><font size="2" face="tahoma">GMP Networks</font></div>
<div><font size="2" face="tahoma">520 577-3891 x 11</font></div>
</body>
</html>