On Wed, Sep 21, 2011 at 7:15 PM, Uwe Weiss <[email protected]> wrote:
> Hello List,
>
>
>
> I have a problem in creating a constraint. I hope that someone could help me
> and give me a hint.
>
>
>
> I have three resources (A,B,C) and two cluster nodes (node0,node1). Resource
> A can run only on node0 and resource B can run only node1.
>
> I managed this by resource-stickiness INFINITY for each resource.

Better to do it the other way, set -INFINITY for the nodes it can't run on.

>
>
>
> Resource C can run on both nodes but  on node0 only if resource A is up and
> running or on node 1 if resource B is up and running.
>
> Additionally resource C can only start after resource A or B

Currently its not possible to express order {A or B} then C

>
>
>
> How do I have to create resource order constraints and resource location
> constraints that meets the requirement of resource C
>
>
>
> Thx in advance
>
> Uwe
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to