[ClusterLabs] Mutually exclusive resources ?

Andrei Borzenkov arvidjaar at gmail.com
Wed Sep 27 08:42:53 EDT 2023


On Wed, Sep 27, 2023 at 3:21 PM Adam Cecile <acecile at le-vert.net> wrote:
>
> Hello,
>
>
> I'm struggling to understand if it's possible to create some kind of constraint to avoid two different resources to be running on the same host.
>
> Basically, I'd like to have floating IP "1" and floating IP "2" always being assigned to DIFFERENT nodes.
>
> Is that something possible ?

Sure, negative colocation constraint.

> Can you give me a hint ?
>

Using crmsh:

colcoation IP1-no-with-IP2 -inf: IP1 IP2

>
> Thanks in advance, Adam.
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/


More information about the Users mailing list