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

CSS stickiness onm URL basis

m.loli
Level 1
Level 1

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 2

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

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.