LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS-TUN gets stuck on one realserver

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LVS-TUN gets stuck on one realserver
From: Daniil Sosonkin <daniil@xxxxxxxxxxxxx>
Date: Tue, 30 Nov 2004 15:24:40 -0500
Hi all,

I'm very new to LVS but managed to configure it on Mandrake 10 (kernel 2.6.3-7mdksmp, had precompiled IP Virtual Server version 1.1.8 (size=4096) ). Its an LVS-TUN with weighted round robin. Configured as follows:

ipvsadm -A -t 192.168.110.119:2004 -s wrr
ipvsadm -a -t 192.168.110.119:2004 -r 192.168.110.115:2004 -i -w 1
ipvsadm -a -t 192.168.110.119:2004 -r 192.168.110.114:2004 -i -w 1

It works fine and schedules server equally as expected. But time to time it does something weird. All the connections are being redirected to one of the real servers. It may do that for hours. I see the traffic on one but not another but when I do 'ipvsadm -L --stats' number of connections or byte count doesn't increase on any of the machines. If anyone knows of any problems it'll be really appreciated.

I'm blindingly reading up on ARP issues, but I really simply don't understand it.

Thank you,

Daniil

Just in case, here is network configuration of the director:

eth0      Link encap:Ethernet  HWaddr 00:11:43:CD:2A:BB
inet addr:192.168.110.117 Bcast:192.168.110.255 Mask:255.255.255.0
         inet6 addr: fe80::211:43ff:fecd:2abb/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:2062412 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1175592 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:244021035 (232.7 Mb)  TX bytes:146769097 (139.9 Mb)
         Base address:0xece0 Memory:fe1e0000-fe200000

eth0:0    Link encap:Ethernet  HWaddr 00:11:43:CD:2A:BB
inet addr:192.168.110.119 Bcast:192.168.110.255 Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
         Base address:0xece0 Memory:fe1e0000-fe200000

And realserver:

eth0      Link encap:Ethernet  HWaddr 00:02:B3:C1:C4:1C
inet addr:192.168.110.115 Bcast:192.168.110.255 Mask:255.255.255.0
         inet6 addr: fe80::202:b3ff:fec1:c41c/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:20293688 errors:0 dropped:0 overruns:0 frame:0
         TX packets:18432564 errors:0 dropped:0 overruns:11 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:2120305323 (2022.0 Mb)  TX bytes:3811572424 (3634.9 Mb)
         Interrupt:16 Base address:0x4000

tunl0     Link encap:IPIP Tunnel  HWaddr
         inet addr:192.168.110.119  Mask:255.255.255.255
         UP RUNNING NOARP  MTU:1480  Metric:1
         RX packets:556536 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:45011567 (42.9 Mb)  TX bytes:0 (0.0 b)


**********************************************************************
This email message has been swept by
MIMEsweeper for the presence of any viruses.
www.mimesweeper.com
**********************************************************************


<Prev in Thread] Current Thread [Next in Thread>