LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problems with LVS-DR, one director, one realserver...

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Problems with LVS-DR, one director, one realserver...
From: Christian Joelly <christian.joelly@xxxxxxxxx>
Date: Mon, 19 Nov 2001 09:27:39 +0100
Hello!

but in my config eth0 isn't configured for the RIP network... the VIP on
the director is on the eth0:0, the DIP on eth0 and the realservers and
the director are connected using an seperate segment on eth1 together.
and the VIP is on the eth1:0 on the realserver.
i think that the VIP on the realserver is hidden from the arp requests in 
this setup.

but i may be wrong... :o) (which seems to be the case, since my setup
doesnt work this way...)

Chris

On Fri, Nov 16, 2001 at 09:08:15AM -0500, Bill Hatter wrote:
> When I was having problems similar to this, I changed the VIP from eth0:0 to
> eth1:110. It seems that it is easier for the server to send the request out
> on the eth1 which is configured for the RIP network
> 
> Bill Hatter
> 
> -----Original Message-----
> From: lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Christian
> Joelly
> Sent: Friday, November 16, 2001 8:06 AM
> To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Problems with LVS-DR, one director, one realserver...
> 
> 
> Hello!
> 
> im new to LVS and run into problems... ;-)
> 
> kernel 2.4.10 with the lvs patch v0.9.6, no hidden patch
> 
> first here is my setup:
> 
> VIP:  10.17.160.30
> DIP:  10.17.160.1 (192.168.100.1)
> RIP:  10.17.160.3 (192.168.100.2)
> 
> director:
> 
> ifconfig:
> eth0      Link encap:Ethernet  HWaddr 00:04:76:32:EB:A5
>           inet addr:10.17.160.1  Bcast:10.255.255.255  Mask:255.255.0.0
> 
> eth0:0    Link encap:Ethernet  HWaddr 00:04:76:32:EB:A5
>           inet addr:10.17.160.30  Bcast:10.17.160.30 Mask:255.255.255.255
> 
> eth1      Link encap:Ethernet  HWaddr 00:04:76:90:98:50
>           inet addr:192.168.100.1  Bcast:192.168.100.255 Mask:255.255.255.0
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
> 
> route:
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.100.0   0.0.0.0         255.255.255.0   U     0      0        0 eth1
> 10.17.0.0       0.0.0.0         255.255.0.0     U     0      0        0 eth0
> 0.0.0.0         10.17.130.2     0.0.0.0         UG    0      0        0 eth0
> 
> ipvsadm:
> IP Virtual Server version 0.9.6 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
>   TCP  edvlvs1.knapp.intern:www wlc
>     -> 192.168.100.2:www            Route   1      0          1
> 
> ------------
> real server:
> 
> ifconfig:
> eth0      Link encap:Ethernet  HWaddr 00:01:02:EB:FC:C4
>           inet addr:10.17.160.3  Bcast:10.17.255.255  Mask:255.255.0.0
> 
> eth1      Link encap:Ethernet  HWaddr 00:04:76:8F:14:58
>           inet addr:192.168.100.2  Bcast:192.168.100.255 Mask:255.255.255.0
> 
> eth1:0    Link encap:Ethernet  HWaddr 00:04:76:8F:14:58
>           inet addr:10.17.160.30  Bcast:10.17.160.160 Mask:255.255.255.255
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
> 
> route:
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 10.17.160.30    0.0.0.0         255.255.255.255 UH    0      0        0 eth1
> 192.168.100.0   0.0.0.0         255.255.255.0   U     0      0        0 eth1
> 10.17.0.0       0.0.0.0         255.255.0.0     U     0      0        0 eth0
> 0.0.0.0         10.17.130.2     0.0.0.0         UG    0      0        0 eth0
> 
> 
> i have setup a virtual service for my vip and tcp:80, wlc on the
> director.
> 
> when i make a telnet connection to port 80 on my VIP or let my browser
> point to that address, the request times out ...
> 
> i can see the arp requests on my private 192.168.100.x lan, but the
> apache running on the real server doesnt get the request.
> apache bound to the vip with BindAdress, one VirtualHost configured with
> NameVirtualHost. The apache serves the page correct when i use lynx/links
> on the real server...
> 
> maybe someone can point me to the right direction ...
> 
> thanks, Chris

-- 
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian Jölly        Tel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7     A-8075 Hart bei Graz

Attachment: pgpmf7RmD4h8L.pgp
Description: PGP signature

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