[Pacemaker] pacemaker-remote location constraint

Patrick Hemmer pacemaker at feystorm.net
Tue Sep 9 02:41:27 UTC 2014


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".

-Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140908/9a6c4ae7/attachment-0003.html>


More information about the Pacemaker mailing list