On Tuesday 22 July 2008, Thibaut Perrin wrote:
> Hi again,
>
> Thanks for your response :)
>
> I have cleaned up my cib.xml, and made a "new" one (find attached)
> following your advice.
>
> BUT (yes there's a but), the resources are not starting.

according to the status section of your cib, the start operation of your 
drbddisk resource failed on both nodes. as this is the first resource in your 
group also the dependent resources don't start.

so find out why the start of your drbddisk resource failed, cleanup the 
resource and everything should be fine.

>
> no message in the ha-debug or anything, it just does not start :(

hmm ... most of the time people complain about too much logs ;-) ...  do you 
use logd? if not, you should find all messages somewhere in your syslog 
logfiles, depending on your distribution.

Regards,
Andreas

>
> Thanks for any help
>
> On Mon, Jul 21, 2008 at 6:33 PM, Schmidt, Florian <
>
> [EMAIL PROTECTED]> wrote:
> > > -----Ursprüngliche Nachricht-----
> > > Von: [EMAIL PROTECTED] [mailto:
> >
> > [EMAIL PROTECTED]
> >
> > > ha.org] Im Auftrag von Thibaut Perrin
> > > Gesendet: Montag, 21. Juli 2008 15:13
> > > An: General Linux-HA mailing list
> > > Betreff: [Linux-HA] Using DRBD & Heartbeat
> > >
> > > Hi everyone.
> > >
> > > I have a small question / problem about using drbd and heartbeat.
> > >
> > > First, it seems that drbd launch is needed to start heartbeat
> > > correctly.
> >
> > Yes! If you use the drbddisk RA, then drbd needs to be launched by init
> > and already running, when you start heartbeat.
> >
> > > Then I'm using drbd to synchronise the data of a web service (let's say
> > > apache).
> > >
> > > On my first node, I mount the data /dev/drbd0 on /var/www/ for example,
> >
> > and
> >
> > > I want, if the node goes down, that the node2 takes the main hand,
> >
> > meaning
> >
> > > the service IPaddr, the drbd data AND the mount point to be done, so
> > > the
> >
> > web
> >
> > > server can start on the new node.
> >
> > I reviewed your CIB and there are some errors:
> >
> > Your group contains 3 resources in this order: IP, apache2, drbddisk
> > That means at first the IP is startet, then apache and after that the
> > drbd-volume is made primary on that node. I think the better (right?)
> > order would be:
> > 1. make drbd primary on that node (drbddisk-RA)
> > 2. mount the filesystem (Filesystem-OCF-RA)
> > 3. start the IP (IPaddr)
> > 4. start apache2
> >
> > > and finally, I want to be sure that if the heartbeat link goes down,
> > > the dopd (drbd outdated peer daemon) to be sure it's working. I think
> > > I'm needing some help, but I dunno where to start :(
> >
> > This is a good place to start:
> > http://www.drbd.org/users-guide/s-heartbeat-dopd.html
> >
> > > And then, last thing, I have a problem of drbddisk unmanaged resource
> > > on
> >
> > the
> >
> > > node1, does anybody know this ?
> >
> > Hmmmmm, no ;)
> >
> > > Thanks in advance,
> > >
> > > Thibaut Perrin
> >
> > _______________________________________________
> > Linux-HA mailing list
> > [email protected]
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to