[Pacemaker] pacemaker 1.1.6 and resource priorities.
Florian Haas
florian at hastexo.com
Tue Nov 29 12:37:03 UTC 2011
On Tue, Nov 29, 2011 at 12:58 PM, Roman Moskvitin <nefer05 at 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
More information about the Pacemaker
mailing list