LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Persistance, SSL, and other ports.

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Persistance, SSL, and other ports.
From: "Richard L. Allbery" <rla@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Apr 2002 12:21:50 -0700
I'm trying to setup a LVS_NAT configuration that will support several SSL 
and none SSL websites.  The problem is how do I setup persistence for 
just port 80 and 443?  In other words, I want to tie the persistence 
together for these two ports.  So for example if a client connects to 
port 80 and then changes a request to 443 the request will stay on the 
same realserver.

If I add a SSL connection to the lvs_nat.conf file and then run it 
through 'configure.pl' it sets up persistence for all ports (0) on the 
Director.  This really screws up printing, e-mail, and other stuff 
because the return IP traffic is being sent to the realservers.

Basically, is there an 'ipvsadm' solution that will do the following:

ipvsadm -A -t 10.1.0.35:443:80 -s rr -p 900
ipvsadm -a -t 10.1.0.35:443:80 -r 172.16.1.2:443 -m -w 1
ipvsadm -a -t 10.1.0.35:443:80 -r 172.16.1.3:443 -m -w 1
                        ------
                           ^
I need to make sure that once a client connection is made to a realserver 
for http and then switches to https they will stay on the same 
realserver.  

Any enlightenment would be great.  Thanks.

Also, a special thanks to all you fine folks who have made LVS a reality! 
 You guys are awesome!
---
Richard L. Allbery - rla@xxxxxxxxxxxxxxxxxxx
PRIDE Industries 


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