[DRBD-user] Best practice for starting drbd by OS under drbddisk heartbeat control

Doug Knight dknight at wsi.com
Mon May 14 15:01:56 CEST 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi,
I recently posted the following email on the HA-Linux email list, and
after considering the topic of the email decided that it is probaly more
appropriate on the DRBD-user list. So here it is:

> Thanks, and drbddisk seems to be working great through all of my test
> cases so far. So, how do most people configure the DRBD
> startup, /etc/rc.d S script or define in inittab? Does it matter?

> Doug

> On Fri, 2007-05-11 at 16:23 +0200, Bernhard Limbach wrote:

> Hi,
> 
> yes you are right: the OS has to start drbd per initscript. Normally
it then comes up as Secondary/Secondary.
> 
> When using drbddisk heartbeat will only control on which node the
drbd-device is primary ("Started") or secondary ("Stopped").
> 
> Regards,
> Bernhard
> 
> -------- Original-Nachricht --------
> Datum: Fri, 11 May 2007 10:08:15 -0400
> Von: Doug Knight <dknight at wsi.com>
> An: General Linux-HA mailing list <linux-ha at lists.linux-ha.org>
> Betreff: [Linux-HA] Prerequisites for using drbddisk script with
heartbeat
> 
> > Hi,
> > I'm trying to use the drbddisk script supplied with Heartbeat to
control
> > my DRBD processes, and was wondering if there are any prerequisites
to
> > its use? I was trying to use the drbd OCF script in a master/slave
> > configuration, with no luck, so I'm trying to use the drbddisk
script as
> > a fall back configuration (deadlines, you know). It seems the
drbddisk
> > script only does "primary" and "secondary" commands, so I take this
to
> > imply the OS needs to be the one to start drbd at boot time
> > (i.e. /etc/rc5.d/S40drbd, or something to that effect). If this is
so,
> > what monitors whether drbd itself is up and running, and starts it
if
> > not from heartbeat?
> > 
> > Thanks,
> > Doug Knight
> > WSI Inc.
> > Andover, MA
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> 
_______________________________________________
Linux-HA mailing list
Linux-HA at lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20070514/1164a069/attachment.htm>


More information about the drbd-user mailing list