[Linux-HA] Need a rule
beekhof at gmail.com
Mon Jul 30 01:07:24 MDT 2007
On 7/25/07, matilda matilda <matilda at grandel.de> wrote:
> >>> Max Hofer <max.hofer at apus.co.at> 25.07.2007 12:12 >>>
> > This is a simple assymetric co-location rule (since 2.0.8 all co-location
> > rules are assymetric).
> > This means write a rule that B follows A:
> > <rsc_colocation id="B_follows_A" from="B" to="A" score="INFINITY"/>
> Hi Max,
> that is exactly what I thought, too.
> BUT: With this constraint, if A is NOT started, B wouldn't be started either.
> And I want B to be started in this case totally independent of A.
if you want the opposite:
" if B is NOT started, A wouldn't be started either."
then swap the from= and to=
otherwise, grab the latest version and set score to something like 50000.
> > INFINITY is only a suggection. Just make sure the co-location rule has high
> > enough score so that it over powers the resource-stickiness of B (if you
> > defined one - this should be the case if the resource stickiness of B is 0).
> Does this mean, that the docu is outdated at this point?
> Docu says, that at
> the moment (I don't know which moment) only INFINITY and -INFINITY are allowed.
thats no longer true
More information about the Linux-HA