On Jan 10, 2008, at 1:14 PM, Thomas Lorenzen wrote:

Hi'

--- Andrew Beekhof <[EMAIL PROTECTED]> skrev:

the score doesn't mean what you think it means in this
context
to set the priority, add the snippet below (and modify
for the other
resource too)

I have attached the relevant parts of the corresponding
cib.xml fil for reference.

looks fine

If score does not mean, what I
thought, then what meaning does it have.

if you have more than one <instance_attributes>, then it helps determine which order they are processed in



Thank you for all your help.

Best regards.

Thomas.


Find din nye laptop på kelkoo.dk. Se de gode tilbud her - http://dk.yahoo.com/r/pat/mm <resources>
 <group id="primarygroup">
<primitive class="ocf" type="IPaddr" provider="heartbeat" id="primary"> <instance_attributes score="2000" id="0fbc4d26-4252-486e-9b84-63d0052039e1">
       <attributes>
<nvpair name="ip" value="10.0.0.3" id="314e8e00-9d3f-4a72-9693-b46899bd4755"/>
       </attributes>
     </instance_attributes>
     <meta_attributes id="a2373c7f-dfd9-45e5-8489-41cb774aa83b">
       <attributes>
<nvpair name="priority" value="2000" id="ba1abbb3-39f8-4c60-953f-2c39f77a7f1b"/>
       </attributes>
     </meta_attributes>
   </primitive>
 </group>
 <group id="secondarygroup">
<primitive class="ocf" type="IPaddr" provider="heartbeat" id="secondary"> <instance_attributes score="1000" id="72ef8121-2911-4629-8a15-59ac8d0378fa">
       <attributes>
<nvpair name="ip" value="10.0.0.4" id="017561a5-3eba-4aa1- acd7-cde8684e13b8"/>
       </attributes>
     </instance_attributes>
     <meta_attributes id="605ca89b-4e64-43b6-b533-1153813968af">
       <attributes>
<nvpair name="priority" value="1000" id="8c7c79f5-97f9-4195-9cd4-191186b22189"/>
       </attributes>
     </meta_attributes>
   </primitive>
 </group>
</resources>
<constraints>
<rsc_colocation id="secondary_cannot_live_together_with_primary" from="secondary" to="primary" score="-INFINITY"/>
</constraints>

_______________________________________________
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