Re: [Pacemaker] First confused (then enlightened ? :)

2011-02-14 Thread Andrew Beekhof
On Mon, Feb 14, 2011 at 4:06 PM, Carlos G Mendioroz wrote: > Thank you for all your comments. > > Andrew Beekhof @ 14/02/2011 05:44 -0300 dixit: >> >> On Sun, Feb 13, 2011 at 12:56 PM, Carlos G Mendioroz >> wrote: >>> >>> Hi, >>> I'm trying to understand how to best implement a HA EE service. >>>

Re: [Pacemaker] Config Sanity Check - Postgres, OCFS2 etc

2011-02-14 Thread David Morton
Thanks Serge, I have changed the resource agents as you have suggested and everything appears to be working fine ... example below from a 'crm configure show'. Still looking for advice on the other items anyone ? primitive PGSQL_DEPOT ocf:heartbeat:pgsql \ params pgdata="/DB_DEPOT/dep

Re: [Pacemaker] [Linux-HA] Solved: SLES 11 HAE SP1 Signon to CIB Failed

2011-02-14 Thread Tim Serong
On 2/9/2011 at 09:49 PM, wrote: > > So I compared the /etc/ais/openais.conf in non-sp1 with > > /etc/corosync/corosync.conf from sp1 and found this bit missing which > > could be quite useful... > > > > service { > > # Load the Pacemaker Cluster Resource Manager > > ve

Re: [Pacemaker] First confused (then enlightened ? :)

2011-02-14 Thread Carlos G Mendioroz
Andrew Beekhof @ 14/02/2011 05:44 -0300 dixit: -Is still the case that Heartbeat is not to be considered for new deployments ? (I read something along that line) pretty much http://www.clusterlabs.org/wiki/FAQ#Should_I_Run_Pacemaker_on_Heartbeat_or_Coroysnc.3F That was the place I was referr

Re: [Pacemaker] Reserve Internet channel

2011-02-14 Thread Klaus Darilion
Am 14.02.2011 16:43, schrieb ruslan usifov: > I have two internet providers, with preferred one of them(main provider), > and want when main provider if down, then second provider is up, and > internet will steel work. I see for myself this like: > > define 2 primitive throw "ocf:pacemaker:ping

[Pacemaker] Reserve Internet channel

2011-02-14 Thread ruslan usifov
I have two internet providers, with preferred one of them(main provider), and want when main provider if down, then second provider is up, and internet will steel work. I see for myself this like: define 2 primitive throw "ocf:pacemaker:pingd", also define two "ocf:heartbeat:Route" with default r

Re: [Pacemaker] Could not connect to the CIB: Remote node didnotrespond

2011-02-14 Thread Florian Haas
On 2011-02-14 15:25, liang...@asc-csa.gc.ca wrote: > Thank you Andrew. > > This is what other people suggested. Currently I am running 1.0.8 coming with > Ubuntu 10.04 LTS. Unfortunately I couldn't find a debian package of 1.0.10. > Trying to compile from source gives me a lot of problems. Do yo

Re: [Pacemaker] First confused (then enlightened ? :)

2011-02-14 Thread Carlos G Mendioroz
Thank you for all your comments. Andrew Beekhof @ 14/02/2011 05:44 -0300 dixit: On Sun, Feb 13, 2011 at 12:56 PM, Carlos G Mendioroz wrote: Hi, I'm trying to understand how to best implement a HA EE service. Searching for linux + HA induced me to go linux-HA way (heartbeat?) and that showed th

Re: [Pacemaker] designing a load balancer - request for comments

2011-02-14 Thread Klaus Darilion
Am 14.02.2011 14:45, schrieb Raoul Bhatia [IPAX]: > On 02/14/2011 02:37 PM, Klaus Darilion wrote: >> Somehow pacemaker does not react as I would expect it. My config is: >> >> primitive failover-ip ocf:heartbeat:IPaddr \ >> params ip="83.136.32.161" \ >> op monitor interval="3s" >

Re: [Pacemaker] Could not connect to the CIB: Remote node didnotrespond

2011-02-14 Thread Liang.Ma
Thank you Andrew. This is what other people suggested. Currently I am running 1.0.8 coming with Ubuntu 10.04 LTS. Unfortunately I couldn't find a debian package of 1.0.10. Trying to compile from source gives me a lot of problems. Do you happen to know where I can get a debian package of the lat

Re: [Pacemaker] designing a load balancer - request for comments

2011-02-14 Thread Klaus Darilion
Am 14.02.2011 14:45, schrieb Raoul Bhatia [IPAX]: > On 02/14/2011 02:37 PM, Klaus Darilion wrote: > ps. i'd very much love to see a ocf compatible ra instead of the lsb > script ;) But if the LSB script is conform, will I get better results? I will replacing the lsb with an ocf resource when th

Re: [Pacemaker] designing a load balancer - request for comments

2011-02-14 Thread Raoul Bhatia [IPAX]
On 02/14/2011 02:37 PM, Klaus Darilion wrote: > Somehow pacemaker does not react as I would expect it. My config is: > > primitive failover-ip ocf:heartbeat:IPaddr \ > params ip="83.136.32.161" \ > op monitor interval="3s" > primitive kamailio lsb:kamailio \ > meta migratio

Re: [Pacemaker] designing a load balancer - request for comments

2011-02-14 Thread Klaus Darilion
Am 11.02.2011 16:13, schrieb Raoul Bhatia [IPAX]: > On 02/11/2011 03:07 PM, Klaus Darilion wrote: ... >> Or, how should pacemaker behave if Kamailio on the active node crashes. >> Shall it just restart Kamailio or shall it migrate the IP address to the >> other node and then try to restart Kamail

Re: [Pacemaker] First confused (then enlightened ? :)

2011-02-14 Thread Andrew Beekhof
On Mon, Feb 14, 2011 at 10:56 AM, Dan Frincu wrote: > Hi, > > On Mon, Feb 14, 2011 at 10:44 AM, Andrew Beekhof wrote: >> >> On Sun, Feb 13, 2011 at 12:56 PM, Carlos G Mendioroz >> wrote: >> > Hi, >> > I'm trying to understand how to best implement a HA EE service. >> > Searching for linux + HA i

Re: [Pacemaker] First confused (then enlightened ? :)

2011-02-14 Thread Dan Frincu
Hi, On Mon, Feb 14, 2011 at 10:44 AM, Andrew Beekhof wrote: > On Sun, Feb 13, 2011 at 12:56 PM, Carlos G Mendioroz > wrote: > > Hi, > > I'm trying to understand how to best implement a HA EE service. > > Searching for linux + HA induced me to go linux-HA way (heartbeat?) > > and that showed the

Re: [Pacemaker] rsc_colocation version problem?

2011-02-14 Thread Stephan-Frank Henry
> On: Mon, 14 Feb 2011 09:52:57 +0100, Andrew Beekhof wrote: > On Thu, Feb 10, 2011 at 6:02 PM, Stephan-Frank Henry > > Hello again, > > > > on quick question. > > In many examples I see rsc_colocation variants with keys 'rsc', > 'with-rsc' and 'with-rsc-role'. > > > > Yet when I use them it get s

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] [Linux-HA] OCF_RESKEY_CRM_meta_timeout not matching monitor timeout meta-data

2011-02-14 Thread Andrew Beekhof
On Fri, Feb 4, 2011 at 11:23 AM, Brett Delle Grazie wrote: > Hi, > > Apologies for cross-posting but I'm not sure where this problem resides. > > I'm running: > corosync-1.2.7-1.1.el5.x86_64 > corosynclib-1.2.7-1.1.el5.x86_64 > cluster-glue-1.0.6-1.6.el5.x86_64 > cluster-glue-libs-1.0.6-1.6.el5.x8

Re: [Pacemaker] Two virtual machines start when they fail in "Live migration".

2011-02-14 Thread Andrew Beekhof
On Mon, Feb 14, 2011 at 9:54 AM, Yuusuke IIDA wrote: > Hi, Andrew > > Thank you for an reply. > When a multiplex virtual machine is started in my environment, a disk may be > broken. > This is fatal. > Because there is no help for it, I intend to apply it in > "allow_migrate=false". Thats also th

Re: [Pacemaker] Two virtual machines start when they fail in "Live migration".

2011-02-14 Thread Yuusuke IIDA
Hi, Andrew Thank you for an reply. When a multiplex virtual machine is started in my environment, a disk may be broken. This is fatal. Because there is no help for it, I intend to apply it in "allow_migrate=false". Thanks, Yuusuke IIDA (2011/02/14 17:38), Andrew Beekhof wrote: On Mon, Feb 14

Re: [Pacemaker] rsc_colocation version problem?

2011-02-14 Thread Andrew Beekhof
On Thu, Feb 10, 2011 at 6:02 PM, Stephan-Frank Henry wrote: > Hello again, > > on quick question. > In many examples I see rsc_colocation variants with keys 'rsc', 'with-rsc' > and 'with-rsc-role'. > > Yet when I use them it get smacked by crm_verify: > cib.xml:102: element rsc_colocation: validi

Re: [Pacemaker] no man pages on Debian

2011-02-14 Thread Andrew Beekhof
Guess they didn't install help2man when building pacemaker. Best to file a bug with them. On Mon, Feb 14, 2011 at 9:36 AM, Klaus Darilion wrote: > Hi! > > I'm using pacemaker on Lenny with packages from lenny-backports and miss > man pages. Is there a certain package I need to install to get the

Re: [Pacemaker] Could not connect to the CIB: Remote node did notrespond

2011-02-14 Thread Andrew Beekhof
On Thu, Feb 10, 2011 at 10:55 PM, wrote: > Hi, > > Now I took one node off by /etc/init.d/heartbeat stop. > > With one node arsvr1 online, heartbeat tries to respan crmd, but ends with an > error code 2. The policy engine is crashing. I'd highly recommend updating to 1.0.10 as we've likely alre

Re: [Pacemaker] First confused (then enlightened ? :)

2011-02-14 Thread Andrew Beekhof
On Sun, Feb 13, 2011 at 12:56 PM, Carlos G Mendioroz wrote: > Hi, > I'm trying to understand how to best implement a HA EE service. > Searching for linux + HA induced me to go linux-HA way (heartbeat?) > and that showed the path to pacemaker, and that open the way to corosync > and OpenAIS. No new

Re: [Pacemaker] Two virtual machines start when they fail in "Live migration".

2011-02-14 Thread Andrew Beekhof
On Mon, Feb 14, 2011 at 4:04 AM, Yuusuke IIDA wrote: > Hi, Andrew > > (2011/02/09 23:55), Andrew Beekhof wrote: >> >> 2011/2/7 Yuusuke IIDA: >>> >>> Hi, >>> >>> I am going to manage the virtual machine in environment of >>> Pacemaker-1.0.10. >>> >>> However, the problem that two virtual machines a

[Pacemaker] no man pages on Debian

2011-02-14 Thread Klaus Darilion
Hi! I'm using pacemaker on Lenny with packages from lenny-backports and miss man pages. Is there a certain package I need to install to get the man pages, or is it just a deficiency of the packages? regards Klaus ___ Pacemaker mailing list: Pacemaker@o

Re: [Pacemaker] resource could not migrate back

2011-02-14 Thread Robert van Leeuwen
> I have two node ha cluster node1 and node2 I start virtual IP resource in   > cluster on node1, I set stick-ness=0,when node1 reboot virtual ip migrate to > node2.however when node1 come back virtual IP still start on node2.Is there > any > way to migrate resource back to node1? If you want a