[ClusterLabs] Antw: Re: Antw: [EXT] Coming in Pacemaker 2.0.4: shutdown locks

Andrei Borzenkov arvidjaar at gmail.com
Thu Feb 27 14:39:18 EST 2020


27.02.2020 20:54, Ken Gaillot пишет:
> On Thu, 2020-02-27 at 18:43 +0100, Jehan-Guillaume de Rorthais wrote:
>>>> Speaking about shutdown, what is the status of clean shutdown of
>>>> the
>>>> cluster handled by Pacemaker? Currently, I advice to stop
>>>> resources
>>>> gracefully (eg. using pcs resource disable [...]) before shutting
>>>> down each
>>>> nodes either by hand or using some higher level tool (eg. pcs
>>>> cluster stop
>>>> --all).  
>>>
>>> I'm not sure why that would be necessary. It should be perfectly
>>> fine
>>> to stop pacemaker in any order without disabling resources.
>>
>> Because resources might move around during the shutdown sequence. It
>> might
>> not be desirable as some resource migration can be heavy, long,
>> interfere
>> with shutdown, etc. I'm pretty sure this has been discussed in the
>> past.
> 
> Ah, that makes sense, I hadn't thought about that.

Is not it exactly what shutdown-lock does? It prevents resource
migration when stopping pacemaker so my expectation is that if we stop
pacemaker on all nodes no resource is moved. Or what am I missing?


More information about the Users mailing list