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...
David_21149
Nimbostratus
Apr 20, 2010Thanks Aaron.
Yeah, I will request the following:
- a "members" statement that works like "active_members"
- that LB::status returns something other than "down" when the ip:port is not actually a member. Maybe "error" or "nonmember" or just ""? I suppose that there would be people out there depending on "down" for a nonmember, so perhaps that can't be done.
I see the cron approach (the contest winning status vserver), though I would hate to do anything that would live outside of a configuration sync. We may want to have the search servers query the LB via iControl and find out what pools they are members of that way. Then the iRule can return the pool name instead of "YES"/"NO" and if the name is one of the pools the server is a member of, then that's "YES".
Would appreciate any other ideas people think of.
Dave
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