[TriLUG] ldirectord.cf

Jon Carnes jonc at nc.rr.com
Mon Dec 8 14:30:22 EST 2003


On Mon, 2003-12-08 at 11:39, Ryan Wheaton wrote:
> I'm using UltraMonkey to load balance two http and https servers and I 
> have a question about the load balancer conf file.  What exactly does 
> the 'persistent = n' option do??  The man page isn't too informative....
> 
> 'persistent = n
> 
>         Number of seconds for persistent client connections.'
> 
> 
> thanks,
> 
> -r

I generally set this equal to the length of time that you cache a
persistent state on the web-server.  The value is how long the Connector
for LVS should remember which server it sent a person to.  If another
request comes from that same source then the Connector will forward them
on to the same virtual server.

In that way, you can have persistent states that exist on a single
webserver for each user, and each request always goes back to the same
server in your cluster.

If that doesn't shed any light on it for you, then let me know and I'll
be happy to go into more (or less) detail.

Jon




More information about the TriLUG mailing list