LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: SSL Persistent Connections

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: SSL Persistent Connections
From: "Ryan Clark" <ryan.clark@xxxxxxxxxxxxxxxxx>
Date: Tue, 27 Aug 2002 12:55:33 -0700
Thanks Joe!

It worked, I need to do the "ipvsadm -a -t $VIP -r realserver_name -m -w 1"
command as well, but system is working now.

How long till you plan to release the new version of the configure-lvs?

Ryan.

-----Original Message-----
From: lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Joseph Mack
Sent: Tuesday, August 27, 2002 12:06 PM
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx; ryan.clark@xxxxxxxxxxxxxxxxx
Subject: Re: SSL Persistent Connections


Ryan Clark wrote:

> I cannot get
> any persistent type of connections to work.

apologies, it's a bug.

You didn't say whether you got any error messages - I did about an incorrect
timeout for -s.

In line 7443 of the configure script change

-p";

to

-p 360";

My persistence code was a real mess.
There were different versions of persistence before and after 2.2.12
and I tried to accomodate both. With no-one using persistence that I heard
about,
I didn't test it all that well (apparently even less than I thought).

There is still a problem in that only the first realserver is added to the
persistent
services. You'll have to run the extra ipvsadm command yourself by hand

you'll do something like

ipvsadm -a -t $VIP -r realserver_name -m -w 1


> SERVICE=t https wlc ppc bashfull:https,1 sneezy:https,1
                      ^^^

you don't need the "ppc". the configure script knows that https is
persistent
(through @persistent_services).

The persistence code was so tortuous that for the new version I'm working
on, I
dropped support for the old persistence methods and hopefully the new code
will work better. I won't be fixing the old bug, I don't have time for it
sorry.

Let me know if you're still stuck.

Joe

--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA

_______________________________________________
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>