LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: question regarding DR and uploads

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: question regarding DR and uploads
From: Paul Nowoczynski <pauln@xxxxxxx>
Date: Wed, 07 May 2003 11:38:59 -0400
Malcolm Turnbull wrote:
Paul Nowoczynski wrote:

Hi,
I setup an LVS-DR and for testing purposes decided to load balance SSHD.
While watching tcpdump on the Director's nic I noticed that all traffic from the client's ssh session is bouncing off the
Director to the real server.  This seems like the correct behavior
since the client only knows the arp address of the Director but this is
not optimal behavior for load balancing upload traffic.
I was wondering if there was any way to bypass the Director once
a connection is established?


Sounds like either a server code change or a layer 7 switch change.

i.e. web server sends its own valid public ip for uploads..
and the VIP for everything else.

I think the "problem" occurs before the connection is even
made...it's the arp reply from the Director, with the
Director's MAC address.  It's a layer2 issue - the client
or router accessing the LVS services always talks through the
Director because it's arp table tells it to.


Not sure if your average layer 7 switch is clever enough to do that :-).
I dont see how a layer 4 switch could do it.




Thanks,
Paul

_______________________________________________
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





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