ACE appropriate cookie

Unanswered Question
Sep 22nd, 2008
User Badges:

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Syed Iftekhar Ahmed Mon, 09/22/2008 - 12:33
User Badges:
  • Blue, 1500 points or more

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

Gilles Dufour Tue, 09/23/2008 - 01:57
User Badges:
  • Cisco Employee,

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.

danilodicesare Wed, 10/29/2008 - 10:47
User Badges:

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



Actions

This Discussion