Forum Discussion

Frank_Mancini_3's avatar
Frank_Mancini_3
Icon for Nimbostratus rankNimbostratus
Jan 09, 2007

Which pool gets selected first?

I have an i-rule that does:

 

 

when CLIENT_ACCEPTED {

 

if { [IP::addr [IP::client_addr] equals 10.10.10.10] } {

 

pool my_pool

 

}

 

else {

 

pool my_pool2

 

}

 

}

 

 

 

However, in my LTM config, I have a default pool selected. Which gets evaluated first? Obviously, by my i-rule, I don't need to select a default, but was curious to know if it slows anything down if I have a default selected.

1 Reply

  • The events of your rule take precedence over the VIP's pool configuration. There shouldn't be any noticeable difference in resources or latency between selecting a pool in your rule versus it going to the default pool on the VIP.

     

     

    However, it is a good practice to explicity set the pool (as you have done) for every condition, if you're changing the pool for any condition. Clear as mud?

     

     

    For more info, check this post: (Click here).

     

     

    Aaron