[Pacemaker] the scores meaning

Andrew Beekhof andrew at beekhof.net
Fri Nov 6 11:57:31 UTC 2009


On Fri, Nov 6, 2009 at 12:43 PM, gilberto migliavacca <gbmiglia at yahoo.it> wrote:
> Hi
>
> I configure the crm with the following info:
>
> node redhat02.funambol.com
> node redhat03.funambol.com
> primitive res.wor77.1 ocf:heartbeat:funambolworker \
>        meta target-role="Started" \
>        op monitor interval="10s" timeout="30s" start-delay="0" \
>        params worker_home="/etc/httpd/conf.d" worker_id="DS11"
> location lo.wor77.1 res.wor77.1 inf: redhat02.funambol.com
> location lo.wor78.1 res.wor77.1 inf: redhat03.funambol.com
> property $id="cib-bootstrap-options" \
>        dc-version="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7" \
>        cluster-infrastructure="openais" \
>        expected-quorum-votes="2" \
>        stonith-enabled="false"
>
>
> note: the funambolworker is a my own "ra"
>
> My question is:
>
> is it correct to set INF on both node?

http://www.clusterlabs.org/doc/pacemaker-explained/s-resource-location.html#node-score-equal

>
> from the documentation I understand that
> INFINITY  value indicates the resource must run on this node.
>
>
> thanks in advance
> regards
>
> gilberto
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list