cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
469
Views
0
Helpful
1
Replies

Multiple slb-policy statements in a vserver

t.clark
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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

View solution in original post

1 Reply 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: