cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
679
Views
0
Helpful
2
Replies

Replicate http-cookie

Hi.

I have a couple of ACE modules in a HA configuration.  One of my contexts makes the use of http-cookie for session persistence (for Sharepoint 2010 WFE).  All my other contexts use source IP sticky connections and have sticky database replication set to the standby as per below..

sticky ip-netmask 255.255.255.255 address source client-stick
  replicate sticky

The context using http-cookie has the following defined...

sticky http-cookie ACE_SHAREPOINT ACE-COOKIE
  cookie insert
  serverfarm SHAREPOINT

Do I also need to have replicate sticky defined also for the replication of http cookie session persistance?

1 Accepted Solution

Accepted Solutions

Daniel Arrondo Ostiz
Cisco Employee
Cisco Employee

Hi Mick,

In this case, replication is not required because, unlike with IP stickiness, when using cookie insertion there is no sticky table.

Instead of creating a sticky entry for each of the clients, what the ACE does is generating a static cookie (based on a hash of the server name and IP address) for each of the servers. Every time that a request arrives with one of those cookies, the ACE will forward it to the corresponding server.

I hope this answers your question

Daniel

View solution in original post

2 Replies 2

Daniel Arrondo Ostiz
Cisco Employee
Cisco Employee

Hi Mick,

In this case, replication is not required because, unlike with IP stickiness, when using cookie insertion there is no sticky table.

Instead of creating a sticky entry for each of the clients, what the ACE does is generating a static cookie (based on a hash of the server name and IP address) for each of the servers. Every time that a request arrives with one of those cookies, the ACE will forward it to the corresponding server.

I hope this answers your question

Daniel

Thanks Daniel for that explaination.

This is the first time i've set up a context using cookie persistence (as the majority of clients will be coming from behind a single NAT address) - hence the query.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: