LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Trouble setting up LVS/TUN

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Trouble setting up LVS/TUN
From: redirecting decoy <redirectingdecoy@xxxxxxxxx>
Date: Fri, 4 Feb 2005 11:43:32 -0800 (PST)
> This diagram doesn't look like a normal LVS which should be 
> 
>       -----C-----
>      |     |     |
>      |     D     |
>      |     |     | 
>      R-----------R

Yeah, that's what I'm trying to do except that my director is running 
as a uml.  That's the only difference, and I can see no reason at all 
why the uml would be causing the problem as it can communicate as if
it was the only machine there.

I just have a few questions that I can't seem to understand concerning the 
functionality
of LVS software. As I was looking at my ethereal output, I noticed that on my 
Client,
when I send a request to the lvs, the realserver picks up the request. As a 
result
it responds to the client, but it does so using the vip. Then the client 
recieves a
request from VIP.  Then I get a desitination unreachable on the client as my 
client tries 
to connect to the vip again.  So my question is, how does the client know which 
server to 
talk to if is getting it's replys from the Director, since it is the only nic 
that arps?   

The way I understand it, the only way that would work would be if the 
realservers were 
using the director as there default gateway. But I think that would put a large 
load on 
the director.  Shouldn't the client be getting responses from one of the real 
servers 
actual ip address?  If that is the case, then does the client respond back to 
the VIP 
or the realserver ?  If it responds back to the real server, then what happens 
if that 
server breaks down ? The client won't know what to do because it was orignally 
trying 
to talk to the vip, got a reply from the real server's vip, and responded back 
to the director.   


What is it that I am missing?

-R.D.

--- Joseph Mack <mack.joseph@xxxxxxx> wrote:

> redirecting decoy wrote:
> > 
> > Joe,
> > 
> > I am still unable to create a functioning LVS-Tunnel.
> 
> Have you got LVS-DR or LVS-NAT to work first?
> 
> > I imagine that it
> > is a routing problem, however I cannot for the life of me find out where
> > I goofed the configuration.   Perhaps if I provide a step-by-step of what I 
> > am
> > doing, then perhaps my errors may become obvious to someone that has more
> > experience with this software.
> > 
> > Here is a small diagram of what I want to setup:
> > DIP=192.168.10.110
> > VIP=192.168.10.111
> > CIP=192.168.10.15
> > 
> > RS1=10.1.2.254
> > RS2=10.1.3.254
> > RSn=10.1.x.x
> > 
> > ------------------------------------------------------------------------------------
> > #INTERNET#
> >     |
> > #FIREWALL#  192.168.10.1   (Gateway for all 192.168.10.x Addresses)
> >     |
> > #UML Host#  192.168.10.100 (Bridged to eth0, with tap devices for DIP 
> > eth0,ethx,etc)
> >     |
> > #DIP (UML)# 192.168.10.110
> >         |               192.168.10.111 (Arps)
> >     |------------------|
> > #RS1 (10.1.2.254)# ---------- #RS2 (10.1.2.254)#
> >          ($VIP - No Arp)                ($VIP - No Arp)
> >                  |                                |
> >                  ----------------------------
> >                                            |
> >                                          #CIP#   192.168.10.15 (or any 
> > other address)
> > 
> > -----------------------------------------------------------------------------------
> 
> I assume this diagram has been scramble in mailing. Can you put spaces
> instead of tabs (incase this is what you've done).
> 
> This diagram doesn't look like a normal LVS which should be 
> 
>       -----C-----
>      |     |     |
>      |     D     |
>      |     |     | 
>      R-----------R
> 
> Look in the HOWTO/mini-HOWTO for examples
> 
> Is there anyway you can do this without UML first?
> 
> Joe
> 
> 
> 
> -- 
> Joseph Mack PhD, High Performance Computing & Scientific Visualization
> LMIT, Supporting the EPA Research Triangle Park, NC 919-541-0007
> Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> 



                
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

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