problems with keep alive

"David Thompson" <[email protected]> Wed, 24 Jan 2007 12:51:56 -0000
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
Hello:

 

I have just set up a High Availability and Load Balancing configuration
following the instructions exactly as they are laid out in:

http://www.ultramonkey.org/3/topologies/hc-ha-lb-eg.html

 

When starting heartbeat on both nodes, the setup seems to work fine,
except that after 3 minutes or so, I can no longer reach the virtual
address on IPaddr2.  If I set a computer on the network to ping
continuously the virtual IP as a Keep Alive, then it continues to be
accessible, but then dies as soon as there is no longer a keep alive
ping going.

 

I of course cannot set up a keep alive ping to the virtual IP on either
of the two nodes because of the loopback device lo:0.

 

Does anyone have any ideas why this may be happening?  BTW - I am
running heartbeat over USB as you will note below.

 

I greatly appreciate any help or advice.

 

David

 

Here are my files:

 

Haresources:

 

mob-enc01 \

ldirectord \

LVSSyncDaemonSwap::master \

IPaddr2::172.16.5.70/24/eth0/172.16.5.255

 

Ifcfg-eth0:

 

# Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)

DEVICE=eth0

ONBOOT=yes

BOOTPROTO=none

IPADDR=172.16.5.25

NETMASK=255.255.255.0

GATEWAY=172.16.5.254

TYPE=Ethernet

 

Ifcfg-lo:0

 

DEVICE=lo:0

IPADDR=172.16.5.70

NETMASK=255.255.255.255

NETWORK=172.16.5.70

BROADCAST=172.16.5.70

NAME=loopback

TYPE=Ethernet

 

Ifconfig

 

[root@mob-enc01 ~]# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:14:4F:40:61:08

          inet addr:172.16.5.25  Bcast:172.16.5.255  Mask:255.255.255.0

          inet6 addr: fe80::214:4fff:fe40:6108/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:495276 errors:41 dropped:0 overruns:0 frame:41

          TX packets:365955 errors:857 dropped:0 overruns:0 carrier:857

          collisions:1066 txqueuelen:100

          RX bytes:61795771 (58.9 MiB)  TX bytes:39450845 (37.6 MiB)

          Base address:0x9c00 Memory:fbee0000-fbf00000

 

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:785553 errors:0 dropped:0 overruns:0 frame:0

          TX packets:785553 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:96528961 (92.0 MiB)  TX bytes:96528961 (92.0 MiB)

 

lo:0      Link encap:Local Loopback

          inet addr:172.16.5.70  Mask:255.255.255.255

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

 

usb0      Link encap:Ethernet  HWaddr 86:42:18:CB:B4:18

          inet addr:10.0.2.5  Bcast:10.255.255.255  Mask:255.0.0.0

          inet6 addr: fe80::8442:18ff:fecb:b418/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:43440 errors:0 dropped:0 overruns:0 frame:0

          TX packets:43561 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:10105493 (9.6 MiB)  TX bytes:10747977 (10.2 MiB)

 

Arptables:

 

Chain IN (policy ACCEPT)

target     source-ip            destination-ip       source-hw
destination-hw     hlen   op         hrd        pro

DROP       0.0.0.0/0            172.16.5.70          00/00
00/00              any    0000/0000  0000/0000  0000/0000

 

Chain OUT (policy ACCEPT)

target     source-ip            destination-ip       source-hw
destination-hw     hlen   op         hrd        pro

mangle     172.16.5.70          0.0.0.0/0            00/00
00/00              any    0000/0000  0000/0000  0000/0000 --mangle-ip-s
172.16.5.25

 

Chain FORWARD (policy ACCEPT)

target     source-ip            destination-ip       source-hw
destination-hw     hlen   op         hrd        pro