On Tue, Nov 29, 2011 at 12:58 PM, Roman Moskvitin <nefe...@gmail.com> wrote:
> Hello.
> I need help with pacemaker 1.1.6 and "priority".
> I get cloned resource "qm", running on all nodes.
> And need to run another resource, "moderate" with one condition. On a
> node, that runs "moderate" resource, resource "qm" must be stopped. By
> doc i can simple add "meta priority=5" to the resource definition, but
> in real it does not work. I know, that i can decrease clone-max value,
> but i want to get it work with priority.

Why mess with priorities? You can do that with a simple anti-colocation.

colocation c_qm_not_on_moderate -inf: qm moderate

Hope this helps,
Florian


-- 
Need help with Pacemaker?
http://www.hastexo.com/knowledge/pacemaker

_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to