[ClusterLabs] Does anyone use clone instance constraints from pacemaker-next schema?

Ken Gaillot kgaillot at redhat.com
Wed Jan 10 13:23:59 EST 2018

The pacemaker-next schema contains experimental features for testing
before potential release. To use these features, someone must
explicitly set validate-with in their configuration to pacemaker-next
(or its legacy alias, pacemaker-1.1).

There is a feature that has been hanging around in there for a long
time: the ability to reference particular instances of a clone in
constraints, using "rsc-instance"/"with-rsc-instance" (colocation) or
"first-instance"/"then-instance" (ordering).

The originally proposed use case (back in 2009) was having separate IP
addresses, each associated with one copy of the clone:


My question is: has anyone used or tested this, or is anyone interested
in this? We won't promote it to the default schema unless it is tested.

My feeling is that it is more likely to be confusing than helpful, and
there are probably ways to achieve any reasonable use case with
existing syntax.
Ken Gaillot <kgaillot at redhat.com>

More information about the Users mailing list