> -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > ha.org] Im Auftrag von Thibaut Perrin > Gesendet: Dienstag, 22. Juli 2008 14:58 > An: General Linux-HA mailing list > Betreff: Re: [Linux-HA] Using DRBD & Heartbeat > > And of course, the cibadmin -Ql attached :D > > On Tue, Jul 22, 2008 at 2:57 PM, Thibaut Perrin <[EMAIL PROTECTED]> 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. > > > > no message in the ha-debug or anything, it just does not start :(
Well, the cib looks fine for me. Did you specify "crm yes" in /etc/ha.d/ha.cf? Are the heartbeat-processes-running after starting it? What does crm_mon -1 say one or two minutes after starting heartbeat? At the moment, I don't have any other ideas. Maybe one of the heartbeat-gurus on the list has ;) > > 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
