On Tue, May 5, 2009 at 11:32 PM, Kevin Harms <[email protected]> wrote:
>
>   In the following documentation: 
> http://clusterlabs.org/mediawiki/images/7/7d/Configuration_Explained_0.6.pdf
>  there is a sub-heading titled "What if Two Nodes Have the Same
> Score" that contains the statement "It would likely have placed
> Webserver based on the node’s uname and Database based on the desire
> to spread the resource load evenly across the cluster."
>
>   I would like to know how the "desire to spread the resource load
> evenly" is determined?

If two nodes have the same score, the one with the least number of
resources on it gets the next one.
If both have the same amount, its effectively random.

>I'm trying to setup my cluster so resource will
> end up on my "backup" node when a primary node fails.

Give it a lower score (with a rsc_location constraint) than the
primary and a higher score than the other nodes in the cluster.
_______________________________________________
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