On 7/25/07, matilda matilda <[EMAIL PROTECTED]> wrote: > >>> Max Hofer <[EMAIL PROTECTED]> 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? yes > Docu says, that at > the moment (I don't know which moment) only INFINITY and -INFINITY are > allowed. thats no longer true _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
