<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.12.0">
</HEAD>
<BODY>
Hi,<BR>
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:<BR>
<BR>
<TT>> Thanks, and drbddisk seems to be working great through all of my test</TT><BR>
<TT>> cases so far. So, how do most people configure the DRBD</TT><BR>
<TT>> startup, /etc/rc.d S script or define in inittab? Does it matter?</TT><BR>
<BR>
<TT>> Doug</TT><BR>
<BR>
<TT>> On Fri, 2007-05-11 at 16:23 +0200, Bernhard Limbach wrote:</TT><BR>
<BR>
<TT><FONT COLOR="#737373">> Hi,</FONT></TT><BR>
<TT><FONT COLOR="#737373">> </FONT></TT><BR>
<TT><FONT COLOR="#737373">> yes you are right: the OS has to start drbd per initscript. Normally it then comes up as Secondary/Secondary.</FONT></TT><BR>
<TT><FONT COLOR="#737373">> </FONT></TT><BR>
<TT><FONT COLOR="#737373">> When using drbddisk heartbeat will only control on which node the drbd-device is primary ("Started") or secondary ("Stopped").</FONT></TT><BR>
<TT><FONT COLOR="#737373">> </FONT></TT><BR>
<TT><FONT COLOR="#737373">> Regards,</FONT></TT><BR>
<TT><FONT COLOR="#737373">> Bernhard</FONT></TT><BR>
<TT><FONT COLOR="#737373">> </FONT></TT><BR>
<TT><FONT COLOR="#737373">> -------- Original-Nachricht --------</FONT></TT><BR>
<TT><FONT COLOR="#737373">> Datum: Fri, 11 May 2007 10:08:15 -0400</FONT></TT><BR>
<TT><FONT COLOR="#737373">> Von: Doug Knight <<A HREF="mailto:dknight@wsi.com">dknight@wsi.com</A>></FONT></TT><BR>
<TT><FONT COLOR="#737373">> An: General Linux-HA mailing list <<A HREF="mailto:linux-ha@lists.linux-ha.org">linux-ha@lists.linux-ha.org</A>></FONT></TT><BR>
<TT><FONT COLOR="#737373">> Betreff: [Linux-HA] Prerequisites for using drbddisk script with heartbeat</FONT></TT><BR>
<TT><FONT COLOR="#737373">> </FONT></TT><BR>
<TT><FONT COLOR="#737373">> > Hi,</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > I'm trying to use the drbddisk script supplied with Heartbeat to control</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > my DRBD processes, and was wondering if there are any prerequisites to</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > its use? I was trying to use the drbd OCF script in a master/slave</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > configuration, with no luck, so I'm trying to use the drbddisk script as</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > a fall back configuration (deadlines, you know). It seems the drbddisk</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > script only does "primary" and "secondary" commands, so I take this to</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > imply the OS needs to be the one to start drbd at boot time</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > (i.e. /etc/rc5.d/S40drbd, or something to that effect). If this is so,</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > what monitors whether drbd itself is up and running, and starts it if</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > not from heartbeat?</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > </FONT></TT><BR>
<TT><FONT COLOR="#737373">> > Thanks,</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > Doug Knight</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > WSI Inc.</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > Andover, MA</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > _______________________________________________</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > Linux-HA mailing list</FONT></TT><BR>
<TT><FONT COLOR="#737373">> > <A HREF="mailto:Linux-HA@lists.linux-ha.org">Linux-HA@lists.linux-ha.org</A></FONT></TT><BR>
<TT><FONT COLOR="#737373">> > <A HREF="http://lists.linux-ha.org/mailman/listinfo/linux-ha">http://lists.linux-ha.org/mailman/listinfo/linux-ha</A></FONT></TT><BR>
<TT><FONT COLOR="#737373">> > See also: <A HREF="http://linux-ha.org/ReportingProblems">http://linux-ha.org/ReportingProblems</A></FONT></TT><BR>
<TT><FONT COLOR="#737373">> </FONT></TT><BR>
<TT>_______________________________________________</TT><BR>
<TT>Linux-HA mailing list</TT><BR>
<TT><A HREF="mailto:Linux-HA@lists.linux-ha.org">Linux-HA@lists.linux-ha.org</A></TT><BR>
<TT><A HREF="http://lists.linux-ha.org/mailman/listinfo/linux-ha">http://lists.linux-ha.org/mailman/listinfo/linux-ha</A></TT><BR>
<TT>See also: <A HREF="http://linux-ha.org/ReportingProblems">http://linux-ha.org/ReportingProblems</A></TT><BR>
<BR>
<BR>
</BODY>
</HTML>