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

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Jul 6 03:18:00 EDT 2017


>>> Ken Gaillot <kgaillot at redhat.com> schrieb am 29.06.2017 um 19:27 in Nachricht
<e4143b59-12a1-312b-3cca-20e3f0c01d83 at redhat.com>:
> 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.
> 
> 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.

Some things to consider: If you have a start/stop for pacemaker in the runlevel scripts, a clean reboot should be no problem. However if you want to boot multiple times, it may be preferrable to deactivate automatic pacemaker start or set the node to standby until maintenance has finished.

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








More information about the Users mailing list