[Linux-HA] Can't start DRBD from HeartBeat GUI
Ryan Thomson
ryan at pet.ubc.ca
Fri Jun 20 14:41:14 MDT 2008
rale wrote:
> Hi,
>
> I am new to HA and I am trying to setup DRBD-NFS-HA storage.
>
> My problem is that I cannot start drbd service from heartbeat gui. I can
> start drbd manually, promote primary or demote to secondary, mount
> /dev/drbd0 and access data ... all without problem. But if I try hb_gui ...
> no way.
>
> storage1.domain.org CENTOS 5.1 x64
> storage2.domain.org CENTOS 5.1 i386
>
> I am using DRBD OCF resource. Here is my cib.xml file so you guys can have
> idea what i did.
>
> Did I made mistake by mixing x64 and i386 servers??
>
>
> Thanks for all replies!!
Hi,
I could be wrong here but I'm pretty sure that you have to start the drbd "service" on the nodes before heartbeat and that the heartbeat resource agent isn't meant to start and stop the drbd service, it's meant to control the state of individual drbd devices you've configured with drbd.conf.
I don't use the OCF RA for my drbd devices, I use the LSB RA and that's how it works for me. When my nodes boot, they start the drbd service automatically. When I manually start heartbeat on each node, the drbd resource agents make sure that the drbd devices are set to primary on the nodes that I want based on rsc_location constraints and pingd status.
--Ryan
More information about the Linux-HA
mailing list