[ClusterLabs] what is the "best" way to completely shutdown a two-node cluster ?
Jehan-Guillaume de Rorthais
jgdr at dalibo.com
Thu Feb 10 04:15:08 EST 2022
On Wed, 9 Feb 2022 17:42:35 +0000 (UTC)
Strahil Nikolov via Users <users at clusterlabs.org> wrote:
> If you gracefully shutdown a node - pacemaker will migrate all resources away
> so you need to shut them down simultaneously and all resources should be
> stopped by the cluster.
>
> Shutting down the nodes would be my choice.
If you want to gracefully shutdown your cluster, then you can add one manual
step to first gracefully stop your resources instead of betting the cluster
will do the good things.
As far as I remember, there's no way the DC/CRM can orchestrate the whole
cluster shutdown gracefully in the same transition. So I prefer standing on the
safe side and add one step to my procedure.
I even add it with commands like `pcs cluster stop --all` which tries to
shutdown all the nodes "kind of" in the same time everywhere. At least, I know
where my resources were stopped and how they will start. It might be important
when you deal with eg. permanent promotion scores.
++
More information about the Users
mailing list