[ClusterLabs] Antw: Re: Antw: Re: questions about startup fencing

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Tue Dec 5 08:45:28 EST 2017



>>> Klaus Wenninger <kwenning at redhat.com> schrieb am 04.12.2017 um 16:20 in
Nachricht <24ed4710-322d-0560-b0ff-792cbf53d6bb at redhat.com>:
> On 12/04/2017 04:02 PM, Kristoffer Grönlund wrote:
>> Tomas Jelinek <tojeline at redhat.com> writes:
>>
>>>> * how is it shutting down the cluster when issuing "pcs cluster stop
--all"?
>>> First, it sends a request to each node to stop pacemaker. The requests 
>>> are sent in parallel which prevents resources from being moved from node 
>>> to node. Once pacemaker stops on all nodes, corosync is stopped on all 
>>> nodes in the same manner.
>>>
>>>> * any race condition possible where the cib will record only one node up

> before
>>>>    the last one shut down?
>>>> * will the cluster start safely?
>> That definitely sounds racy to me. The best idea I can think of would be
>> to set all nodes except one in standby, and then shutdown pacemaker
>> everywhere...
> 
> Really mean standby or rather maintenance to keep resources
> from switching to the still alive nodes during shutdown?

If all nodes are set to standby in one transaction, there is no switching,
just a stop of all resources.

> 
> Regards,
> Klaus
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org 
> http://lists.clusterlabs.org/mailman/listinfo/users 
> 
> Project Home: http://www.clusterlabs.org 
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
> Bugs: http://bugs.clusterlabs.org




More information about the Users mailing list