css url balancing

Unanswered Question


I'm setting up an CSS to balance http traffic. So far I've got the following setup working:

!*************************** OWNER ***************************
owner CUST

  content WEBAPP
    advanced-balance arrowpoint-cookie
    add service APP01
    add service APP10
    vip address
    protocol tcp
    port 8080
    add service APP11
    add service APP02
    add service APP03
    add service APP04
    add service APP05
    add service APP06
    add service APP09
    add service APP07

Now it's just balancing anything hitting tcp/8080 and balancing it on the WEBAPP hosts. There is a need to balance some URL's to other rservers. Here is what I came up with:

!**************************** URQL ****************************
urql TEST
   url 10
   url 10 url "/app/servlet?config=ard1234x"
   domain ""

!*************************** OWNER ***************************

  content WEBAPPTEST
     balance weightedrr
     advanced-balance arrowpoint-cookie
     add service APP02
     add service APP03
     add service APP04
     vip address
     protocol tcp
     port 8080
     url urql TEST

What I am not able to figure out is how I can make sure that just this URL "/app/servlet?config=ard1234x" gets balanced to APP02, APP03, APP04 and the rest of the traffic to the servers in content WEBAPP. Should I make an URQL with a wildcard url? I also think I need to somehow insert mynew WEBAPPTEST content before WEBAPP otherwise it will never hit. Am I right? I'm not in a position where I can just keep fooling around till it works unfortunately...

Any help is welcome!



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Gilles Dufour Wed, 01/20/2010 - 07:29

The CSS stops parsing url at the "?".

So matching with urql or url command won't work and I'm not sure if there is any solution with the CSS.

The ACE appliance does allow you to match after the question mark.


That's an easy answer. Thanks a lot! Really helpful! I know that the ACE can do it. We're also using ACE's in a different setup but here we're stuck with a pair of CSS's

The easiest solution right now is to have the customer who we want balanced over the other server is going to be using a different VIP. Then we can just do it as we do now by just balancing everything hitting on tcp/8080.


This Discussion