Re: [Pacemaker] cib still leaks in pacemaker-1.0.3

2009-05-16 Thread Nikola Ciprich
Hi guys, I was able to enable valgrind on our production cluster today, but unfortunately only on the secondary node, I'll be allowed to enable it on primary node hopefully during next weekend. Unfortunately it seems that valgrind probably won't be of much help here. I've got some output from it,

[Pacemaker] first shot at a mysql-proxy ocf ra

2009-05-16 Thread Raoul Bhatia [IPAX]
hi, this is my first shot at creating a ocf ra on my own. that's one reason i do not fully know if this should belong to heartbeat or pacemaker ;) > # Resource script for MySQL Proxy > # > # Description: Manages MySQL Proxy as an OCF resource in > # an high-availability setup. > #

[Pacemaker] unclean openais shutdown on debian

2009-05-16 Thread Raoul Bhatia [IPAX]
hi, i installed the debian 5.0 amd64 packages from http://download.opensuse.org/repositories/server:/ha-clustering/Debian_5.0/amd64/ i noticed that a clean shutdown of openais/pacemaker by using "/etc/init.d/openais stop" did not work. digging in the initscripts, i found the following do stop pr

Re: [Pacemaker] Drbd disk don't run

2009-05-16 Thread Rafael Emerick
What did you do? I can only to start the drbd disk using the drbddisk heartbeat script, but not with a correct check of integrity to put a primary/primary...i'm writing a new scritp based in the drbddisk with this check, but i would like to use ocf ra... Can you give me more details about you con

Re: [Pacemaker] Drbd disk don't run

2009-05-16 Thread Raoul Bhatia [IPAX]
Dejan Muhamedagic wrote: > Hi, > > On Fri, May 15, 2009 at 01:58:36PM -0300, Rafael Emerick wrote: >> With pacemaker i can't set up a state primary/primary? > > It all depends on the resource agent. The drbd OCF, I think, > works as primary/secondary. Perhaps somebody else can offer some > advice

Re: [Pacemaker] New patch for System Health feature

2009-05-16 Thread Andrew Beekhof
On Thu, May 14, 2009 at 8:07 PM, Mark Hamzy wrote: > and...@beekhof.net wrote on 05/13/2009 21:08:36 PM: > >> This is missing the modification to char2score that i mentioned (which >> would also simplify calculate_system_health()). >> ... > >> Oh, and initialize_health_value() should probably just

Re: [Pacemaker] xml passes crm_verify but fails cibadmin --replace

2009-05-16 Thread Andrew Beekhof
On Thu, May 14, 2009 at 8:01 PM, Joe Armstrong wrote: > > Answering my own question here... I had forgotten to add the tag.   > Still odd that crm_verify passed though... crm_verify adds it automagically... ___ Pacemaker mailing list Pacemaker@oss.clu

Re: [Pacemaker] Some showscores.sh questions

2009-05-16 Thread Andrew Beekhof
On Fri, May 15, 2009 at 4:47 PM, Nicholas Dronen wrote: > Hi: > > Is showscores.sh included in any particular RPM? no, but it probably should be > Or are users expected to > download it from here? > >     http://www.gossamer-threads.com/lists/linuxha/pacemaker/54640 or http://hg.clusterlabs.

Re: [Pacemaker] minor showscores.sh patch

2009-05-16 Thread Andrew Beekhof
Applied, thanks On Fri, May 15, 2009 at 3:53 PM, Raoul Bhatia [IPAX] wrote: >> # ./showscores.sh >> Resource            Score     Node            Stickiness #Fail     >> Fail-Stickiness >> 0 >> rm: cannot remove `/tmp/dkshowscorestmpfile3dk': No such file or directory > > --> patch to use "rm -f"