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

CSS stickiness onm URL basis

Hi all,

we have a CSS 11503 and two servers connected to it.

We need to perform the following configuration:

when traffic is directed to an URL (correspondig to a content VIP) that contains "/string1" or "/string2" or "/string3" load balancing with session stickiness is needed, in all other cases round robin is needed.

Strings are in the URL not in a cookie.

I tried to use the "string <text>" command under service configuration, with no results.

Any suggestion?

Thanks in advance.

2 REPLIES

Re: CSS stickiness onm URL basis

Here is a sample (port must be defined under content rule & rule must be L5)

content syed

vip address 10.10.10.1

url “/*”

advanced- balance url

protocol type tcp

port 80

add service server1

active

add service server2

active

service server1

ip address 10.0.0.1

string string1

keepalive type http

keepalive port 80

active

service server2

ip address 10.0.0.2

string string2

keepalive type http

keepalive port 80

active

HTTP get http://www.xyz.com/string1 will hit server1 and

http://www.xyz.com/string2 will be sent to server2

Syed

New Member

Re: CSS stickiness onm URL basis

Hi,

thanks for replay.

Unfortunately this configuration doesn't work in our case.

There could be three different strings in the URL, and in this three cases first connection should be load balanced and sticky applied: the session must be served from the same server. If strings are not find in URL, stickiness is not needed so we have standard balancing behavior.

Thanks.

136
Views
0
Helpful
2
Replies