[ClusterLabs] Antwort: Antw: Antwort: Re: reboot node / cluster standby
Ken Gaillot
kgaillot at redhat.com
Tue Jul 11 10:20:20 EDT 2017
On 07/11/2017 07:34 AM, philipp.achmueller at arz.at wrote:
>
>
> Mit freundlichen Grüßen / best regards
> *
> Dipl.-Ing. (FH) Philipp Achmüller*
> *
> ARZ Allgemeines Rechenzentrum GmbH*
> UNIX Systems
>
> A-6020 Innsbruck, Tschamlerstraße 2
> Tel: +43 / (0)50 4009-1917 _
> __philipp.achmueller at arz.at _ <mailto:philipp.achmueller at arz.at>_
> __http://www.arz.at_ <http://www.arz.at/>
> Landes- als Handelsgericht Innsbruck, FN 38653v
> DVR: 0419427
> _
> _<http://www.arz.at/>
> ------------------------------------------------------------------------
>
>
> "Ulrich Windl" <Ulrich.Windl at rz.uni-regensburg.de> schrieb am 06.07.2017
> 09:24:12:
>
>> Von: "Ulrich Windl" <Ulrich.Windl at rz.uni-regensburg.de>
>> An: <users at clusterlabs.org>
>> Datum: 06.07.2017 09:28
>> Betreff: [ClusterLabs] Antw: Antwort: Re: reboot node / cluster standby
>>
>> >>> <philipp.achmueller at arz.at> schrieb am 03.07.2017 um 15:30 in
> Nachricht
>> <OF2758213A.F6DC56EE-ONC1258152.0046DE1E-C1258152.004A31DF at arz.at>:
>> > 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?
>>
>> What is the command to to do that? If doing it sequentially, I'd
>> wait before the DC returns to IDLE state before starting the next
>> command. One rule of cluster is "be patient!" ;-)
>> [...]
>
> on other cluster-software i used the standby function to free several
> Nodes from Resources in parallel and issued a distributed shutdown from
> my jumphost afterwards. when resource move is beeing initiated during
> server shutdown i think i have to do it sequential, or does pacemaker
> can handle shutdown command from several nodes parallel?
>
>>
>> Regards,
>> Ulrich
Pacemaker can shutdown any number of nodes in parallel, though of course
if there is some time between each, there may be unnecessary resource
migrations as resources move to a node that is soon to be shut down
itself and so have to move again. If they are shut down within a few
seconds, Pacemaker will only have to move (or stop) resources once.
More information about the Users
mailing list