If I add three slb-policy statements to a vserver will all three policies be checked for each connection that flows through the vserver, or will the connection be set up based on the first matching policy, and the other policies ignored?
For example, if I have a vserver with two slb-policy statements: 1) policy with a url map which checks for the presence of *password* in the url and sends the connection to serverfarm PASSWORD; 2) policy with a url map which checks for the presence of *console* in the url which sends the connections to serverfarm CONSOLE, will the connection be passed to the PASSWORD serverfarm if the first policy is matched? Will the second policy be checked at all if the first policy is matched?
The order of slb-polies under vserver configurations is important.Policies under vserver are checked sequentially and whenever there is a match no further checking is done.
virtual 10.10.50.100 tcp www
In this case, if Policy1 has a match, Policy2 & Policy3 are not even considered, and the serverfarm associated with policy Policy1 is used.
Hope it helps
Syed Iftekhar Ahmed