[Pacemaker] SLES 11 ocf:heartbeat:drbd versus ocf:linbit:drbd

Oliver Ladner oliver.ladner at acceleris.ch
Wed Jan 27 10:26:49 UTC 2010


Hello,

Can someone please tell me the difference between the resource agents ocf:heartbeat:drbd and ocf:linbit:drbd?

I'm using the legacy heartbeat:drbd agent at the moment, as drbd on SLES 11 is only at 8.2.7. Problem is that the two-node cluster only moves the drbd resource when the active node is manually set to standby, but not when an error occures (shutdown etc.). So I wondered if that problem is related to using ocf:heartbeat:drbd.

This is my configuration:

node www0 \
        attributes standby="false"
node www1 \
        attributes standby="false"
primitive drbd-r0 ocf:heartbeat:drbd \
        params drbd_resource="r0" \
        meta is-managed="true"
primitive fs0-www ocf:heartbeat:Filesystem \
        params fstype="ext3" directory="/srv/www" device="/dev/drbd1" \
        meta target-role="started"
ms ms-drbd-r0 drbd-r0 \
        meta notify="true" clone-max="2" globally-unique="false" target-role="Started" master-max="1" master-node-max="1" clone-node-max="1"
colocation fs0-www-with-drbd inf: fs0-www:Started ms-drbd-r0:Master
order drbd-before-fs0-www : ms-drbd-r0:promote fs0-www:start
property $id="cib-bootstrap-options" \
        dc-version="1.0.3-0080ec086ae9c20ad5c4c3562000c0ad68374f0a" \
        expected-quorum-votes="2" \
        no-quorum-policy="ignore" \
        last-lrm-refresh="1264527564" \
        stonith-enabled="false"

Thanks in advance for every hint.

Oli



More information about the Pacemaker mailing list