cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
477
Views
0
Helpful
3
Replies

ACE appropriate cookie

hajehorst
Level 1
Level 1

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.

3 Replies 3

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

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.

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

Review Cisco Networking for a $25 gift card