Re: [Pacemaker] Creating a safe cluster-node shutdown script (for when UPS goes OnBattery+LowBattery)

2014-07-04 Thread Giuseppe Ragusa
> Date: Fri, 4 Jul 2014 23:17:07 +0900 > From: li...@alteeve.ca > To: pacemaker@oss.clusterlabs.org > Subject: Re: [Pacemaker] Creating a safe cluster-node shutdown script (for > when UPS goes OnBattery+LowBattery) > > On 04/07/14 02:16 PM, Giuseppe Ragusa wrote: > > Hi all, > > I'm trying to cre

Re: [Pacemaker] [DRBD-user] DRBD active/passive on Pacemaker+CMAN cluster unexpectedly performs STONITH when promoting

2014-07-04 Thread Giuseppe Ragusa
> > The setup "almost" works (all seems ok with: "pcs status", "crm_mon > > -Arf1", "corosync-cfgtool -s", "corosync-objctl | grep member") , but > > every time it needs a resource promotion (to Master, i.e. becoming > > primary) it either fails or fences the other node (the one supposed to > > bec

Re: [Pacemaker] Pacemaker 1.1: cloned stonith resources require --force to be added to levels

2014-07-04 Thread Giuseppe Ragusa
From: and...@beekhof.net Date: Fri, 4 Jul 2014 22:50:28 +1000 To: pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] Pacemaker 1.1: cloned stonith resources require --force to be added to levels On 4 Jul 2014, at 1:29 pm, Giuseppe Ragusa wrote: > >> Hi all, > >> while creating a c

Re: [Pacemaker] Creating a safe cluster-node shutdown script (for when UPS goes OnBattery+LowBattery)

2014-07-04 Thread Digimer
On 04/07/14 02:16 PM, Giuseppe Ragusa wrote: Hi all, I'm trying to create a script as per subject (on CentOS 6.5, CMAN+Pacemaker, only DRBD+KVM active/passive resources; SNMP-UPS monitored by NUT). Ideally I think that each node should stop (disable) all locally-running VirtualDomain resources (

Re: [Pacemaker] Pacemaker 1.1: cloned stonith resources require --force to be added to levels

2014-07-04 Thread Andrew Beekhof
On 4 Jul 2014, at 1:29 pm, Giuseppe Ragusa wrote: > >> Hi all, > >> while creating a cloned stonith resource > > > > Any particular reason you feel the need to clone it? > > In the end, I suppose it's only a "purist mindset" :) because it is a PDU > whose power outlets control both nodes, so

Re: [Pacemaker] [DRBD-user] DRBD active/passive on Pacemaker+CMAN cluster unexpectedly performs STONITH when promoting

2014-07-04 Thread Lars Ellenberg
On Thu, Jul 03, 2014 at 04:05:36AM +0200, Giuseppe Ragusa wrote: > Hi all, > I deployed a 2 nodes (physical) RHCS Pacemaker cluster on CentOS 6.5 x86_64 > (fully up-to-date) with: > > cman-3.0.12.1-59.el6_5.2.x86_64 > pacemaker-1.1.10-14.el6_5.3.x86_64 > pcs-0.9.90-2.el6.centos.3.noarch > qemu-kv