[ClusterLabs] constraining multiple cloned resources to the same node

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Tue Mar 15 12:59:35 EDT 2022


Hi,

On Tue, 15 Mar 2022 12:35:11 -0400
"john tillman" <johnt at panix.com> wrote:

> I'm trying to guarantee that all my cloned drbd resources start on the
> same node and I can't figure out the syntax of the constraint to do it.
> 
> I could nominate one of the drbd resources as a "leader" and have all the
> others follow it.  But then if something happens to that leader the others
> are without constraint.

I never had to setup such a thing, but isn't it a "resource set" with a
colocation constraint? See below links:

https://clusterlabs.org/pacemaker/doc/2.1/Pacemaker_Explained/singlehtml/index.html#s-resource-sets
https://clusterlabs.org/pacemaker/doc/2.1/Pacemaker_Explained/singlehtml/#using-promotable-clone-resources-in-colocation-sets

Regards,


More information about the Users mailing list