/ Zope / Apsis / Pound Mailing List / Archive / 2010 / 2010-07 / Session-based load-balancing with PARM

[ << ] [ >> ]

[ Re: [Pound Mailing List] truncated downloads / ... ] [ Error page when all backends disabled / Clinton ... ]

Session-based load-balancing with PARM
Ingo Siebert <ingo.siebert(at)cas.de>
2010-07-02 11:20:23 [ FULL ]
Hi,

I'm using POUND a few weeks know for a session-based load balancing with 
Cookies.
This works very well.

Last week I tried to reconfigure POUND to use an URL parameter 
...(domain.com/app;jsessonid=123?...).
The man page says that this is supported by the PARM value. That's why I 
modified the POUND configuration it to

         Session
                 Type PARM
                 ID   "jsessionid"
                 TTL  14400
         END

But after a pount restart, no client was able to create a connection 
anymore.

Is the PARM feature tested in POUND?
Is someone using the PARM load balancing here?
Any idea what was wrong?

If I change PARM back to COOKIE, all works very well again.
Pound didn't write an error to daemon/syslog in the case of PARM. So I 
think it was correctly spelled.

Best regards,

Ingo

RE: [Pound Mailing List] Session-based load-balancing with PARM
Joe Gooch <mrwizard(at)k12system.com>
2010-07-02 15:43:52 [ FULL ]
From looking at the code...

PARM support treats the session key as anything between the ; and the ? (or end
of line)

Which means the ID directive isn't used for PARM, it'll take the whole value.

If you use poundctl to list sessions, do you see sessions established after a
few clients have tried to connect?

You mention no one can connect... do you mean the sessions don't stick, or it
actually won't connect at all?  PARM would only affect session affinity.

What version of pound are you using?

Joe
[...]

MailBoxer