[ClusterLabs] Disable all resources in a group if one or more of them fail and are unable to reactivate

Andrei Borzenkov arvidjaar at gmail.com
Wed Jan 27 13:03:08 EST 2021

27.01.2021 19:06, damiano giuliani пишет:
> Hi all im pretty new to the clusters, im struggling trying to configure a
> bounch of resources and test how they failover.my need is to start and
> manage a group of resources as one (in order to archive this a resource
> group has been created), and if one of them cant run and still fails, the
> cluster will try to restart the resource group in the secondary node, if it
> cant run the all the resource toghter disable all the resource group.
> i would like to know if there is a way to set the cluster to disable all
> the resources of the group (or the group itself) if it cant be run all the
> resoruces somewhere.

That's what pacemaker group does. I am not sure what you mean with
"disable all resources". If resource fail count on a node exceeds
threshold, this node is banned from running resource. If resource failed
on every node, no node can run it until you clear fail count.

"Disable resource" in pacemaker would mean setting its target-role to
stopped. That does not happen automatically (at least I am not aware of it).

More information about the Users mailing list