Re: [Pacemaker] stonith and pacemaker with Centos 6

2011-09-16 Thread Andreas Kurz
On 09/16/2011 09:09 PM, Charles Richard wrote: > Hi, > > Not sure if this question is appropriate on this thread but I'm > following a pacemaker doc to get a 2 node mysql cluster working and the > doc mentioned that installing Stonith and having it enabled is preferable. > > Well on my centos 6 b

[Pacemaker] stonith and pacemaker with Centos 6

2011-09-16 Thread Charles Richard
Hi, Not sure if this question is appropriate on this thread but I'm following a pacemaker doc to get a 2 node mysql cluster working and the doc mentioned that installing Stonith and having it enabled is preferable. Well on my centos 6 box, i installed pacemaker but when i try to run the command "

[Pacemaker] madkiss' repository for squeeze

2011-09-16 Thread Michael Schwartzkopff
Hi, when I use Madkiss' repository for Squeeze I get the following error: # apt-get install drbd8-utils (...) The following NEW packages will be installed: drbd8-utils (...) dpkg: error processing /var/cache/apt/archives/drbd8- utils_2%3a8.3.7-2.1_i386.deb (--unpack): trying to overwrite '/usr

Re: [Pacemaker] OCF exit code 8 triggers WARN message

2011-09-16 Thread Lars Ellenberg
On Fri, Sep 16, 2011 at 05:02:52PM +0200, Dejan Muhamedagic wrote: > Hi Thilo, > > On Fri, Sep 16, 2011 at 04:41:59PM +0200, Thilo Uttendorfer wrote: > > Hi, > > > > I experience a lot of "WARN" log entries in several pacemaker cluster > > setups: > > > > Sep 16 11:53:21 server01 lrmd: [23946]:

Re: [Pacemaker] postponed execution of operations

2011-09-16 Thread Dejan Muhamedagic
Hi, On Thu, Sep 08, 2011 at 08:04:03PM +0200, Thilo Uttendorfer wrote: > Hello, > > I have sometimes failed resoucres in a heartbeat/pacemaker/drbd cluster. It > seems that it happens randomly. The log > file for such a resource looks like this (I did a grep on "34401" in this > example): > >

Re: [Pacemaker] Concurrent runs of 'crm configure primitive' interfering

2011-09-16 Thread Dejan Muhamedagic
Hi, On Thu, Sep 08, 2011 at 03:41:42PM +0100, John Spray wrote: > Hi, > > I have some scripts which configure resources across a number of nodes > in a cluster. I'm finding that when more than one "crm configure > primitive" invokation is run at the same time, they sometimes > interfere with eac

Re: [Pacemaker] Stonith device external/libvirt

2011-09-16 Thread Dejan Muhamedagic
Hi, On Thu, Sep 15, 2011 at 10:56:52AM +0200, Fiorenza Meini wrote: > Hi there, > I'm trying to configure stonith environment on my test cluster: I have a > xenserver where are running several machines, on the virtual machine I > configured the cluster. > I'm wondering if the device external/

Re: [Pacemaker] OCF exit code 8 triggers WARN message

2011-09-16 Thread Dejan Muhamedagic
Hi Thilo, On Fri, Sep 16, 2011 at 04:41:59PM +0200, Thilo Uttendorfer wrote: > Hi, > > I experience a lot of "WARN" log entries in several pacemaker cluster setups: > > Sep 16 11:53:21 server01 lrmd: [23946]: WARN: Managed res1:0:monitor process > 26489 exited with return code 8. > > That's be

Re: [Pacemaker] Compile Error on Debian

2011-09-16 Thread Dejan Muhamedagic
On Fri, Sep 16, 2011 at 07:54:56AM -0400, Nick Khamis wrote: > Hello Dejan, > > Using enable_fatal_warnings=no, it works fine however, how fatal is > that? I will try the patch Probably not fatal. We're just taking warnings seriously. Thanks, Dejan > http://bugzilla-attachments.gnome.org/attac

[Pacemaker] OCF exit code 8 triggers WARN message

2011-09-16 Thread Thilo Uttendorfer
Hi, I experience a lot of "WARN" log entries in several pacemaker cluster setups: Sep 16 11:53:21 server01 lrmd: [23946]: WARN: Managed res1:0:monitor process 26489 exited with return code 8. That's because multi state resources like DRBD have some special return codes. "8" means OCF_RUNNING_M

Re: [Pacemaker] Do We Really Have to Put Everything on one Machine?

2011-09-16 Thread Digimer
On 09/16/2011 08:16 AM, Nick Khamis wrote: > Hello Florian, > > Yes of course, that makes sense. Maybe I described my question > incorrectly. What I was trying to ask was can we have > only one pacemaker/openais instance handle all nodes in a cluster > (i.e., via health checks of each service). Mo

Re: [Pacemaker] Do We Really Have to Put Everything on one Machine?

2011-09-16 Thread Nick Khamis
Hello Florian, Yes of course, that makes sense. Maybe I described my question incorrectly. What I was trying to ask was can we have only one pacemaker/openais instance handle all nodes in a cluster (i.e., via health checks of each service). Most examples dump everything directly on the nodes. I gu

Re: [Pacemaker] Compile Error on Debian

2011-09-16 Thread Nick Khamis
Hello Dejan, Using enable_fatal_warnings=no, it works fine however, how fatal is that? I will try the patch http://bugzilla-attachments.gnome.org/attachment.cgi?id=158740, today. Thanks Guys, Nick. On Fri, Sep 16, 2011 at 4:43 AM, Dan Frincu wrote: > Hi, > > On Fri, Sep 16, 2011 at 10:56 AM, D

Re: [Pacemaker] Compile Error on Debian

2011-09-16 Thread Dan Frincu
Hi, On Fri, Sep 16, 2011 at 10:56 AM, Dejan Muhamedagic wrote: > Hi, > > On Thu, Sep 15, 2011 at 06:06:31PM -0400, Nick Khamis wrote: >> Hello Everyone, >> >> Using tip 1.0.7 I get: >> >> pes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror -MT >> pils.lo -MD -MP -MF .deps/pils.Tpo -c pils

Re: [Pacemaker] Compile Error on Debian

2011-09-16 Thread Dejan Muhamedagic
Hi, On Thu, Sep 15, 2011 at 06:06:31PM -0400, Nick Khamis wrote: > Hello Everyone, > > Using tip 1.0.7 I get: > > pes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror -MT > pils.lo -MD -MP -MF .deps/pils.Tpo -c pils.c -fPIC -DPIC -o > .libs/pils.o > cc1: warnings being treated as errors

Re: [Pacemaker] Do We Really Have to Put Everything on one Machine?

2011-09-16 Thread Florian Haas
On 2011-09-16 03:15, Nick Khamis wrote: > Most examples show everything going on one server (glue, resources, > corosync, openais, pacemaker, mysql) Is it possible to split things up > into differernt servers? Please, think about that for a moment. It's a stack. And it's called a stack for a reaso