Forum Discussion
Brian_Deitch_11
Sep 22, 2011Historic F5 Account
Dynamic query of all pools
I'm working on a dynamic iRule that will load balance based on the URI. I have that part working fine but the pool selection deviates from our standard. I need to figure out how I can query all the po...
The_Bhattman
Nimbostratus
Sep 25, 2011Hi Brian,
I think a good approach is to create the dynamic class listing all the pool members via cron job and a shell script. Luckily one has already been created as a solution for another problem.
Go to the following link
http://devcentral.f5.com/wiki/iRules.Pool__Member__Status__Page_on_a__Virtual__Server_v10.ashx
While this link is for an iRule regarding pool status, it still contains a cron script to which you can extract pool information into a class file which can be used for any other application.
I hope this helps
Bhattman
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