Re: [Pacemaker] Master is restarted when other node comes online

2014-09-29 Thread Andrew Beekhof
On 28 Sep 2014, at 5:56 pm, Andrei Borzenkov wrote: > I have two node cluster with single master/slave resource (replicated > database) using pacemaker+openais on SLES11 SP3 (pacemaker > 1.1.11-3ca8c3b). I hit weird situation that I did not see before, and > I cannot really understand it. Assumi

Re: [Pacemaker] Force Pacemaker to not monitor resources on a node

2014-09-29 Thread Andrew Beekhof
On 27 Sep 2014, at 5:40 am, Arnold Krille wrote: > Hi, > > On Fri, 26 Sep 2014 12:46:30 +0200 Felix Zachlod > wrote: >> I am currently trying to add a third node only for giving a quorum a >> to the cluster in case a servicing node fails. But oviously I can't >> get it right. > >> This is the

Re: [Pacemaker] supportted arch for pacemaker

2014-09-29 Thread Andrew Beekhof
On 25 Sep 2014, at 8:25 pm, Andrew Beekhof wrote: > > On 25 Sep 2014, at 6:49 pm, Gang U Xu wrote: > >> Hi , >> >> I am new to pacemaker. >> I searched from google and can only find rpm for rhel with x86 arch >> Can pacemaker installed on rhel 6/7 with ppc64 arch and s390x arch? > > It

Re: [Pacemaker] High CIB load on DC election

2014-09-29 Thread Andrew Beekhof
On 22 Sep 2014, at 11:22 pm, Cédric Dufour - Idiap Research Institute wrote: > Hello again, > > My PM 1.1.12 cluster is quite large: 22 nodes, ~300 resources. > > When gracefully shutting down the current DC (iow. move resources elsewhere, > node standby, pacemaker stop, corosync stop) the C

[Pacemaker] Resource Netctl - systemd unit - cycled restarting

2014-09-29 Thread Dmitry Pozdeiev
Hello, friends. I have two-node cluster (nodes named 'obvo' as primary and 'back' as backup). I'm trying to make cluster to keep VLAN-interface with a number of IP-addresses. But problem is when resource (systemd unit) runs on 'obvo' it does cycled restarts until I stop resource. On 'back' this pr

Re: [Pacemaker] Resource Netctl - systemd unit - cycled restarting

2014-09-29 Thread Dmitry Pozdeiev
Forgot provide system info. Gentoo Linux 3.14.14 x86_64 systemd 215-r3 netctl 1.9 corosync 2.3.3 pacemaker 1.1.10 ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.

Re: [Pacemaker] can we update an attribute with cmpxchg "atomic compare and exchange" semantics?

2014-09-29 Thread Lars Ellenberg
On Wed, Sep 10, 2014 at 11:50:58AM +0200, Lars Ellenberg wrote: > > Hi Andrew (and others). > > For a certain use case (yes, I'm talking about DRBD "peer-fencing" on > loss of replication link), it would be nice to be able to say: > > update some_attribute=some_attribute+1 where some_attribute

Re: [Pacemaker] Resource Netctl - systemd unit - cycled restarting

2014-09-29 Thread Andrew Beekhof
On 30 Sep 2014, at 5:32 am, Dmitry Pozdeiev wrote: > Forgot provide system info. > > Gentoo Linux 3.14.14 x86_64 > systemd 215-r3 > netctl 1.9 > corosync 2.3.3 > pacemaker 1.1.10 ^^ systemd support has been a bit of a recurring thorn of late. You probably need to upgrade pacemaker all the way

Re: [Pacemaker] can we update an attribute with cmpxchg "atomic compare and exchange" semantics?

2014-09-29 Thread Andrew Beekhof
On 30 Sep 2014, at 6:22 am, Lars Ellenberg wrote: > On Wed, Sep 10, 2014 at 11:50:58AM +0200, Lars Ellenberg wrote: >> >> Hi Andrew (and others). >> >> For a certain use case (yes, I'm talking about DRBD "peer-fencing" on >> loss of replication link), it would be nice to be able to say: >> >>