[ClusterLabs] Failover due to intermittent network partition.

2017-08-10 Thread neeraj ch
Hello, I have a three node pacemaker cluster running using the Master Slave primitive. Its an asymmetric cluster with one node running as master and the other one as slave, the third one serving as a quoram node. Our DC has frequent network issues. One thing, in particular, is the master

Re: [ClusterLabs] big trouble with a DRBD resource

2017-08-10 Thread Kristoffer Grönlund
"Lentes, Bernd" writes: > In both cases i'm inside crmsh. > The difference is that i always enter the complete command from the highest > level of crm. This has the advantage that i can execute any command from the > history directly. > And this has a kind

Re: [ClusterLabs] nginx resource - how to reload config or do a config test

2017-08-10 Thread Jan PokornĂ˝
On 07/08/17 11:53 -0500, Ken Gaillot wrote: > On Mon, 2017-08-07 at 16:32 +0200, Przemyslaw Kulczycki wrote: >> 2) How do I do an nginx config test with the clustered resource? >> >> >> I know I can do a "nginx -t", but is there an option to do it using >> pacemaker/pcs commands on both nodes? >

Re: [ClusterLabs] big trouble with a DRBD resource

2017-08-10 Thread Lentes, Bernd
- On Aug 10, 2017, at 2:11 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote: > > if you use crmsh "interactively", > crmsh does implicitly use a shadow cib, > and will only commit changes once you "commit", > see "crm configure help commit" > Hi, i tested it: First try: crm(live)#

Re: [ClusterLabs] IPaddr2 RA and bonding

2017-08-10 Thread Ken Gaillot
On Thu, 2017-08-10 at 11:02 +, Tomer Azran wrote: > That looks exactly what I needed - it works. > I had to change the RA since I don't want to give an interface name as a > parameter (it might change from server to server and I want to create a > cloned resource). > I changed the RA a

[ClusterLabs] Antw: Re: big trouble with a DRBD resource

2017-08-10 Thread Ulrich Windl
>>> Lars Ellenberg schrieb am 10.08.2017 um 14:11 in Nachricht <20170810121025.GB22663@soda.linbit>: > On Wed, Aug 09, 2017 at 06:48:01PM +0200, Lentes, Bernd wrote: >> >> >> - Am 8. Aug 2017 um 15:36 schrieb Lars Ellenberg lars.ellenb...@linbit.com: >> >> > crm

Re: [ClusterLabs] big trouble with a DRBD resource

2017-08-10 Thread Lars Ellenberg
On Wed, Aug 09, 2017 at 06:48:01PM +0200, Lentes, Bernd wrote: > > > - Am 8. Aug 2017 um 15:36 schrieb Lars Ellenberg > lars.ellenb...@linbit.com: > > > crm shell in "auto-commit"? > > never seen that. > > i googled for "crmsh autocommit pacemaker" and found that: >

Re: [ClusterLabs] IPaddr2 RA and bonding

2017-08-10 Thread Tomer Azran
That looks exactly what I needed - it works. I had to change the RA since I don't want to give an interface name as a parameter (it might change from server to server and I want to create a cloned resource). I changed the RA a little bit to be able to guess the interface name based on a IP