[ClusterLabs] Antwort: Re: reboot node / cluster standby

philipp.achmueller at arz.at philipp.achmueller at arz.at
Mon Jul 3 13:30:24 UTC 2017


Ken Gaillot <kgaillot at redhat.com> schrieb am 29.06.2017 21:15:59:

> Von: Ken Gaillot <kgaillot at redhat.com>
> An: Ludovic Vaugeois-Pepin <ludovicvp at gmail.com>, Cluster Labs - All
> topics related to open-source clustering welcomed 
<users at clusterlabs.org>
> Datum: 29.06.2017 21:19
> Betreff: Re: [ClusterLabs] reboot node / cluster standby
> 
> On 06/29/2017 01:38 PM, Ludovic Vaugeois-Pepin wrote:
> > On Thu, Jun 29, 2017 at 7:27 PM, Ken Gaillot <kgaillot at redhat.com> 
wrote:
> >> On 06/29/2017 04:42 AM, philipp.achmueller at arz.at wrote:
> >>> Hi,
> >>>
> >>> In order to reboot a Clusternode i would like to set the node to 
standby
> >>> first, so a clean takeover for running resources can take in place.
> >>> Is there a default way i can set in pacemaker, or do i have to setup 
my
> >>> own systemd implementation?
> >>>
> >>> thank you!
> >>> regards
> >>> ------------------------
> >>> env:
> >>> Pacemaker 1.1.15
> >>> SLES 12.2
> >>
> >> If a node cleanly shuts down or reboots, pacemaker will move all
> >> resources off it before it exits, so that should happen as you're
> >> describing, without needing an explicit standby.
> > 

how does this work when evacuating e.g. 5 nodes out of a 10 node cluster 
at the same time?

> > This makes me wonder about timeouts. Specifically OS/systemd timeouts.
> > Say the node being shut down or rebooted holds a resource as a master,
> > and it takes a while for the demote to complete, say 100 seconds (less
> > than the demote timeout of 120s in this hypothetical scenario).  Will
> > the OS/systemd wait until pacemaker exits cleanly on a regular CentOS
> > or Debian?
> 
> Yes. The pacemaker systemd unit file uses TimeoutStopSec=30min.
> 
> > 
> > 
> >> Explicitly doing standby first would be useful mainly if you want to
> >> manually check the results of the takeover before proceeding with the
> >> reboot, and/or if you want the node to come back in standby mode next
> >> time it joins.
> 
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20170703/52b2d484/attachment-0002.html>


More information about the Users mailing list