LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

success: LV-NAT working

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: success: LV-NAT working
From: Alois Treindl <alois@xxxxxxxx>
Date: Mon, 30 Apr 2001 22:46:17 +0200 (METDST)
Joe

I can happily report to have LV-NAT working on kernel 2.2.19,
after configuring it with your configure-0.8 tool.

Now I can move forward to adding my firewall stuff.

But first a few remarks:

a)
the rc.lvs_nat scripte created by configure seems to contain
false code for option 'restart':
restart)
        ./configure stop
        ./configure start
        EXITCODE=0
        ;;  

It should be: rc.lvs_nat stop/start

The error is in your perl code:
        print RC_FILE " $0 stop \n";
        print RC_FILE " $0 start \n";  

It would better be:
        print RC_FILE ' $0 stop \n';
        print RC_FILE ' $0 start \n';

b) Question about loadbalancing http:
----------------------------------
when I reload a page on the client (netscape 4.77 on Redhat 7.0),
the browser makes several http hits on the server for the graphics
in the page.
These hits are load balanced between the real servers.
I presume this is normal for HTTP/1.0 protocol, though I would
have expected Netscape 4.77 to use HTTP/1.1 with one connection for
all parts of a page. The server is Apache as it came on the Redhat 7.0
CDROM.
Do I misunderstand the HTTP protocol?

I have to expect problems, if the page is created by a CGI and
contains dynamically created GIFs it it, as the hits for these gifs
will land on a different realserver than the one where the cgi runs.

-> will I need persistence even for this simple case, which has not yet
anything to do with session handling?
-> how do I get it?
(I see no option for it in the lvs_nat config script)
(the alternative will be to create the dynamic gifs in a directory which
is shared betwen all realservers).

Alois




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