Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

ACE appropriate cookie

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

Re: ACE appropriate cookie

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

Cisco Employee

Re: ACE appropriate cookie

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.

New Member

Re: ACE appropriate cookie

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

136
Views
0
Helpful
3
Replies