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

Ken Gaillot kgaillot at redhat.com
Thu Feb 27 12:54:52 EST 2020


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. FYI, there is a
stop-all-resources cluster property that would let you disable
everything in one step.
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list