Forum Discussion
sidiov
Nimbostratus
Dec 15, 2011Check 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
- Michael_Yates
Nimbostratus
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
Cirrostratus
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects