On Tue, 2008-10-14 at 13:35 -0400, Stephen Hillier wrote:
> Hi,
> 
> I did try searching the archives but no clear information on this problem:
> 
> I have a service with 3 backends on which I'd like to do some session 
> failover testing. Here's the relevant pound configuration:
> 
> LogLevel 2
> Alive 5
> TimeOut 15
> Grace 15
> Control "/tmp/pound.socket"
> 
> ListenHTTP
>   Address 172.16.10.140
>   Port    80
> 
> Service
>         Session
>                 Type    Cookie
>                 ID      "JSESSIONID"
>                 TTL     1920
>         End
> 
>         HeadRequire "Host: .*www.lab.*"
> 
>         BackEnd
>                 Address 10.10.10.1
>                 Port    9001
>                 TimeOut 5
>         End
>         BackEnd
>                 Address 10.10.10.2
>                 Port    9001
>                 TimeOut 5
>         End
>         BackEnd
>                 Address 10.10.10.3
>                 Port    9001
>                 TimeOut 5
>         End
> End
> End
> 
> But when I use kill the backend, sessions that are persisting to that node 
> continue to send requests that way, even though the node is down and will 
> never process that request.
> 
> Is there some way to configure the session persistence so that if the node a 
> session is persisting on dies, then pound re-selects a different node from 
> the cluster to service the session?
> 
> If not, how does one get persisting sessions to failover to other cluster 
> nodes in the event of cluster-node failure? I cannot get pound to simulate 
> this behavior, so any help is appreciated.

You have set the grace period to 15 seconds. Set it to 0 if you want the
sessions to be invalidated immediately.
-- 
Robert Segall
Apsis GmbH
Postfach, Uetikon am See, CH-8707
Tel: +41-44-920 4904


--
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]
Please contact [EMAIL PROTECTED] for questions.

Reply via email to