07-23-2008 12:54 AM
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.
07-23-2008 01:26 AM
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
07-23-2008 01:51 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide