Hi

during the writeup of ScoreCalculation on the wiki, I noticed something strange. It'd be nice to know whether this is on purpose or a bug.

Test setup is:

2 nodes, 1 drbd device, a group of 3 resource which are to run on top of the drbd master.

resource_stickiness is set to 100

If I use a colocation constraint with a score of infinity, the master receives a stickiness bonus of 600.

If I change the colocation score to a numeric value (I tested 1000 and 5000), the bonus is reduced to 400.

I could explain the 600 as 2 * num_resources * stickiness, but I cannot see where those 400 come from.

Is this a bug or (why?) is this intended?

Regards
Dominik
_______________________________________________
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