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

ACE - uri stickiness

rbarroshpcsc
Level 1
Level 1

Hi!

How can I enable stickiness based on a URI with an ebebbed session-id?

Basically what I would like to do is when an hhtp packet with a uri of "www.xpto.com?sid=1234556" flows through the ACE it will provide stickiness based on the sid=1234556...

Thank you

3 Replies 3

Hi

The '?' has a special meaning in the URL. It means the end of the main URL and the beginning of the URL query.

Its not possible to match ? in the url.

One option could be using secondary cookie matching in ACE.

class-map type http loadbalance match-any xyz

2 match http cookie secondary sid cookie-value 1234556

Thanks

Syed

Hi Sayed!

Sorry for my late response.

I want to have url cookie learning. I cannot specify the cookie value and in order of that value balance to a specific serverfarm...

Any other ideas?

Thank you

If cookie name (sid) will be consistent.

Configuring "cookie secondary " in the sticky group should do.

Try this

sticky http-cookie sid APP1_STICKY_GP

cookie secondary sid

serverfarm APP1-SF

Syed

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: