I mean automatically.
Heartbeat migrates the resource group automatically when one resource in the
group fails.
------------------ 原始邮件 ------------------
发件人: "Andrew Beekhof"<[EMAIL PROTECTED]>;
发送时间: 2008年9月19日(星期五) 下午05:23
收件人: "General Linux-HA mailing list"<[email protected]>;
主题: Re: [Linux-HA] How can a group of Resource be Migrated After oneresource
in the group fail ?
On Fri, Sep 19, 2008 at 09:14, heartbeat <[EMAIL PROTECTED]> wrote:
> 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
> ?
Do you mean automatically or manually?
Look up "Migrating Due to Failure" in:
http://clusterlabs.org/mw/Image:Configuration_Explained.pdf
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems