[Pacemaker] OCFS and DRBD constraints?

Michael Schwartzkopff misch at multinet.de
Fri Jul 17 07:48:03 UTC 2009


Hi,

primitive resDRBD ocf:linbit:drbd \
        operations $id="resDRBD-operations" \
        op monitor interval="20" role="Slave" timeout="20" start-delay="1m" \
        op monitor interval="10" role="Master" timeout="20" start-delay="1m" \
        params drbd_resource="r0" \
        meta $id="resDRBD-meta_attributes"
primitive resOCFS2 ocf:heartbeat:Filesystem \
        operations $id="resOCFS2-operations" \
        op monitor interval="20" timeout="40" start-delay="10" \
        params device="/dev/drbd0" directory="/mnt" fstype="ocfs2"
ms msDRBD resDRBD \
        meta clone-max="2" master-max="2" notify="true"
clone cloneOCFS2 resOCFS2 \
        meta $id="cloneOCFS2-meta_attributes"

I configured a two-primary DRBD and a clone OCFS resource. If I start it 
manually everything works fine. What would be the correct contraints for this 
construction? Thanks for any hint.

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42




More information about the Pacemaker mailing list