07-31-2007 07:16 AM
Hi:
I have the following configuration. Although the users can hit the web server, the stickiness doesn't work.
sticky http-cookie TEST1 TEST1
timeout 300
replicate sticky
serverfarm PROXY
policy-map type loadbalance first-match L7_TEMPORAL
class HTTP-TEMPORAL
sticky-serverfarm TEST1
policy-map multi-match L4-VIP-LB-Policy
class VIP-TEMPORAL
loadbalance policy L7_TEMPORAL
Raul
07-31-2007 01:31 PM
Not sure if you already did that but to make stickiness work you need to assign resources for stickiness per context. Have look at the link.
sticky http-cookie TEST1 TEST1 says the ace is looking for a cookie named "TEST1" in the http header so you should make sure that cookie exists. Otherwise add a "cookie insert" and the ace should insert that a cookie named "TEST1" then.
[quote]
The name argument in the sticky command specifies the cookie name that appears in the HTTP header. The name argument in the cookie secondary command specifies the cookie name that appears in the URL.
[/quote]
Roble
08-07-2007 12:02 PM
You were right, the cookie didn't exist. I use the right name, and it started to work.
Thanks
08-07-2007 12:03 PM
07-31-2007 11:03 PM
Raul,
you might want to add 'cookie insert' under the sticky configuration if you want the ACE module to generate the cookie itself.
Gilles.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide