CSS stickiness onm URL basis

Unanswered Question
Jul 23rd, 2008
User Badges:

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Syed Iftekhar Ahmed Wed, 07/23/2008 - 01:26
User Badges:
  • Blue, 1500 points or more

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

content syed

vip address

url “/*”

advanced- balance url

protocol type tcp

port 80

add service server1


add service server2


service server1

ip address

string string1

keepalive type http

keepalive port 80


service server2

ip address

string string2

keepalive type http

keepalive port 80


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

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


m.loli Wed, 07/23/2008 - 01:51
User Badges:


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.



This Discussion