Forum Discussion
David_21149
Nimbostratus
Apr 20, 2010Getting the configured members of pool in iRule
The Specific Problem:
I can't find a way to get the configured members of a pool as a list (member1, member2...) or as a test (is this ip:port in this pool?). I seem to only be able to do the fo...
hoolio
Cirrostratus
Apr 20, 2010Hi Dave,
As you've found, there isn't an iRule command that will return a list of all current members of a pool, regardless of state. You could use a shell script called from cron which populates a datagroup with all of the pool members and then reference that from an iRule.
Here is a related post for this:
http://devcentral.f5.com/Default.aspx?tabid=53&aft=61613
If you think it would be useful to have an iRule command which returns all pool members, you could open a request for enhancement case with F5 Support. It seems like it would be useful to have such a command for this scenario as well as answering questions like 'what percentage of servers in a pool are up?'.
Aaron
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
