09-22-2008 12:23 PM
Hello,
In Cisco Application Control Engine Module Server Load-Balancing Configuration Guide, page 5-24 it says: "Use cookie insertion when you want to use a session cookie for persistence if the server is not currently setting the appropriate cookie."
My question is, when is a cookie appropriate for ACE?
Is it possible for ACE to use a cookie set by an Application Server for stickyness?
Thanks in advance.
09-22-2008 12:33 PM
yes ACE can use the cookie set by servers.
Cookies set by servers should have cookie values (either full value/ or a subset of it) that can be used to identify the individual Servers.
Cookie insertion is only needed when you are using an application that doesnt support/Set cookies.
Syed Iftekhar Ahmed
09-23-2008 01:57 AM
The cookie value does not need to contain any special value to identify the server.
As long as the cookie is unique to the server, ACE will learn the value and create an entry in the sticky database for this value and the server that sent it.
If both servers send the same cookie value, obviously that won't work.
Gilles.
10-29-2008 10:47 AM
HI all,
i've got strage behaviour with stickiness...conf is right (i hope :) ):
serverfarm host cookie_sessions
rserver SERVER2_A 80
inservice
rserver SERVER3_A 80
inservice
rserver SERVER3_A 80
inservice
rserver SERVER5_A 80
inservice
class-map match-any cookie_stickie
5 match virtual-address 5.5.5.18 tcp eq 9090
sticky http-cookie wap_services wap_rule_stick
timeout 1
replicate sticky
serverfarm cookie_sessions
policy-map type loadbalance first-match l7_cookie_insert
class class-default
sticky-serverfarm wap_rule_stick
policy-map multi-match pubblico
class cookie_stickie
loadbalance vip inservice
loadbalance policy l7_cookie_insert
loadbalance vip icmp-reply active
loadbalance vip advertise active
appl-parameter http advanced-options para_map_http
request is with mozilla3 and cookie is set to server...but show sticky database is empty....i need not the insert cookie feature 'cause server does it...but it seems quite odd :(
thx a lot
Das
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