<tt><font size=2>Ken Gaillot <kgaillot@redhat.com> schrieb am 29.06.2017
21:15:59:<br>
<br>
> Von: Ken Gaillot <kgaillot@redhat.com></font></tt>
<br><tt><font size=2>> An: Ludovic Vaugeois-Pepin <ludovicvp@gmail.com>,
Cluster Labs - All<br>
> topics related to open-source clustering welcomed <users@clusterlabs.org></font></tt>
<br><tt><font size=2>> Datum: 29.06.2017 21:19</font></tt>
<br><tt><font size=2>> Betreff: Re: [ClusterLabs] reboot node / cluster
standby</font></tt>
<br><tt><font size=2>> <br>
> On 06/29/2017 01:38 PM, Ludovic Vaugeois-Pepin wrote:<br>
> > On Thu, Jun 29, 2017 at 7:27 PM, Ken Gaillot <kgaillot@redhat.com>
wrote:<br>
> >> On 06/29/2017 04:42 AM, philipp.achmueller@arz.at wrote:<br>
> >>> Hi,<br>
> >>><br>
> >>> In order to reboot a Clusternode i would like to set
the node to standby<br>
> >>> first, so a clean takeover for running resources can
take in place.<br>
> >>> Is there a default way i can set in pacemaker, or do
i have to setup my<br>
> >>> own systemd implementation?<br>
> >>><br>
> >>> thank you!<br>
> >>> regards<br>
> >>> ------------------------<br>
> >>> env:<br>
> >>> Pacemaker 1.1.15<br>
> >>> SLES 12.2<br>
> >><br>
> >> If a node cleanly shuts down or reboots, pacemaker will move
all<br>
> >> resources off it before it exits, so that should happen as
you're<br>
> >> describing, without needing an explicit standby.</font></tt>
<br><tt><font size=2>> > </font></tt>
<br>
<br><tt><font size=2>how does this work when evacuating e.g. 5 nodes out
of a 10 node cluster at the same time?</font></tt>
<br><tt><font size=2><br>
> > This makes me wonder about timeouts. Specifically OS/systemd
timeouts.<br>
> > Say the node being shut down or rebooted holds a resource as
a master,<br>
> > and it takes a while for the demote to complete, say 100 seconds
(less<br>
> > than the demote timeout of 120s in this hypothetical scenario).
Will<br>
> > the OS/systemd wait until pacemaker exits cleanly on a regular
CentOS<br>
> > or Debian?<br>
> <br>
> Yes. The pacemaker systemd unit file uses TimeoutStopSec=30min.</font></tt>
<br><tt><font size=2>> <br>
> > <br>
> > <br>
> >> Explicitly doing standby first would be useful mainly if
you want to<br>
> >> manually check the results of the takeover before proceeding
with the<br>
> >> reboot, and/or if you want the node to come back in standby
mode next<br>
> >> time it joins.</font></tt>
<br><tt><font size=2>> <br>
> _______________________________________________<br>
> Users mailing list: Users@clusterlabs.org<br>
> </font></tt><a href=http://lists.clusterlabs.org/mailman/listinfo/users><tt><font size=2>http://lists.clusterlabs.org/mailman/listinfo/users</font></tt></a><tt><font size=2><br>
> <br>
> Project Home: </font></tt><a href=http://www.clusterlabs.org/><tt><font size=2>http://www.clusterlabs.org</font></tt></a><tt><font size=2><br>
> Getting started: </font></tt><a href=http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf><tt><font size=2>http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</font></tt></a><tt><font size=2><br>
> Bugs: </font></tt><a href=http://bugs.clusterlabs.org/><tt><font size=2>http://bugs.clusterlabs.org</font></tt></a><tt><font size=2><br>
</font></tt><font size=2 face="sans-serif"><br>
</font>