Hi all, I'm having a problem when trying to failover IPs. Here is the scenario. I want a 2 node cluster that monitors 2 IPs, IP A and IP B. If Node1 fails then IP A is migrated to Node2 which means Node2 would have IP B and IP A. When Node1 comes back up, I want it to retrieve IP A. The reverse will happen if node2 fails first. Now here is what happens. Node1 fails, IP A is migrated to Node2 (GREAT!!!!). Node1 comes back up and nothing happens, it gets neither of the IPs. Node2 Fails and then Node1 retrieves IP B. I have no idea what happens to IP A (It just disappears). Node2 is brought up and it retrieves nothing.
Below is my cib.xml file. I am a newbie and have been looking at heartbeat for more than a month with little success with heartbeat v2. I am using heartbeat v 2.1.2 which was installed from source tar.gz on Mandriva 2007 system. Please Help. - <cib admin_epoch="0" epoch="0" num_updates="0" generated="false" have_quorum="false" ignore_dtd="false" num_peers="0" cib-last-written="Tue Aug 21 08:58:34 2007"> - <configuration> - <crm_config> - <cluster_property_set id="cib-bootstrap-options"> - <attributes> <nvpair id="cib-bootstrap-options-symmetric-cluster" name="symmetric-cluster" value="true" /> <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="stop" /> <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="0" /> <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false" /> <nvpair id="cib-bootstrap-options-stonith-action" name="stonith-action" value="reboot" /> <nvpair id="cib-bootstrap-options-stop-orphan-resources" name="stop-orphan-resources" value="true" /> <nvpair id="cib-bootstrap-options-stop-orphan-actions" name="stop-orphan-actions" value="true" /> <nvpair id="cib-bootstrap-options-remove-after-stop" name="remove-after-stop" value="false" /> <nvpair id="cib-bootstrap-options-short-resource-names" name="short-resource-names" value="true" /> <nvpair id="cib-bootstrap-options-transition-idle-timeout" name="transition-idle-timeout" value="5min" /> <nvpair id="cib-bootstrap-options-default-action-timeout" name="default-action-timeout" value="15s" /> <nvpair id="cib-bootstrap-options-is-managed-default" name="is-managed-default" value="true" /> </attributes> </cluster_property_set> </crm_config> - <nodes> <node id="3bc19032-7229-4684-9934-799e67861154" uname="heartbeat2" type="normal" /> <node id="9c896430-9ca1-430e-b349-7ea74d128620" uname="heartbeat1" type="normal" /> </nodes> - <resources> - <group id="group_1"> - <primitive class="ocf" id="IPaddr_192_168_0_220" provider="heartbeat" type="IPaddr"> - <operations> <op id="IPaddr_192_168_0_220_mon" interval="5s" name="monitor" timeout="5s" /> </operations> - <instance_attributes id="IPaddr_192_168_0_220_inst_attr"> - <attributes> <nvpair id="IPaddr_192_168_0_220_attr_0" name="ip" value="192.168.0.220" /> </attributes> </instance_attributes> </primitive> - <primitive class="lsb" id="radiator_2" provider="heartbeat" type="radiator"> - <operations> <op id="radiator_2_mon" interval="120s" name="monitor" timeout="60s" /> </operations> </primitive> </group> - <group id="group_11"> - <primitive class="ocf" id="IPaddr_192_168_0_219" provider="heartbeat" type="IPaddr"> - <operations> <op id="IPaddr_192_168_0_219_mon" interval="5s" name="monitor" timeout="5s" /> </operations> - <instance_attributes id="IPaddr_192_168_0_219_inst_attr"> - <attributes> <nvpair id="IPaddr_192_168_0_219_attr_0" name="ip" value="192.168.0.219" /> </attributes> </instance_attributes> </primitive> - <primitive class="lsb" id="radiator_12" provider="heartbeat" type="radiator"> - <operations> <op id="radiator_12_mon" interval="120s" name="monitor" timeout="60s" /> </operations> </primitive> </group> </resources> - <constraints> - <rsc_location id="rsc_location_group_1" rsc="group_1"> - <rule id="prefered_location_group_1" score="100"> <expression attribute="#uname" id="prefered_location_group_1_expr" operation="eq" value="heartbeat1" /> </rule> </rsc_location> - <rsc_location id="rsc_location_group_11" rsc="group_11"> - <rule id="prefered_location_group_11" score="100"> <expression attribute="#uname" id="prefered_location_group_11_expr" operation="eq" value="heartbeat2" /> </rule> </rsc_location> </constraints> </configuration> </cib> _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
