[Pacemaker] Pacemaker and ocfs2 file locking

Matteo motogintom at gmail.com
Mon Jul 12 11:17:28 EDT 2010

Hi, I'm running a DRBD 2 node dual-primary cluster for some tests.
Everything works fine, but my cluster doesn't do file locking.

this is my cib configuration:

node server1
node server2
primitive DLM ocf:pacemaker:controld \
op monitor interval="120s"
primitive DRBD ocf:linbit:drbd \
params drbd_resource="r0" \
operations $id="DRBD-operations" \
op monitor interval="20" role="Master" timeout="20" \
op monitor interval="30" role="Slave" timeout="20"
primitive FS ocf:heartbeat:Filesystem \
params device="/dev/drbd1" directory="/drbd" fstype="ocfs2" \
op monitor interval="120s"
primitive O2CB ocf:pacemaker:o2cb \
op monitor interval="120s"
ms ms-DRBD DRBD \
meta resource-stickines="100" notify="true" master-max="2" interleave="true"
clone cloneDLM DLM \
meta globally-unique="false" interleave="true" target-role="Started"
clone cloneFS FS \
meta interleave="true" ordered="true" target-role="Started"
clone cloneO2CB O2CB \
meta globally-unique="false" interleave="true" target-role="Started"
colocation DLM-DRBD inf: cloneDLM ms-DRBD:Master
colocation FS-O2CB inf: cloneFS cloneO2CB
colocation O2CB-DLM inf: cloneO2CB cloneDLM
order DLM-before-O2CB inf: cloneDLM:start cloneO2CB:start
order DRBD-before-DLM inf: ms-DRBD:promote cloneDLM:start
order O2CB-before-FS inf: cloneO2CB:start cloneFS:start
property $id="cib-bootstrap-options" \
dc-version="1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd" \
cluster-infrastructure="openais" \
expected-quorum-votes="2" \
no-quorum-policy="ignore" \
stonith-enabled="false" \

What should I do?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100712/1f322df3/attachment.html>

More information about the Pacemaker mailing list