For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

sidiov's avatar
sidiov
Icon for Nimbostratus rankNimbostratus
Dec 15, 2011

Check pool status in different vip

Hi,

 

I was wondering if there is a way of checking the current pool of a different vip than the irule is applied to. I dont want to know whether a pool is up or down, i want to know what pool is actually the default pool for a different vip.

 

2 Replies

  • Hi sidiov,

     

     

    You want to check the default pool of a different Virtual Server for status? Is that correct?

     

     

    Just out of curiosity, what are you going to do with the information if you can get it?

     

     

    You can use the [LB::server pool] to get the default pool of the current Virtual Server but I have never tried to verify the status of another Virutal Server's Default Pool. You could probably check the pool availability with the active_members command, but would have to specify the pool name (not sure if you could get it dynamically).

     

     

     

  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    I think sidiov wants to bea able to determine the default pool name for a different virtual server. The only solution I can think of is to build a datagroup of virtual server names and their default pool as a name=value datagroup. You could use a shell script called from crontab to update the entries. You could then use the class command to do the lookup.

     

     

    Aaron