[ClusterLabs] What triggers fencing?
kwenning at redhat.com
Mon Jul 9 08:31:42 EDT 2018
On 07/09/2018 02:04 PM, Confidential Company wrote:
> Any ideas what triggers fencing script or stonith?
> Given the setup below:
> 1. I have two nodes
> 2. Configured fencing on both nodes
> 3. Configured delay=15 and delay=30 on fence1(for Node1) and
> fence2(for Node2) respectively
> *What does it mean to configured delay in stonith? wait for 15 seconds
> before it fence the node?
Given that on a 2-node-cluster you don't have real quorum to make one
partial cluster fence the rest of the nodes the different delays are meant
to prevent a fencing-race.
Without different delays that would lead to both nodes fencing each
other at the same time - finally both being down.
> *Given Node1 is active and Node2 goes down, does it mean fence1 will
> first execute and shutdowns Node1 even though Node2 goes down?
If Node2 managed to sign off properly it will not.
If network-connection is down so that Node2 can't inform Node1 that it
down and finally has stopped all resources it will be fenced by Node1.
> Users mailing list: Users at clusterlabs.org
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users