[Pacemaker] the scores meaning

gilberto migliavacca gbmiglia at yahoo.it
Fri Nov 6 15:22:59 UTC 2009


Hi Andrew

maybe  trying to do an operation that cannot be provided
by the pacemaker, but I try to explain it.

I have a configuration like the previous one

 >> primitive res.wor.ds11 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.wor.ds11.1 res.wor.ds11 inf: redhat01.funambol.com
 >> location lo.wor.ds11.2 res.wor.ds11 inf: redhat02.funambol.com


My purpose is to run the same resource at the same time on both
nodes

do you think I can do that?

Have I to add some properties in the configuration?


thanks in advance

gilberto








Andrew Beekhof wrote:
> 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
>>
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 





More information about the Pacemaker mailing list