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

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Thu Feb 27 13:05:37 EST 2020


On Thu, 27 Feb 2020 11:54:52 -0600
Ken Gaillot <kgaillot at redhat.com> wrote:

> 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.

Yes, I discovered it some weeks ago, thanks :)



More information about the Users mailing list