Right RTFM trevor. :-)
Thanks!
-----Original Message-----
From: lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Carlos
Maynard
Sent: Tuesday, July 10, 2001 1:41 PM
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Setting up a new Linux cluster
Hi there Trevor...
Use this when setting up the Real servers:
-p, --persistent [timeout]
Specify that a virtual service is persistent. If this
option is
specified, multiple requests from a client are redirected
to the
same real server selected for the first request.
Optionally, the
timeout of persistent sessions may be specified given in
seconds,
otherwise the default of 300 seconds will be used. This
option may
be used in conjunction with protocols such as SSL or FTP where
it is
important that clients consistently connect with the same
real
server.
it's copied and pasted from 'man ipvsadm'
:-)
Good luck,
----- Original Message -----
From: "Trevor Linton" <trevor@xxxxxxxxxx>
To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, July 10, 2001 4:34 PM
Subject: Setting up a new Linux cluster
> Hi 'im setting up a Linux cluster for a Novell registration site. We'll
> probably be using two cheap-o Linux servers to do load balancing +
> heartbeat. I'm curious to know, we have around 4 servers initially that
> we'll be putting on the back-end of this. The only problem is a lot of the
> technology on this is using session variables which, if the client who
> connects to the system gets bounced between the 4 servers on their page
> requests the session variable will get lost and the users session could
get
> terminated.
>
> Is there a possible way to setup LVS so that when a user connects (based
on
> their ip) it only routes that ip to a certain server, thus insuring the
> session variables remain intact. I assume you could set some kind of TTL
to
> give for the IPS in the routing table. I'm just wondering what solutions
I
> can implement.
>
> Thanks,
> Trevor F. Linton
>
> Systems Administrator/Web Developer
> Vérité Multimedia Inc.
> http://www.verite.com
> DVD * CD * Web * Print * Film * Sound
> Phone: 801.553.1101 x 111
> Fax: 801.553.1215
> trevor@xxxxxxxxxx
>
>
> _______________________________________________
> 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
>
_______________________________________________
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
|