[Pacemaker] symmetric anti-collocation

Andrew Beekhof andrew at beekhof.net
Fri Nov 12 02:31:45 EST 2010

On Thu, Nov 11, 2010 at 9:02 PM, Alan Jones <falancluster at gmail.com> wrote:
> How to I express symmetric anti-collocation in Pacemaker
> I'd like to write two rules:
> colocation X-Y -2: X Y
> colocation Y-X -2: Y X

the second one is implied by the first and is therefore redundant

> The idea is that external conditions could place either resource and
> I'd like Pacemaker to place the other accordingly.
> Unfortunately, Pacemaker will only apply the first such rule specified.
> Alan
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

More information about the Pacemaker mailing list