LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Real server refuses director packets in LVS-DR

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] Real server refuses director packets in LVS-DR
From: Ann Addicks <ann.addicks@xxxxxxxxx>
Date: Wed, 15 Jul 2009 09:24:28 -0400
Hi,

I'm having trouble correctly setting up an LVS-DR cluster on Suse linux
using 2.6.16 kernel.

VIP: 172.18.9.192
DIP: 172.18.9.110
RIP: 172.18.9.191:8080

I used the LVS mini tutorial to get the real servers and director scripts
posted here: http://serverfault.com/questions/40455/lvs-cluster-help

My problem occurs when I set the browser to the VIP (172.18.9.192:8080) the
real server automatically rejects the packet.  Tcpdump also displayed at the
link above.  When I point the browser directly to the real server (
172.18.9.191:8080), the packets are accepted and the page loads.

ifconfig for the director:
eth1      Link encap:Ethernet  HWaddr 00:50:56:91:67:9B
          inet addr:172.18.9.190  Bcast:172.18.9.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1178140 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10253 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:81839236 (78.0 Mb)  TX bytes:842832 (823.0 Kb)
          Interrupt:11 Base address:0x1424

eth1:110  Link encap:Ethernet  HWaddr 00:50:56:91:67:9B
          inet addr:172.18.9.192  Bcast:172.18.9.192  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0x1424

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3576 (3.4 Kb)  TX bytes:3576 (3.4 Kb)

ifconfig for the real server:
eth1      Link encap:Ethernet  HWaddr 00:50:56:91:1B:9C
          inet addr:172.18.9.191  Bcast:172.18.9.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:575689 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35595 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:40731244 (38.8 Mb)  TX bytes:4044567 (3.8 Mb)
          Interrupt:11 Base address:0x1424

lo        Link encap:Local Loopback
          inet addr:172.18.9.192  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3542 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3542 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:365201 (356.6 Kb)  TX bytes:365201 (356.6 Kb)

Any help is appreciated and if you need more information, please let me
know.

Thanks!
-- 
Ann
http://annalytical.addicks.us/wordpress/

"Never trust a programmer with a screwdriver"
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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