Forum Discussion
storg_88340
Nimbostratus
May 09, 2008LocalLB.Pool.get_member() call using perl
I've just started using perl to query our F5, and what I've done so far (not much) is working,
but it seems I must be doing things the hard way.
I've done this
$jj...
May 27, 2008
The get_member() method returns a 2-d array. The first dimension to match to each pool name you passed in in the pool_list parameter. The "Disabling Node Servers" codeshare entry will query all pools, and then pass that list into get_member, and then enumerate through the 2-d array.
http://devcentral.f5.com/wiki/default.aspx/iControl/DisablingNodeServers.html
Click here
Look for the findPoolsFromMember() method. It calls a subroutine to get the 2-d array of members and loops through the results. Not sure if this is the "best" way, but it does work.
Cheers!
-Joe
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