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. no message in the ha-debug or anything, it just does not start :( 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
