[Linux-HA] rule: run resource A if resource B or resource C run
on the node
Andrew Beekhof
beekhof at gmail.com
Wed Oct 4 05:30:08 MDT 2006
On 10/3/06, Max Hofer <max.hofer at apus.co.at> wrote:
> Maybe i do not understand with the whole resource stickiniess and depedencies.
>
> Here my problem:
>
> nodes: 2 (management1, management2)
> resources:
> - pt_isdn_1: ISDN card on management1
> - pt_iasn_2: ISDN card on management2
> - mgmt_software: software on management cluster which needs a running ISDN
> card (i.e., pt_isdn_1 or pt_isdn2)
>
> Requirements:
> * both ISDN cards have to be monitored
>
> Already implemented constraints:
> - pt_isdn_1 runs only on management1
> - pt_isdn_2 runs only on management2
>
> How do i define following constraint?
> - run mgmt_software on a node where either pt_isdn_1 is running or pt_isdn_2
> is running
this is why i asked if pt_isdn_1 and pt_isdn_2 ever need to be running
at the same time.
if not, just have pt_isdn, allow it to run on either node, and then
co-locate mgmt_software with pt_isdn.
if they do, then you need to wait for 2.0.8
More information about the Linux-HA
mailing list