Am Freitag, 19. September 2008 09:14 schrieb heartbeat:
> Hi all,
>        I found that if one of the resource failed in the group, none of the
> resources of the group can be migrated to the other node.My cib's key
> configuration is as follows:
>  ..........................
>  <configuration>
>      <crm_config>
>        <cluster_property_set id="cib-bootstrap-options">
>          <attributes>
>              <nvpair id="cib-bootstrap-options-default-resource-stickiness"
> name="default-resource-stickiness" value="0"/> <nvpair
> id="cib-bootstrap-options-default-resource-failure-stickiness"
> name="default-resource-failure-stickiness" value="-INFINITY"/>
> ................................................................
>   <group id="group1">
>          <primitive id="ap_1_ip_217" class="ocf" type="IPaddr2"
> provider="heartbeat"> <instance_attributes id="ap_1_ip_attr_1">
>              <attributes>
>                <nvpair id="ap_1_ipaddr_1" name="ip" value="10.1.41.217"/>
>                <nvpair id="ap_1_nic_1" name="nic" value="eth1:1"/>
>                <nvpair id="ap_1_mask_1" name="netmask" value="25"/>
>              </attributes>
>            </instance_attributes>
>          </primitive>
>          <primitive id="ap_1_ip_217_agent" class="ocf" type="myagent"
> provider="heartbeat"> <operations>
>              <op id="1" name="monitor" interval="5s" timeout="4s"
> on_fail="restart"/> </operations>
>          </primitive>
>        </group>
>  ..................................
>  How can a group of Resource be Migrated After one resource in the group
> fail ? Thanks in advance!

Hi "heartbeat:" !

Did you already read following :

http://clusterlabs.org/mw/Image:Configuration_Explained.pdf
http://www.linux-ha.org/ClusterInformationBase/ResourceGroups

* don't set default-resource-stickiness to INFINITY
* Grab this script: 
http://hg.clusterlabs.org/pacemaker/dev/raw-file/tip/contrib/showscores.sh 
  and use it to determine SCORE
* set default-resource-failure-stickiness = SCORE / 3

Try to set the value for "default-resource-failure-stickiness" and 
"default-resource-stickiness" to something reasonable - > not "-/+INFINITY" 
and not "0" !

Nikita Michalko
_______________________________________________
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