Forum Discussion

Chris_Phillips's avatar
Chris_Phillips
Icon for Nimbostratus rankNimbostratus
Feb 16, 2011

Finding what the default pool is

Hi,

 

 

Is there a way to find what the configured default pool is on a vip? I want some logic to be able to assign to one of two pools - the one that is not the default pool, i.e. the "offline" pool, on a single virtual service. Any clues? I can't see anything obvious at all.

 

 

Thanks

 

 

Chris

 

2 Replies

  • You can use LB::server pool from certain events. An example would be using it from within CLIENT_ACCEPTED to illustrate the default.
  • Ahh yes, I thought this was only relevant after it was LB'd but it does say in the fineprint it will return the default if not already balanced. Brilliant! You da man. Nice jumper btw.