[ClusterLabs] constraining multiple cloned resources to the same node
john tillman
johnt at panix.com
Tue Mar 15 14:28:43 EDT 2022
A "set" ... I missed that construct. That may be what I need. Thank you
for the suggestion. I shall pursue it.
-John
> 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