Re: [Pacemaker] "migration-threshold" for multistate resources?

2009-12-16 Thread Andrew Beekhof
On Wed, Dec 16, 2009 at 10:56 PM, Frank DiMeo wrote: > Is there a concept of a “migration-threshold” for a multistate resource? > This would be defined as the number of failures detected for an multistate > instance running as master before it would be considered ineligible to run > on that node,

Re: [Pacemaker] Pacemaker strange compilation errors

2009-12-16 Thread Andrew Beekhof
On Thu, Dec 17, 2009 at 1:29 AM, Hunny Bunny wrote: > > Hello folkz, > After Andrew's suggestion to set proper CFLAGS I've recompiled all the > cluster environment again. Everything went quite OK, except Pacemaker. > Could somebody please look into this brief summary of my efforts and may be > p

Re: [Pacemaker] crm_master syntax

2009-12-16 Thread Andrew Beekhof
On Wed, Dec 16, 2009 at 10:43 PM, Frank DiMeo wrote: > I don't know how to set the target-role for a multistate resource instance > running on a particular node.  Would you mind giving me an example? Use a regular rsc_location (for the master/slave resource) and add role=Master like it says in t

Re: [Pacemaker] [RPM] pacemaker-mgmt for corosync 1.1.2 and pacemaker 1.0.6

2009-12-16 Thread Yan Gao
Hi, Thomas Guthmann wrote: > Heya, > > I know that not everybody does like GUI but sometimes it's handy to see > the big picture. So here is a corosync compatible version of > pacemaker-mgmt. I didn't do much except changing the Requires: in the > .spec file. All credits still goes to ygao at nov

Re: [Pacemaker] [PATCH]The abolition of distinguishing a node name by a small and capital letter.

2009-12-16 Thread renayama19661014
Hi Dejan, I registered. http://developerbugs.linux-foundation.org/show_bug.cgi?id=2292 Best Regards, Hideo Yamauchi. --- renayama19661...@ybb.ne.jp wrote: > Hi Dejan, > > > That would be great since I'm overwhelmed with other business now. > > And please open a bugzilla if there isn't any so

Re: [Pacemaker] [PATCH]The abolition of distinguishing a node name by a small and capital letter.

2009-12-16 Thread renayama19661014
Hi Dejan, > That would be great since I'm overwhelmed with other business now. > And please open a bugzilla if there isn't any so that we can > track this. All right. Please wait Best Regards, Hideo Yamauchi. --- Dejan Muhamedagic wrote: > Hi Hideo-san, > > On Wed, Dec 16, 2009 at 11:11:

[Pacemaker] Pacemaker strange compilation errors

2009-12-16 Thread Hunny Bunny
Hello folkz, After Andrew's suggestion to set proper CFLAGS I've recompiled all the cluster environment again. Everything went quite OK, except Pacemaker. Could somebody please look into this brief summary of my efforts and may be point me to the issue I'm missing or unaware. Many thanks in adva

Re: [Pacemaker] force to add a node

2009-12-16 Thread E-Blokos
- Original Message - From: "Andrew Beekhof" To: Cc: Sent: Wednesday, December 16, 2009 2:54 PM Subject: Re: [Pacemaker] force to add a node On Wed, Dec 16, 2009 at 8:33 PM, E-Blokos wrote: - Original Message - From: "Andrew Beekhof" To: Cc: Sent: Wednesday, December

[Pacemaker] [RPM] pacemaker-mgmt for corosync 1.1.2 and pacemaker 1.0.6

2009-12-16 Thread Thomas Guthmann
Heya, I know that not everybody does like GUI but sometimes it's handy to see the big picture. So here is a corosync compatible version of pacemaker-mgmt. I didn't do much except changing the Requires: in the .spec file. All credits still goes to ygao at novell.com for all the packaging effor

[Pacemaker] "migration-threshold" for multistate resources?

2009-12-16 Thread Frank DiMeo
Is there a concept of a "migration-threshold" for a multistate resource? This would be defined as the number of failures detected for an multistate instance running as master before it would be considered ineligible to run on that node, be stopped, and another slave would be promoted to Master.

Re: [Pacemaker] crm_master syntax

2009-12-16 Thread Frank DiMeo
I don't know how to set the target-role for a multistate resource instance running on a particular node. Would you mind giving me an example? Thanks, Frank > -Original Message- > From: Andrew Beekhof [mailto:and...@beekhof.net] > Sent: Wednesday, December 16, 2009 4:11 PM > To: pacemake

Re: [Pacemaker] crm_master syntax

2009-12-16 Thread Andrew Beekhof
On Wed, Dec 16, 2009 at 8:52 PM, Frank DiMeo wrote: > Hi All, > > Does anyone know the correct syntax for the crm_master command when used from > a shell? You're not supposed to. It looks for things like the resource id in a properly constructed OCF environment. If you really must, set target-r

[Pacemaker] crm_master syntax

2009-12-16 Thread Frank DiMeo
Hi All, Does anyone know the correct syntax for the crm_master command when used from a shell? I want to promote (and at some point demote) one of my multistate resources running on one of my nodes, but haven't found the correct syntax for this command yet. I've tried (among other permutation

Re: [Pacemaker] force to add a node

2009-12-16 Thread Andrew Beekhof
On Wed, Dec 16, 2009 at 8:33 PM, E-Blokos wrote: > > - Original Message - From: "Andrew Beekhof" > To: > Cc: > Sent: Wednesday, December 16, 2009 2:26 PM > Subject: Re: [Pacemaker] force to add a node > > >> On Wed, Dec 16, 2009 at 5:59 PM, E-Blokos wrote: >>> >>> Hi Andrew, >>> D

Re: [Pacemaker] force to add a node

2009-12-16 Thread E-Blokos
- Original Message - From: "Andrew Beekhof" To: Cc: Sent: Wednesday, December 16, 2009 2:26 PM Subject: Re: [Pacemaker] force to add a node On Wed, Dec 16, 2009 at 5:59 PM, E-Blokos wrote: Hi Andrew, Did you supply a node id in openais.conf? no, it's commented as it's writte

Re: [Pacemaker] force to add a node

2009-12-16 Thread Andrew Beekhof
On Wed, Dec 16, 2009 at 5:59 PM, E-Blokos wrote: > Hi Andrew, > >> Did you supply a node id in openais.conf? > > no, it's commented as it's written as optional yes, it is. but if you don't specify one its generated from the ip address. thus when you changed the ip address the nodeid also changed.

Re: [Pacemaker] force to add a node

2009-12-16 Thread E-Blokos
- Original Message - From: "Andrew Beekhof" To: Cc: Sent: Wednesday, December 02, 2009 8:36 AM Subject: Re: [Pacemaker] force to add a node On Fri, Nov 20, 2009 at 2:47 AM, E-Blokos wrote: Hi, Openais - Pacemaker last version. I modified the IP of a node and now it appears alwa

[Pacemaker] Problem: monitor timeout causes cluster resource unmanaged and stopped on both nodes.

2009-12-16 Thread Oscar Remí­rez de Ganuza Satrústegui
Hello everybody, We have a shared disk cluster with pacemaker (1.0.6) and corosync (1.1.2). Two nodes, active (herculespre) - passive (jasonpre). MySQL service as a resource, inside a group with attribute migration-threshold="5" (so that if a resource fail-count is 5 or more, it will be moved

Re: [Pacemaker] failback off

2009-12-16 Thread E-Blokos
- Original Message - From: "Andrew Beekhof" To: Cc: Sent: Thursday, October 15, 2009 2:38 AM Subject: Re: [Pacemaker] failback off On Wed, Oct 14, 2009 at 8:05 PM, E-Blokos wrote: - Original Message - From: "Andrew Beekhof" To: Cc: Sent: Sunday, October 11, 2009 4:04

Re: [Pacemaker] Pacemaker compilation problem with or without --without-heartbeat option

2009-12-16 Thread Hunny Bunny
Andrew, Thank you very much for your reply. I'll verify that CFLAGS were set according to your suggestions and recompile again all the packages in the cluster environment. Thanks again, Alex --- On Wed, 12/16/09, Andrew Beekhof wrote: From: Andrew Beekhof Subject: Re: [Pacemaker] Pacemaker

Re: [Pacemaker] [PATCH]The abolition of distinguishing a node name by a small and capital letter.

2009-12-16 Thread Dejan Muhamedagic
Hi Hideo-san, On Wed, Dec 16, 2009 at 11:11:45AM +0900, renayama19661...@ybb.ne.jp wrote: > Hi all, > > Thank you for understanding of all of you. > > > Yes, though that means changing all plugins. > I can assist the revision of the plug in. That would be great since I'm overwhelmed with other

Re: [Pacemaker] How pacemaker handle split brain

2009-12-16 Thread Javen Wu
2009/12/16 Andrew Beekhof > On Wed, Dec 16, 2009 at 2:24 AM, Javen Wu wrote: > > Hi Folks, > > > > I have a question on pacemaker split brain. Once a cluster is partationed > > due to the network problem. If my understanding on the code is correct, > two > > subcluster all have their private DC

Re: [Pacemaker] Error with pacemaker-1.0.6 and corosync-1.1.2:

2009-12-16 Thread Andrew Beekhof
On Mon, Dec 14, 2009 at 10:45 AM, Brian Ferris wrote: > I don't see any corosync-1.2.0 rpms up at clusterlab.org rpm site.  It looks > like corosync-1.2.0 has only been out for six days?  Would the > pacemaker-1.0.6 from Nov 04 really be built against it? Maybe not, I juts noticed that my f-12 pa

Re: [Pacemaker] Wrong stack o2cb

2009-12-16 Thread Поляченко Владимир Вла димирович
В Wed, 16 Dec 2009 11:59:29 +0100 Andrew Beekhof пишет: > I suspect you forgot to stop o2cb from being started when the node > comes up. If you really want to be sure, just delete /etc/init.d/o2cb > > Otherwise you can use the chkconfig commands listed in the PDF (and > then reboot the node) >

Re: [Pacemaker] Wrong stack o2cb

2009-12-16 Thread Tim Serong
On 12/16/2009 at 01:41 AM, Поляченко Владимир Владимирович wrote: > Hi all (sorry for my english, i can read and understand, but not write > in english) > Configure cluster in Fedora 12(base manual "Cluster from Scratch > Apache in Fedora 11") > > package from fedora repo > > [r...@server

Re: [Pacemaker] Wrong stack o2cb

2009-12-16 Thread Andrew Beekhof
I suspect you forgot to stop o2cb from being started when the node comes up. If you really want to be sure, just delete /etc/init.d/o2cb Otherwise you can use the chkconfig commands listed in the PDF (and then reboot the node) 2009/12/15 Поляченко Владимир Владимирович : > Hi all (sorry for my en

Re: [Pacemaker] How pacemaker handle split brain

2009-12-16 Thread Andrew Beekhof
On Wed, Dec 16, 2009 at 2:24 AM, Javen Wu wrote: > Hi Folks, > > I have a question on pacemaker split brain. Once a cluster is partationed > due to the network problem. If my understanding on the code is correct, two > subcluster all have their private DC regardless who holds the quorum. > So how

Re: [Pacemaker] Pacemaker compilation problem with or without --without-heartbeat option

2009-12-16 Thread Andrew Beekhof
On Tue, Dec 15, 2009 at 6:01 PM, Hunny Bunny wrote: > Andrew, > Thank very much you for your prompt reply. > I did in fact install cluster glue before I tried to install Pacemaker. > All of it though? Including the headers and .so files? > I compiled and installed these packages in the follow

Re: [Pacemaker] BUG: is-managed="true" moves resources around

2009-12-16 Thread Andrew Beekhof
On Wed, Dec 16, 2009 at 11:21 AM, Andrew Beekhof wrote: > On Tue, Dec 15, 2009 at 5:37 PM, Rasto Levrinc > wrote: >> Hi Beekhof, >> >> I've found again a Pacemaker bug or I am doing again something wrong. :) >> >> So I have a group with two dummy resources that are both unmanaged but >> running.

Re: [Pacemaker] BUG: is-managed="true" moves resources around

2009-12-16 Thread Andrew Beekhof
On Tue, Dec 15, 2009 at 5:37 PM, Rasto Levrinc wrote: > Hi Beekhof, > > I've found again a Pacemaker bug or I am doing again something wrong. :) > > So I have a group with two dummy resources that are both unmanaged but > running. The group has colocation constraint with score -INFINITY with the >

Re: [Pacemaker] BUG: is-managed='true' moves resources around

2009-12-16 Thread Rasto Levrinc
On Wed, December 16, 2009 8:26 am, Lars Marowsky-Bree wrote: > On 2009-12-15T17:37:27, Rasto Levrinc wrote: > > >> So I have a group with two dummy resources that are both unmanaged but >> running. The group has colocation constraint with score -INFINITY with >> the third dummy resource. The grou