On 09/08/2016 06:33 PM, Digimer wrote:
> With 'fencing resource-and-stonith;' and a {un,}fence-handler set, DRBD
> will block when the peer is lost until the fence handler script returns
> indicating the peer was fenced/stonithed. In this way, the secondary
> WON'T promote to Primary while the
On 2016-09-08 02:03, Digimer wrote:
You need to solve the problem with fencing in DRBD. Leaving it off WILL
result in a split-brain eventually, full stop. With working fencing, you
will NOT get a split-brain, full stop.
"Split brain is a situation where, due to temporary failure of all
> Thank you for the responses, I followed Digimer's instructions along with
> some information I had read on the DRBD site and configured fencing on the
> DRBD resource. I also configured STONITH using IPMI in Pacemaker. I setup
> Pacemaker first and verified that it kills the other node.
>
>
Message: 1
Date: Wed, 7 Sep 2016 19:23:04 +0900
From: Digimer <li...@alteeve.ca>
To: Cluster Labs - All topics related to open-source clustering
welcomed<users@clusterlabs.org>
Subject: Re: [ClusterLabs] DRBD failover in Pacemaker
Message-ID: <b1e95242-1b0d-ed28
On 09/06/2016 02:04 PM, Devin Ortner wrote:
> I have a 2-node cluster running CentOS 6.8 and Pacemaker with DRBD. I have
> been using the "Clusters from Scratch" documentation to create my cluster and
> I am running into a problem where DRBD is not failing over to the other node
> when one goes
On Tue, Sep 6, 2016 at 1:04 PM, Devin Ortner <
devin.ort...@gtshq.onmicrosoft.com> wrote:
> Master/Slave Set: ClusterDBclone [ClusterDB]
> Masters: [ node1 ]
> Slaves: [ node2 ]
> ClusterFS (ocf::heartbeat:Filesystem):Started node1
>
As Digimer said, you really need fencing
On 2016-09-06 14:04, Devin Ortner wrote:
I have a 2-node cluster running CentOS 6.8 and Pacemaker with DRBD.
I have been using the "Clusters from Scratch" documentation to create my
cluster and I am running into a problem where DRBD is not failing over
to the other node when one goes down.
I
> no-quorum-policy: ignore
> stonith-enabled: false
You must have fencing configured.
CentOS 6 uses pacemaker with the cman plugin. So setup cman
(cluster.conf) to use the fence_pcmk passthrough agent, then setup
proper stonith in pacemaker (and test that it works). Finally, tell DRBD
to use
I have a 2-node cluster running CentOS 6.8 and Pacemaker with DRBD. I have been
using the "Clusters from Scratch" documentation to create my cluster and I am
running into a problem where DRBD is not failing over to the other node when
one goes down. Here is my "pcs status" prior to when it is