Re: [Pacemaker] Several problems with simple virtual-IP config

2011-02-14 Thread Andrew Beekhof
On Wed, Feb 9, 2011 at 12:49 PM, Klaus Darilion wrote: > > > Am 08.02.2011 18:20, schrieb Florian Haas: >> On 02/08/2011 06:03 PM, Klaus Darilion wrote: > >>> Now I put server2 online again: # crm node online server2. >>> That means, server2 is online and has ping connectivity, server1 is >>> onli

Re: [Pacemaker] Several problems with simple virtual-IP config (solved)

2011-02-09 Thread Andrew Beekhof
On Wed, Feb 9, 2011 at 1:36 PM, Klaus Darilion wrote: > Hi! > > I managed to sovle the problem by using the 'ping' OCF resource instead > of 'pingd'. Although pingd is deprecated I thought it should work. It should, but kinda doesn't and its not clear why/how we can fix it. Which is why we ditche

Re: [Pacemaker] Several problems with simple virtual-IP config (solved)

2011-02-09 Thread Klaus Darilion
Hi! I managed to sovle the problem by using the 'ping' OCF resource instead of 'pingd'. Although pingd is deprecated I thought it should work. Anyway, for the records, my config which seems to work now (some tweaking of ping checks is still missing): node server1 \ attributes standby="o

Re: [Pacemaker] Several problems with simple virtual-IP config

2011-02-09 Thread Klaus Darilion
Am 08.02.2011 18:20, schrieb Florian Haas: > On 02/08/2011 06:03 PM, Klaus Darilion wrote: >> Now I put server2 online again: # crm node online server2. >> That means, server2 is online and has ping connectivity, server1 is >> online and doesn't have ping connectivity. But the virtual-IP stayed

Re: [Pacemaker] Several problems with simple virtual-IP config

2011-02-09 Thread Klaus Darilion
forgot to mention that armani=server1 and bulgari=server2 (showing some respect to fashion brands :-) Am 09.02.2011 10:16, schrieb Klaus Darilion: > > > Am 08.02.2011 19:17, schrieb Michael Schwartzkopff: >> On Tuesday 08 February 2011 18:03:31 Klaus Darilion wrote: > ... > >>> 3. Now, server1,

Re: [Pacemaker] Several problems with simple virtual-IP config

2011-02-09 Thread Klaus Darilion
Am 09.02.2011 09:48, schrieb Florian Haas: > On 2011-02-09 09:25, Klaus Darilion wrote: >> Am 08.02.2011 19:17, schrieb Michael Schwartzkopff: Then I changed node server2 to standby: # crm node standby server2. > > > Node server2: standby > Online: [ server1 ] > >

Re: [Pacemaker] Several problems with simple virtual-IP config

2011-02-09 Thread Klaus Darilion
Am 08.02.2011 19:17, schrieb Michael Schwartzkopff: > On Tuesday 08 February 2011 18:03:31 Klaus Darilion wrote: ... >> 3. Now, server1, hosting the virtual-IP, loost connectivity to the ping >> target (I inserted a firewall rule) -> The virtual-IP stayed with server1. >> >> Now I put server2 on

Re: [Pacemaker] Several problems with simple virtual-IP config

2011-02-09 Thread Florian Haas
On 2011-02-09 09:25, Klaus Darilion wrote: > Am 08.02.2011 19:17, schrieb Michael Schwartzkopff: >>> Then I changed node server2 to standby: # crm node standby server2. Node server2: standby Online: [ server1 ] failover-ip (ocf::heartbeat:IPaddr):Star

Re: [Pacemaker] Several problems with simple virtual-IP config

2011-02-09 Thread Klaus Darilion
Am 08.02.2011 18:20, schrieb Florian Haas: > On 02/08/2011 06:03 PM, Klaus Darilion wrote: >> Hi! >> >> I'm a newbie and have a problem with a simple virtual-IP config. I want >> the virtual-IP to be either on server1 or server2, depending on which of >> the server is having network connectivity

Re: [Pacemaker] Several problems with simple virtual-IP config

2011-02-09 Thread Klaus Darilion
Am 08.02.2011 19:17, schrieb Michael Schwartzkopff: >> Then I changed node server2 to standby: # crm node standby server2. >> > >> > >> > Node server2: standby >> > Online: [ server1 ] >> > >> > failover-ip (ocf::heartbeat:IPaddr):Started server1 >> >Clone Set: clonePing

Re: [Pacemaker] Several problems with simple virtual-IP config

2011-02-09 Thread Klaus Darilion
>> 3. Now, server1, hosting the virtual-IP, loost connectivity to the ping >> target (I inserted a firewall rule) -> The virtual-IP stayed with server1. >> >> Now I put server2 online again: # crm node online server2. >> That means, server2 is online and has ping connectivity, server1 is >> online

Re: [Pacemaker] Several problems with simple virtual-IP config

2011-02-08 Thread Michael Schwartzkopff
On Tuesday 08 February 2011 18:03:31 Klaus Darilion wrote: > Hi! > > I'm a newbie and have a problem with a simple virtual-IP config. I want > the virtual-IP to be either on server1 or server2, depending on which of > the server is having network connectivity (ping) to the outside. My > config is:

Re: [Pacemaker] Several problems with simple virtual-IP config

2011-02-08 Thread Florian Haas
On 02/08/2011 06:03 PM, Klaus Darilion wrote: > Hi! > > I'm a newbie and have a problem with a simple virtual-IP config. I want > the virtual-IP to be either on server1 or server2, depending on which of > the server is having network connectivity (ping) to the outside. My > config is: > > node se

[Pacemaker] Several problems with simple virtual-IP config

2011-02-08 Thread Klaus Darilion
Hi! I'm a newbie and have a problem with a simple virtual-IP config. I want the virtual-IP to be either on server1 or server2, depending on which of the server is having network connectivity (ping) to the outside. My config is: node server1 \ attributes standby="off" node server2 \