[ClusterLabs] Stopping all nodes causes servers to migrate

Andrei Borzenkov arvidjaar at gmail.com
Mon Jan 25 06:01:52 EST 2021

On Mon, Jan 25, 2021 at 12:07 PM Jehan-Guillaume de Rorthais
<jgdr at dalibo.com> wrote:

> As actions during a cluster shutdown cannot be handled in the same transition
> for each nodes, I usually add a step to disable all resources using property
> "stop-all-resources" before shutting down the cluster:
>   pcs property set stop-all-resources=true
>   pcs cluster stop --all

How exactly does it interact with target-role of each individual
resource? What has precedence? Does this option stop resources once or
it will prevent activation of resources when the cluster is restarted?

Sorry for questions, but there is no documentation really beyond that
"stop-all-resources" will stop all resources.

More information about the Users mailing list