<div>Hi, I'm running a DRBD 2 node dual-primary cluster for some tests.</div><div>Everything works fine, but my cluster doesn't do file locking.</div><div><br></div><div>this is my cib configuration:</div><div><br>
</div><div>node server1</div><div>node server2</div><div>primitive DLM ocf:pacemaker:controld \</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>op monitor interval="120s"</div><div>primitive DRBD ocf:linbit:drbd \</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>params drbd_resource="r0" \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>operations $id="DRBD-operations" \</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>op monitor interval="20" role="Master" timeout="20" \</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>op monitor interval="30" role="Slave" timeout="20"</div>
<div>primitive FS ocf:heartbeat:Filesystem \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>params device="/dev/drbd1" directory="/drbd" fstype="ocfs2" \</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>op monitor interval="120s"</div>
<div>primitive O2CB ocf:pacemaker:o2cb \</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>op monitor interval="120s"</div><div>ms ms-DRBD DRBD \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>meta resource-stickines="100" notify="true" master-max="2" interleave="true" target-role="Started"</div>
<div>clone cloneDLM DLM \</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>meta globally-unique="false" interleave="true" target-role="Started"</div><div>clone cloneFS FS \</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>meta interleave="true" ordered="true" target-role="Started"</div><div>clone cloneO2CB O2CB \</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>meta globally-unique="false" interleave="true" target-role="Started"</div>
<div>colocation DLM-DRBD inf: cloneDLM ms-DRBD:Master</div><div>colocation FS-O2CB inf: cloneFS cloneO2CB</div><div>colocation O2CB-DLM inf: cloneO2CB cloneDLM</div><div>order DLM-before-O2CB inf: cloneDLM:start cloneO2CB:start</div>
<div>order DRBD-before-DLM inf: ms-DRBD:promote cloneDLM:start</div><div>order O2CB-before-FS inf: cloneO2CB:start cloneFS:start</div><div>property $id="cib-bootstrap-options" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>dc-version="1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd" \</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>cluster-infrastructure="openais" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>expected-quorum-votes="2" \</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>no-quorum-policy="ignore" \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>stonith-enabled="false" \</div><div>
<span class="Apple-tab-span" style="white-space:pre"> </span>default-resource-stickiness="1000"</div><div><br></div><div><br></div><div><br></div><div>What should I do?</div><div><br></div><div>Thanks,</div><div>
Matt</div><div><br></div>