[Pacemaker] pacemaker-remote location constraint

Andrew Beekhof andrew at beekhof.net
Tue Sep 9 22:52:06 EDT 2014


On 10 Sep 2014, at 3:56 am, David Vossel <dvossel at redhat.com> wrote:

> 
> 
> ----- Original Message -----
>> Is it possible to put a location constraint on a resource such that it will
>> only run on a pacemaker-remote node? Or vice-versa, so that a resource will
>> not run on a pacemaker-remote node?
>> 
>> At a glance, this doesn't seem possible as the pacemaker-remote node does not
>> exist as a <node> entry in the CIB, so there's nothing to match on. Is it
>> possible to match on the absence of that <node> entry?
>> 
>> The only other way I can think of doing this is to set utilization
>> attributes, such that the remote nodes provide a "remote" utilization
>> attribute, and configure the resource such that it needs 1 unit of "remote".
> 
> There is definitely a way to do this already. I can't remember how though.
> 
> Andrew, I know we discussed this a few months ago and you immediately rattled
> off how we allow this.  Do you remember?

#kind eq (container|cluster)

> 
> -- Vossel
> 
> 
> 
> 
>> -Patrick
>> 
>> _______________________________________________
>> 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://bugs.clusterlabs.org
>> 
> 
> _______________________________________________
> 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://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140910/a1bf4b29/attachment-0003.sig>


More information about the Pacemaker mailing list