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