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. And see here for current known issues.

New Member

Stickyness based on pattern match

Trying to replicate a Radware load balancing setup - where a string is searched for in the HTTP header, then the following field (by offset) is used as the cookie.

There doesn't seem a way to do similar on ACE, the field is too far into the header to reliably find it by offset alone.

1 ACCEPTED SOLUTION

Accepted Solutions
Silver

Re: Stickyness based on pattern match

Hi,

Have you tried type "generic"? For example:

sticky layer4-payload WHATEVER

layer4-payload yada yada yada

serverfarm SFARM-WHATEVER

policy-map type loadbalance generic first-match LB-POLICY

class class-default

sticky-serverfarm WHATEVER

HTH

Cathy

4 REPLIES

Re: Stickyness based on pattern match

With Layer 4 payload stickiness (

stickiness based on a string in the data of a TCP stream or UDP packet) you can stick sessions using any string

details at

http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A2/configuration/slb/guide/sticky.html#wp1064423

Syed Iftekhar Ahmed

New Member

Re: Stickyness based on pattern match

Thanks, had figured that out by the time you replied.

Has anyone got any configuration examples? Configuring the 'sticky layer4-payload' part is fine, but when it comes to applying the policy I get 'Error: Sticky type not consistent with policy map type' - despite trying various different policy types.

Silver

Re: Stickyness based on pattern match

Hi,

Have you tried type "generic"? For example:

sticky layer4-payload WHATEVER

layer4-payload yada yada yada

serverfarm SFARM-WHATEVER

policy-map type loadbalance generic first-match LB-POLICY

class class-default

sticky-serverfarm WHATEVER

HTH

Cathy

New Member

Re: Stickyness based on pattern match

Thanks, 'generic' was the keyword I was missing.

379
Views
3
Helpful
4
Replies
CreatePlease to create content