Re: [Pacemaker] Migration atomicity

2012-03-19 Thread Andrew Beekhof
On Wed, Mar 14, 2012 at 6:40 PM, Vladislav Bogdanov wrote: > Hi, > > I'm observing a little bit unintuitive behavior of migration logic when > transition is aborted (due to CIB change) in the middle of the resource > migration. > > That is: > 1. nodea: migrate_to nodeb > 2. transition abort > 3. n

Re: [Pacemaker] Using shadow configurations noninteractively

2012-03-19 Thread Florian Haas
On Mon, Mar 19, 2012 at 9:00 PM, Phil Frost wrote: > On Mar 19, 2012, at 15:22 , Florian Haas wrote: >> On Mon, Mar 19, 2012 at 8:00 PM, Phil Frost >> wrote: >>> I'm attempting to automate my cluster configuration with Puppet. I'm >>> already using Puppet to manage the configuration of my Xen d

Re: [Pacemaker] Using shadow configurations noninteractively

2012-03-19 Thread Phil Frost
On Mar 19, 2012, at 15:22 , Florian Haas wrote: > On Mon, Mar 19, 2012 at 8:00 PM, Phil Frost wrote: >> I'm attempting to automate my cluster configuration with Puppet. I'm already >> using Puppet to manage the configuration of my Xen domains. I'd like to >> instruct puppet to apply the configur

Re: [Pacemaker] How to setup STONITH in a 2-node active/passive linux HA pacemaker cluster?

2012-03-19 Thread Florian Haas
On Mon, Mar 19, 2012 at 8:14 PM, Mathias Nestler wrote: > Hi everyone, > > I am trying to setup an active/passive (2 nodes) Linux-HA cluster with > corosync and pacemaker to hold a PostgreSQL-Database up and running. It works > via DRBD and a service-ip. If node1 fails, node2 should take over. T

Re: [Pacemaker] Using shadow configurations noninteractively

2012-03-19 Thread Florian Haas
On Mon, Mar 19, 2012 at 8:00 PM, Phil Frost wrote: > I'm attempting to automate my cluster configuration with Puppet. I'm already > using Puppet to manage the configuration of my Xen domains. I'd like to > instruct puppet to apply the configuration (via cibadmin) to a shadow config, > but I can

[Pacemaker] How to setup STONITH in a 2-node active/passive linux HA pacemaker cluster?

2012-03-19 Thread Mathias Nestler
Hi everyone, I am trying to setup an active/passive (2 nodes) Linux-HA cluster with corosync and pacemaker to hold a PostgreSQL-Database up and running. It works via DRBD and a service-ip. If node1 fails, node2 should take over. The same if PG runs on node2 and it fails. Everything works fine e

[Pacemaker] Using shadow configurations noninteractively

2012-03-19 Thread Phil Frost
I'm attempting to automate my cluster configuration with Puppet. I'm already using Puppet to manage the configuration of my Xen domains. I'd like to instruct puppet to apply the configuration (via cibadmin) to a shadow config, but I can't find any sure way to do this. The issue is that running "

Re: [Pacemaker] Promote of one resource leads to start of another resource in heartbeat cluster

2012-03-19 Thread Jake Smith
- Original Message - > From: "neha chatrath" > To: pacemaker@oss.clusterlabs.org > Sent: Monday, March 19, 2012 9:10:21 AM > Subject: [Pacemaker] Promote of one resource leads to start of > another resource in heartbeat cluster > Hello, > I have the following 2 node cluster configuratio

Re: [Pacemaker] Promote of one resource leads to start of another resource in heartbeat cluster

2012-03-19 Thread emmanuel segura
are you sure the ocf:heartbeat:jboss it can used as ms? because if remember well the script agent must has the support and promote option Sorry for my bad english http://linux-ha.org/doc/man-pages/re-ra-jboss.html Il giorno 19 marzo 2012 14:10, neha chatrath ha scritto: > Hello, > I have the

[Pacemaker] Promote of one resource leads to start of another resource in heartbeat cluster

2012-03-19 Thread neha chatrath
Hello, I have the following 2 node cluster configuration: "node $id="15f8a22d-9b1a-4ce3-bca2-05f654a9ed6a" cps2 \ attributes standby="off" node $id="d3088454-5ff3-4bcd-b94c-5a2567e2759b" cps1 \ attributes standby="off" primitive CPS ocf:heartbeat:jboss_cps \ params jboss_ho

Re: [Pacemaker] How to stop a resource?

2012-03-19 Thread Dejan Muhamedagic
Hi, On Mon, Mar 19, 2012 at 09:27:30AM +, Tim Ward wrote: > > From: Lars Marowsky-Bree [mailto:l...@suse.com] > > > > > > crm has a synchronous mode nowadays too. > > > > > How do I use that? - I haven't noticed it in any of the > > documentation that I've found. > > > > crm -w > > > > ma

Re: [Pacemaker] How to stop a resource?

2012-03-19 Thread Tim Ward
> From: Lars Marowsky-Bree [mailto:l...@suse.com] > > > > crm has a synchronous mode nowadays too. > > > How do I use that? - I haven't noticed it in any of the > documentation that I've found. > > crm -w > > man crm should have it, if you've got a recent enough version. The documentation on

Re: [Pacemaker] Sporadic problems of rejoin after split brain situation

2012-03-19 Thread Roman Sidler
Andrew Beekhof writes: > > On Mon, Mar 19, 2012 at 10:53 AM, Roman Sidler > wrote: > The CCM (part of heartbeat) is known not to be particularly awesome in > such scenarios and it appears to be the case again here: > > Mar 16 01:35:31 oan1 crmd: [7601]: info: ccm_event_detail: NEW MEMBERSHIP: