Re: [Linux-HA] slave's drbd resource doesn't get promote when master dies

2008-03-27 Thread Dominik Klein
I think I have found out my problem though: I didn't put the resource location stuff for pingd. I added this snippet to the CIB to constrain the master-slave drbd resource to not run on a node with lost connectivity and so far in my tests it seems to work: rsc_location id=drbd_id:connected

Re: [Linux-HA] slave's drbd resource doesn't get promote when master dies

2008-03-26 Thread Jean-Francois Malouin
* Lars Ellenberg [EMAIL PROTECTED] [20080322 06:42]: On Thu, Mar 20, 2008 at 09:59:29PM +0100, Andreas Kurz wrote: On Thu, Mar 20, 2008 at 6:43 PM, Jean-Francois Malouin [EMAIL PROTECTED] wrote: Hi Dominik, * Dominik Klein [EMAIL PROTECTED] [20080320 02:23]: Jean-Francois

Re: [Linux-HA] slave's drbd resource doesn't get promote when master dies

2008-03-22 Thread Lars Ellenberg
On Thu, Mar 20, 2008 at 09:59:29PM +0100, Andreas Kurz wrote: On Thu, Mar 20, 2008 at 6:43 PM, Jean-Francois Malouin [EMAIL PROTECTED] wrote: Hi Dominik, * Dominik Klein [EMAIL PROTECTED] [20080320 02:23]: Jean-Francois Malouin wrote: I thought I had it nailed but still no go.

Re: [Linux-HA] slave's drbd resource doesn't get promote when master dies

2008-03-20 Thread Dominik Klein
Jean-Francois Malouin wrote: I thought I had it nailed but still no go. I'm running a simple two-nodes Active/Passive, Debian/Etch cluster with apache, mysql, heartbeat-2.1.3 and drbd-8.2.5 using mcast on the primary NIC and bcast on secondary GigE interfaces which is also the replication link

Re: [Linux-HA] slave's drbd resource doesn't get promote when master dies

2008-03-20 Thread Jean-Francois Malouin
Hi Dominik, * Dominik Klein [EMAIL PROTECTED] [20080320 02:23]: Jean-Francois Malouin wrote: I thought I had it nailed but still no go. [...] I'm replying late. It's that kind of a day: network failure at home and power failure at work :) The xml looks good to me. glad to know, I'm quite

Re: [Linux-HA] slave's drbd resource doesn't get promote when master dies

2008-03-20 Thread Andreas Kurz
On Thu, Mar 20, 2008 at 6:43 PM, Jean-Francois Malouin [EMAIL PROTECTED] wrote: Hi Dominik, * Dominik Klein [EMAIL PROTECTED] [20080320 02:23]: Jean-Francois Malouin wrote: I thought I had it nailed but still no go. [...] I'm replying late. It's that kind of a day: network

[Linux-HA] slave's drbd resource doesn't get promote when master dies

2008-03-19 Thread Jean-Francois Malouin
I thought I had it nailed but still no go. I'm running a simple two-nodes Active/Passive, Debian/Etch cluster with apache, mysql, heartbeat-2.1.3 and drbd-8.2.5 using mcast on the primary NIC and bcast on secondary GigE interfaces which is also the replication link for drbd. I also setup a serial