On 06/22/2012 05:58 AM, Sergey Tachenov wrote:
Why the score for the DBIP is -INFINITY on the srvplan2? The only INF
rule in my config is the collocation rule for the postgres group.

This sounds not unlike an issue I'm experencing. See here:

http://oss.clusterlabs.org/pipermail/pacemaker/2012-June/014430.html

As for why DBIP is -INFINITY on srvplan2, it's because by the time the score for srvplan2 is calculated, the DRBD master has already been placed on srvplan1, and postgres_on_drbd requires that DBIP be on the DRBD master.

I think the better question to ask is why the promotion score on srvplan1 is higher than srvplan2. As I understand it, the promotion scores should take into account the scores of all the other resources colocated with it, but that doesn't seem to be occurring.


_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to