Re: [Pacemaker] Problems with ocf:heartbeat:IPaddr2 and ocf:heartbeat:VirtualDomain

2011-02-21 Thread Andrew Beekhof
On Fri, Feb 18, 2011 at 9:54 AM, Stefan Schneebeli stefan.schneeb...@gmx.ch wrote: Hi Florian Thank you for you fast reply! But I don't get the point why it changes to this behavior. What is the difference to migrate a VM alone and together with an IP Address? Because you can't migrate

Re: [Pacemaker] Cluster from scratch errata Was: First confused (then enlightened ? :)

2011-02-21 Thread Michael Schwartzkopff
On Monday 21 February 2011 10:06:56 Andrew Beekhof wrote: On Thu, Feb 17, 2011 at 10:23 PM, Carlos G Mendioroz t...@huapi.ba.ar wrote: Page 14, start OpenAIS on first node /etc/init.d/corosync start I've just installed from sid (1.0.10-5) on Ubuntu Lucid. The init.d script

Re: [Pacemaker] Packages for Opensuse 11.3 don't build / install

2011-02-21 Thread Andrew Beekhof
On Tue, Feb 15, 2011 at 5:57 PM, Holger Teutsch holger.teut...@web.de wrote: Hi, the packages from rpm-next(64bit) for opensuse 11.3 do not install there (at least true for 1.1.4 and 1.1.5). Are they on corosync yet? If so, then they need to fix the pkgconfig file so that:

Re: [Pacemaker] Cluster from scratch errata Was: First confused (then enlightened ? :)

2011-02-21 Thread Andrew Beekhof
On Mon, Feb 21, 2011 at 10:16 AM, Michael Schwartzkopff mi...@clusterbau.com wrote: On Monday 21 February 2011 10:06:56 Andrew Beekhof wrote: On Thu, Feb 17, 2011 at 10:23 PM, Carlos G Mendioroz t...@huapi.ba.ar wrote: Page 14, start OpenAIS on first node        /etc/init.d/corosync start

Re: [Pacemaker] Packages for Opensuse 11.3 don't build / install

2011-02-21 Thread Andrew Beekhof
On Mon, Feb 21, 2011 at 10:30 AM, Andrew Beekhof and...@beekhof.net wrote: On Tue, Feb 15, 2011 at 5:57 PM, Holger Teutsch holger.teut...@web.de wrote: Hi, the packages from rpm-next(64bit) for opensuse 11.3 do not install there (at least true for 1.1.4 and 1.1.5). Are they on corosync yet?

Re: [Pacemaker] Primitive stuck after resource agent failure?

2011-02-21 Thread Lars Marowsky-Bree
On 2011-02-18T12:28:31, Jody McIntyre jo...@trustcentric.com wrote: I considered this, but unfortunately it would take a lot of effort. The existing pgsql resource agent is designed to start and stop postgres, whereas in this mode I want to switch an already running postgres into master

[Pacemaker] Quorum: a couple of ideas

2011-02-21 Thread Carlos G Mendioroz
Hi, As I understand it, pacemaker decides on having quorum when the number of nodes it can talk to is strictly greater than half of the existing nodes, or 2 * N T . This has the unfortunate consequence of turning it useless for N = 2, and less than optimal for any even T. I would like you to

Re: [Pacemaker] Quorum: a couple of ideas

2011-02-21 Thread Andrew Beekhof
On Mon, Feb 21, 2011 at 2:05 PM, Carlos G Mendioroz t...@huapi.ba.ar wrote: Hi, As I understand it, pacemaker decides on having quorum Let me stop you there... pacemaker doesn't normally decide this at all. It doesn't for heartbeat based clusters and once the corosync quorum plugin is

Re: [Pacemaker] how to enable to output of a resource agent action in logging

2011-02-21 Thread Dejan Muhamedagic
Hi, On Sun, Feb 20, 2011 at 04:00:57PM +0100, Bart Coninckx wrote: Hi all, the title says it all - I often get unkown errors while resources are started, but it's not until I start the resource manually out of the context I get a clue of what exactly went wrong. Sometimes it's loud and

Re: [Pacemaker] Quorum: a couple of ideas

2011-02-21 Thread Carlos G Mendioroz
Andrew Beekhof @ 21/02/2011 11:01 -0300 dixit: On Mon, Feb 21, 2011 at 2:05 PM, Carlos G Mendioroz t...@huapi.ba.ar wrote: Hi, As I understand it, pacemaker decides on having quorum Let me stop you there... pacemaker doesn't normally decide this at all. It doesn't for heartbeat based clusters

[Pacemaker] Multiple DRBD resources how best to configure resources on top.

2011-02-21 Thread Brett Delle Grazie
Hi, If I have two DRBD resources: resourceA resourceB What's the best way to configure the constraints in pacemaker so that a tomcat resource, which serves both of them when mounted, will not be started unless they are both present? My current configuration (below) fails to migrate correctly

Re: [Pacemaker] Multiple DRBD resources how best to configure resources on top.

2011-02-21 Thread Brett Delle Grazie
Forgot to add: RHEL 5.6, pacemaker 1.0.10, drbd 8.3.10, kernel 2.6.18-238.1.1.el5 On 21 February 2011 17:44, Brett Delle Grazie brett.dellegra...@gmail.com wrote: Hi, If I have two DRBD resources: resourceA resourceB What's the best way to configure the constraints in pacemaker so that a

[Pacemaker] WARN: G_SIG_dispatch messages

2011-02-21 Thread Jean-Francois Malouin
Hi, On a cluster that is about to go live I see theses warning popping up quite frequently: lrmd: [6487]: WARN: G_SIG_dispatch: Dispatch function for SIGCHLD was delayed 240 ms ( 100 ms) before +being called (GSource: 0x1542fc0) That's on Debian/Squeeze, pacemaker-1.0.9 corosync-1.2.1 and

[Pacemaker] ifstatus OCF RA

2011-02-21 Thread Frederik Schüler
Hello *, as the various ocf:*:ping[d] incarnations don't meet my specific needs, I wrote a small RA using ethtool to detect a network link failure, in order to trigger a failover. It's a first shot, comments are welcome. Best regards Frederik Schüler ifstatus Description:

Re: [Pacemaker] ifstatus OCF RA

2011-02-21 Thread Florian Haas
On 02/21/2011 08:00 PM, Frederik Schüler wrote: Hello *, as the various ocf:*:ping[d] incarnations don't meet my specific needs, May I ask why and how? I wrote a small RA using ethtool to detect a network link failure, in order to trigger a failover. Well, what if the link is up but

Re: [Pacemaker] ifstatus OCF RA

2011-02-21 Thread Frederik Schüler
Hi, On Monday 21 February 2011 21:29:19 Florian Haas wrote: as the various ocf:*:ping[d] incarnations don't meet my specific needs, May I ask why and how? ocf:pacemaker:ping works, but takes approx. 25-30s to react at all, and approx. 40s to complete the failover. But I need an immediate

Re: [Pacemaker] ifstatus OCF RA

2011-02-21 Thread Vladislav Bogdanov
Hi, 21.02.2011 22:29, Florian Haas wrote: On 02/21/2011 08:00 PM, Frederik Schüler wrote: Hello *, as the various ocf:*:ping[d] incarnations don't meet my specific needs, May I ask why and how? I was thinking about writing something similar. I need this in a quite complex networking setup,