Re: [Pacemaker] found small memory leak of pengine.

2011-10-12 Thread Andrew Beekhof
On Thu, Oct 13, 2011 at 1:39 PM, Yuusuke IIDA wrote: > Hi, Andrew > > Though this correction did not seem to be yet carried out as far as I > looked, did you have any problem? Sorry, slipped off my radar. Committed now :-) > > Regards, > Yuusuke > > (2011/09/20 10:55), Andrew Beekhof wrote: >> >

Re: [Pacemaker] found small memory leak of pengine.

2011-10-12 Thread Yuusuke IIDA
Hi, Andrew Though this correction did not seem to be yet carried out as far as I looked, did you have any problem? Regards, Yuusuke (2011/09/20 10:55), Andrew Beekhof wrote: Thanks, I'll apply it shortly 2011/9/6 Yuusuke IIDA: Hi, Andrew I found small memory leak of pengine. It seems to l

Re: [Pacemaker] Postgres RA won't start

2011-10-12 Thread Serge Dubrouski
On Wed, Oct 12, 2011 at 9:20 AM, Amar Prasovic wrote: > Thank you all for tips and suggestions. I managed to configure postgres so > it actually starts. > > First, I updated resource-agents (Florian thanks for the tip, still don't > know how did I manage to miss that :) ) > Second, I deleted post

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Yves Trudeau
What about referring to the git repository here: http://www.clusterlabs.org/wiki/Get_Pacemaker#Building_from_Source I obviously missed the Repo move to... entry in the agents repository. Regards, Yves On 11-10-12 07:30 PM, Lars Ellenberg wrote: On Thu, Oct 13, 2011 at 01:21:46AM +0200, Lars

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Yves Trudeau
Hi Lars indeed... this is much more interesting. It should be pretty easy to port my stuff to that RA and build a configuration that fits my requirements. Regards, Yves On 11-10-12 07:21 PM, Lars Ellenberg wrote: On Wed, Oct 12, 2011 at 05:09:45PM -0400, Yves Trudeau wrote: Hi Florian,

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Lars Ellenberg
On Thu, Oct 13, 2011 at 01:21:46AM +0200, Lars Ellenberg wrote: > On Wed, Oct 12, 2011 at 05:09:45PM -0400, Yves Trudeau wrote: > > Hi Florian, > > > > On 11-10-12 04:09 PM, Florian Haas wrote: > > >On 2011-10-12 21:46, Yves Trudeau wrote: > > >>Hi Florian, > > >> sure, let me state the requirem

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Lars Ellenberg
On Wed, Oct 12, 2011 at 05:09:45PM -0400, Yves Trudeau wrote: > Hi Florian, > > On 11-10-12 04:09 PM, Florian Haas wrote: > >On 2011-10-12 21:46, Yves Trudeau wrote: > >>Hi Florian, > >> sure, let me state the requirements. If those requirements can be > >>met, pacemaker will be much more used

Re: [Pacemaker] nginx OCF script - strange syslog output

2011-10-12 Thread Lars Ellenberg
On Wed, Oct 12, 2011 at 09:23:15PM +0200, Dejan Muhamedagic wrote: > Hi, > > On Wed, Oct 12, 2011 at 05:28:47PM +0200, Amar Prasovic wrote: > > Hello everyone, > > > > I've found one nginx OCF script online and decided to use it since no > > default script is provided. > > Here is the script I am

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Yves Trudeau
I found the answer about cluster-wide attribute, very easy and pretty elegant. On 11-10-12 05:09 PM, Yves Trudeau wrote: Hi Florian, On 11-10-12 04:09 PM, Florian Haas wrote: On 2011-10-12 21:46, Yves Trudeau wrote: Hi Florian, sure, let me state the requirements. If those requirements

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Yves Trudeau
Hi Florian, On 11-10-12 04:09 PM, Florian Haas wrote: On 2011-10-12 21:46, Yves Trudeau wrote: Hi Florian, sure, let me state the requirements. If those requirements can be met, pacemaker will be much more used to manage MySQL replication. Right now, although at Percona I deal with many lar

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Florian Haas
On 2011-10-12 21:46, Yves Trudeau wrote: > Hi Florian, > sure, let me state the requirements. If those requirements can be > met, pacemaker will be much more used to manage MySQL replication. > Right now, although at Percona I deal with many large MySQL deployments, > none are using the current

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Yves Trudeau
Hi Florian, sure, let me state the requirements. If those requirements can be met, pacemaker will be much more used to manage MySQL replication. Right now, although at Percona I deal with many large MySQL deployments, none are using the current agent. Another tool, MMM is currently used

Re: [Pacemaker] nginx OCF script - strange syslog output

2011-10-12 Thread Dejan Muhamedagic
Hi, On Wed, Oct 12, 2011 at 05:28:47PM +0200, Amar Prasovic wrote: > Hello everyone, > > I've found one nginx OCF script online and decided to use it since no > default script is provided. > Here is the script I am using: > > http://pastebin.com/CCApckew You can always get the latest nginx rele

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Florian Haas
On 2011-10-12 19:36, Yves Trudeau wrote: > Hi Florian, > I pushed the latest code to LP, the agent use notification now. Better. > Also, > most of the start/stop of resource have been removed. "Most of" is really not good enough here -- that thing still does all sorts of things modifying other

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Yves Trudeau
Hi Florian, I pushed the latest code to LP, the agent use notification now. Also, most of the start/stop of resource have been removed. In my opinion, the existing agent would need a major rewrite to support the required logic. I think indeed it will a good idea to sit and talk at PLUK a

Re: [Pacemaker] Stopping corosync on the slave in a 2 node cluster causes all the resources on the master to stop. Please Help.

2011-10-12 Thread Florian Haas
Tom, acting on a hunch here: do things improve if you add "meta interleave=true" to your ping_gateway_clone, or if you remove the ActiveMQ_Data_after_ping_gateway_clone order constraint? If that doesn't get you anywhere, could you produce a CIB dump of the cluster when your one node is shut down,

Re: [Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Florian Haas
Hi again, On 2011-10-12 18:23, Yves Trudeau wrote: > Hi, >following my previous post to the wrong list, forwarded to the > Pacemaker list by Florian, here is the my complete cluster configuration: > > http://pastebin.com/zDj0MF1Z Yikes. I just had a look at that resource agent (operating und

[Pacemaker] crm_master triggering assert section != NULL

2011-10-12 Thread Yves Trudeau
Hi, following my previous post to the wrong list, forwarded to the Pacemaker list by Florian, here is the my complete cluster configuration: http://pastebin.com/zDj0MF1Z Just to recall the original message: I started to have issues with crm_master with Pacemaker 1.0.11. I think I trac

[Pacemaker] nginx OCF script - strange syslog output

2011-10-12 Thread Amar Prasovic
Hello everyone, I've found one nginx OCF script online and decided to use it since no default script is provided. Here is the script I am using: http://pastebin.com/CCApckew The good news is, the script is functional, I get nginx running. The sort of a bad news is, every ten seconds I got some s

Re: [Pacemaker] Postgres RA won't start

2011-10-12 Thread Amar Prasovic
Thank you all for tips and suggestions. I managed to configure postgres so it actually starts. First, I updated resource-agents (Florian thanks for the tip, still don't know how did I manage to miss that :) ) Second, I deleted postgres primitive, cleared all failcounts and configure it again like

Re: [Pacemaker] crm_resource --constraints triggers ERROR

2011-10-12 Thread Thilo Uttendorfer
On Tuesday 20 September 2011 at 03:44:47, Andrew Beekhof wrote: > On Tue, Sep 13, 2011 at 7:09 PM, Thilo Uttendorfer > > > Can somebody explain the error message? This should probably not be > > classified as "ERROR", or am I wrong? I get this message on other systems > > as well. > > > > I use Ubu

Re: [Pacemaker] Stopping corosync on the slave in a 2 node cluster causes all the resources on the master to stop. Please Help.

2011-10-12 Thread Florian Haas
Tom, On 2011-10-12 14:02, Tom Pride wrote: > Hi Guys, > > I was hoping that someone might be able to do a quick review of my > cluster config, shown below, to work out why when I shutdown corosync on > the master all the resources failover to the slave without a problem, > but if I shutdown coros

[Pacemaker] Stopping corosync on the slave in a 2 node cluster causes all the resources on the master to stop. Please Help.

2011-10-12 Thread Tom Pride
Hi Guys, I was hoping that someone might be able to do a quick review of my cluster config, shown below, to work out why when I shutdown corosync on the master all the resources failover to the slave without a problem, but if I shutdown corosync on the slave all of the resources on the master stop

Re: [Pacemaker] [DRBD-user] examples of dual primary DRBD

2011-10-12 Thread Florian Haas
On 2011-10-11 09:12, Bart Coninckx wrote: > Florian, > > Does this mean you thought this problem could have been the result of > changes done by Andrew to the DRBD RA? But sindce he hasn't done them > yet, isn't? You're right, I had been thinking your issues may be due to a change in the way mast