ACE Module Question

Unanswered Question

Hi,


I have the following configuration:


policy-map type loadbalance first-match test

class L7-URL

sticky-serverfarm test

insert-http src-ip header-value %is:%ps:%id:%pd

class class-default

serverfarm test


Does the class class-default need to be in the above configuration? The reason I as is because I see it in some examples and not in others.


Regards,


John...

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Syed Iftekhar Ahmed Mon, 02/23/2009 - 14:08
User Badges:
  • Blue, 1500 points or more

class-default act as a last resort under policy configuration. If there are multiple classes to check against the traffic then policy will compare traffic against all the classes and if there is no match then actions for class-default will be used.


In your case

ACE will look for the condition in "class L7-URL" , if it matches then it will use sticky-group test (which should have a serverfarm associated to it). Serverfarm under the sticky group will be used if the client request matches the class L7-URL.


If client request doesnt match the condition in "class L7-URL" then server farm test (under class-default) will be used.


HTH

Syed iftekhar Ahmed


Actions

This Discussion