Comment 4 for bug 369124

Revision history for this message
Duncan Sands (baldrick-free) wrote : Re: [Bug 369124] Re: heartbeat incompatible with drbd8-utils in jaunty

Hi Andres,

> So you are setting up MySQL with DRBD.

the service I'm starting is not mysql, but otherwise it is essentially
the same. Since the drbd disk isn't even considered for mounting, due
to error output from drdbadm, it probably doesn't matter what service
is started.

> I'll try to reproduce this.
> However, I've used this setup, and worked ok. Would you mind modying it
> so it looks similar? I think you'll only need to add the <operations>
> tag:
>
> <primitive class="ocf" id="drbd" provider="heartbeat" type="Filesystem">
> <operations>
> <op id="drbd_mon" interval="120s" name="monitor" timeout="60s"/>
> </operations>
> <instance_attributes id="drbd_inst_attr">
> <attributes>
> <nvpair id="drbd_attr_0" name="device" value="/dev/drbd0"/>
> <nvpair id="drbd_attr_1" name="directory" value="/data"/>
> <nvpair id="drbd_attr_2" name="fstype" value="ext3"/>
> </attributes>
> </instance_attributes>
> </primitive>

Thanks, I will experiment with it next week sometime.

Ciao,

Duncan.