[Pacemaker] Node sends shutdown request to other node:error: handle_request: We didn't ask to be shut down, yet our DC is telling us too

Digimer lists at alteeve.ca
Wed Jul 17 15:10:41 UTC 2013


This isn't how fencing works. If a node enters an unknown state (stops 
responding to the other node(s)), it must be put into a known state. 
This mechanism must work without any input from the target node. If you 
try to do "resource level" fencing, you are assuming that the node can 
respond.

So the only two options you have are "power fencing" and "fabric 
fencing". The first forcibly powers off the node and the later severs 
the node's connection to the network. In either case, the node is taken 
offline.

Anything that leaves a node up and accessible, to any degree, is not a 
useful fence mechanism.

digimer

On 17/07/13 04:24, K Mehta wrote:
> Thanks Digimer. I will make sure that I configure fencing along with CMAN.
> I have multiple independent master slave resources in the cluster.
> A node could be master for few and slave for other resources.
> I need to make sure that fencing occurs at resource level
> (no klling of nodes) rather than at node level.I hope it is ok to embed
> logic of selective blocking of resources in  fencing agent.
>
>
> On Wed, Jul 17, 2013 at 9:15 AM, Digimer <lists at alteeve.ca
> <mailto:lists at alteeve.ca>> wrote:
>
>     On 16/07/13 09:03, K Mehta wrote:
>
>         I have a two node test cluster running with CMAN plugin. Fencing
>         is not
>         configured.
>
>
>     Andrew spoke to the pacemaker stuff. I want to reiterate what he
>     said on fencing though. Fencing *must* be used with cman. If fenced
>     calls a fence, nothing else will happen until the fence succeeds.
>     This is by design to avoid split-brains.
>
>     If you need help configuring stonith in pacemaker or using the
>     fence_pcmk fence agent hook in cluster.conf, please ask.
>
>     --
>     Digimer
>     Papers and Projects: https://alteeve.ca/w/
>     What if the cure for cancer is trapped in the mind of a person
>     without access to education?
>
>


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?




More information about the Pacemaker mailing list