07-23-2007 02:01 AM
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?
Thanks,
Thomas
Solved! Go to Solution.
07-23-2007 10:19 AM
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.
e.g.
vserver WEB
virtual 10.10.50.100 tcp www
slb−policy Policy1
slb−policy Policy2
slb−policy Policy3
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
07-23-2007 10:19 AM
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.
e.g.
vserver WEB
virtual 10.10.50.100 tcp www
slb−policy Policy1
slb−policy Policy2
slb−policy Policy3
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
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