LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: SNAT Confusion

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: SNAT Confusion
Cc: jkrzyszt@xxxxxxxxxxxx
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Sat, 17 Mar 2007 17:23:55 -0700 (PDT)
On Fri, 16 Mar 2007, Rodre Ghorashi-Zadeh wrote:

Hello,

I have been able to get the "Janusz" patch to work on Fedora 2.6.19-1.2288.2.4.fc5, but it looks like my problem still isn't solved. It looks like this may be the time to explain my setup and requirement:

I am in the situation where my real servers are clients of the VIP, and have the potential to loop back via the director onto themselves. It is not a problem if:

realserver1 RIP -> Director VIP -> realserver2 RIP

or:

realserver2 RIP -> Director VIP -> realserver1 RIP

but both:

realserver1 RIP -> Director VIP -> realserver1 RIP

and:

realserver2 RIP -> Director VIP -> realserver2 RIP

fail miserably.


people are always wanting the realserver to be a client of the VIP to balance a 2nd layer of requests. This is a little difficult to do with LVS. Since the first connection is already reasonably balanced, it occurs to me that the 2nd request can just stay on the realserver (eg LVS-DR, when the VIP is on the realserver). Possibly the 2nd connection won't be perfectly balanced, but for the trouble you have to go to, to get it balanced, would it be balanced well enough?

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

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