Hi List,
I have a test 2 node cluster with a floating IP with heartbeat and pingd.
Initially, the floating IP is on nodeA as eth0:0.
If I down eth0 of nodeA, the IP migrates over to nodeB as eth0:0.   This is 
what I expected.
However, when I bring up eth0 on nodeA, the floating IP now appears back on 
nodeA but as eth0:1 and not eth0:0.

When I up the interface on nodeA, how can I :

1.      prevent the floating IP from migrating back to its original node

2.      and how to migrate it back as eth0:0


My cib.xml , ha.cf and ptest files are attached.
Any help or pointers would be much appreciated.

TIA
Bernie

________________________________
The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. This message may 
be an attorney-client communication and/or work product and as such is 
privileged and confidential. If the reader of this message is not the intended 
recipient or an agent responsible for delivering it to the intended recipient, 
you are hereby notified that you have received this document in error and that 
any review, dissemination, distribution, or copying of this message is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by e-mail, and delete the original message.

Attachment: cib.xml
Description: cib.xml

Attachment: ha.cf
Description: ha.cf

Initial status:

***516*** [r...@lnxhat1:/var/lib/heartbeat/crm] *** uid=0 ***
 # ptest -LVs
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: clone_color: 
ocfs2cloneset.lnxhat1 = 0
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: clone_color: 
ocfs2cloneset.lnxhat2 = 0
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: clone_color: 
ocfs2clone:0.lnxhat1 = 1
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: clone_color: 
ocfs2clone:0.lnxhat2 = 0
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: clone_color: 
ocfs2clone:1.lnxhat1 = 0
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: clone_color: 
ocfs2clone:1.lnxhat2 = 1
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: native_color: 
ocfs2clone:0.lnxhat1 = 1
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: native_color: 
ocfs2clone:0.lnxhat2 = 0
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: native_color: 
ocfs2clone:1.lnxhat1 = -1000000
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: native_color: 
ocfs2clone:1.lnxhat2 = 1
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: group_color: 
RG_A.lnxhat1 = 0
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: group_color: 
RG_A.lnxhat2 = 0
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: group_color: 
resource_IP_V.lnxhat1 = 6777
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: group_color: 
resource_IP_V.lnxhat2 = 6000
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: native_color: 
resource_IP_V.lnxhat1 = 6777
ptest[29503]: 2009/09/08_08:31:16 CRIT: dump_node_scores: native_color: 
resource_IP_V.lnxhat2 = 6000
***516*** [r...@lnxhat1:/var/lib/heartbeat/crm] *** uid=0 ***


After "ifdown eth0 "

***511*** [r...@lnxhat1:~] *** uid=0 ***
 # ptest -LVs
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: clone_color: 
ocfs2cloneset.lnxhat1 = 0
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: clone_color: 
ocfs2cloneset.lnxhat2 = 0
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: clone_color: 
ocfs2clone:0.lnxhat1 = 1
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: clone_color: 
ocfs2clone:0.lnxhat2 = 0
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: clone_color: 
ocfs2clone:1.lnxhat1 = 0
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: clone_color: 
ocfs2clone:1.lnxhat2 = 1
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: native_color: 
ocfs2clone:0.lnxhat1 = 1
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: native_color: 
ocfs2clone:0.lnxhat2 = 0
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: native_color: 
ocfs2clone:1.lnxhat1 = -1000000
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: native_color: 
ocfs2clone:1.lnxhat2 = 1
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: group_color: 
RG_A.lnxhat1 = 0
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: group_color: 
RG_A.lnxhat2 = 0
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: group_color: 
resource_IP_V.lnxhat1 = 0
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: group_color: 
resource_IP_V.lnxhat2 = 4777
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: native_color: 
resource_IP_V.lnxhat1 = 0
ptest[30780]: 2009/09/08_08:33:54 CRIT: dump_node_scores: native_color: 
resource_IP_V.lnxhat2 = 4777
***512*** [r...@lnxhat1:~] *** uid=0 ***

After "ifup eth0"

***514*** [r...@lnxhat1:~] *** uid=0 ***
 # ptest -LVs
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: clone_color: 
ocfs2cloneset.lnxhat1 = 0
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: clone_color: 
ocfs2cloneset.lnxhat2 = 0
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: clone_color: 
ocfs2clone:0.lnxhat1 = 1
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: clone_color: 
ocfs2clone:0.lnxhat2 = 0
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: clone_color: 
ocfs2clone:1.lnxhat1 = 0
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: clone_color: 
ocfs2clone:1.lnxhat2 = 1
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: native_color: 
ocfs2clone:0.lnxhat1 = 1
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: native_color: 
ocfs2clone:0.lnxhat2 = 0
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: native_color: 
ocfs2clone:1.lnxhat1 = -1000000
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: native_color: 
ocfs2clone:1.lnxhat2 = 1
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: group_color: 
RG_A.lnxhat1 = 0
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: group_color: 
RG_A.lnxhat2 = 0
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: group_color: 
resource_IP_V.lnxhat1 = 6777
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: group_color: 
resource_IP_V.lnxhat2 = 6000
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: native_color: 
resource_IP_V.lnxhat1 = 6777
ptest[31591]: 2009/09/08_08:35:34 CRIT: dump_node_scores: native_color: 
resource_IP_V.lnxhat2 = 6000
***515*** [r...@lnxhat1:~] *** uid=0 ***

***514*** [r...@lnxhat1:~] *** uid=0 ***
 # ifconfig
eth0      Link encap:Ethernet  HWaddr 02:00:00:00:00:06
          inet addr:172.31.100.31  Bcast:172.31.255.255  Mask:255.255.0.0
          inet6 addr: fe80::200:0:100:6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:1876121 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1337577 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:255535590 (243.6 Mb)  TX bytes:162365433 (154.8 Mb)

eth0:1    Link encap:Ethernet  HWaddr 02:00:00:00:00:06
          inet addr:172.31.100.30  Bcast:172.31.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1








_______________________________________________
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