LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: HTTP(s) persistence

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: HTTP(s) persistence
From: "Joe Stump" <joe@xxxxxxxxxxxx>
Date: Fri, 22 Nov 2002 10:40:31 -0500
What Joe is trying to get at here (and this would apply to you PHP session
users out there as well) is that your real servers should have access to
your session files. The simple solution is a shared drive (under windows) or
an NFS mount (under *NIX). Other solutions include NetApps, SANs, etc. The
problem Devendra was having is that the session files exist independantly on
each of the real servers. When a real server dies or is taken out of the
RAIC all of the session files on that real server are gone. If they were in
a central location where all servers had access they wouldn't die.

--Joe

--
Joe Stump
http://www.joestump.net
----- Original Message -----
From: "Joseph Mack" <mack.joseph@xxxxxxx>
To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, November 22, 2002 10:33 AM
Subject: Re: HTTP(s) persistence


> devendra orion wrote:
> >
> > The website is hosted on win2000 and
> > uses IIS session Mgmt (no cookies).
>
> I don't know anything about IIS session mgmt.
> If this would be useful to others setting up an LVS,
> could you give us some more info about it? Thanks
>
> > Only problem is we
> > need to keep this session alive for basically 8 hrs as
> > our clients access the application continuously. So
> > how can i configure the loadbalancer to keep the
> > connection persistence to same server after successful
> > client login?
>
> 8hrs = 8 * 60 * 60 sec = some_number
>
> ipvsadm -A -t VIP -p some_number
>
> you are probably going to handle tcp timeouts as well
> (see postings in the last week and in the HOWTO).
>
> The best solution is not to use persistence, but to re-write
> the application, so that the state information is stored
> in a place accessable to all realservers. In this way,
> if one realserver fails, the session with the client can continue.
> (see the section in the HOWTO on persistence).
>
> Joe
> --
> Joseph Mack PhD, Senior Systems Engineer, SAIC 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>