Forum Discussion
GlobalLB::Pool - How do I query GTM poolmember names?
We're running BIG-IP 9.3.1 Build 37.1 on our GTM. I need to pull the names of GTM poolmembers (no problem getting the poolmember definitions, status, etc.) but I don't see a property definition in the 9.x iControl assembly that gives it. Any ideas how to pull this info?
2 Replies
- Will_Longo
Altostratus
Is this what you're looking for?
$poollist = (Get-F5.iControl).GlobalLBPool.get_list() $memberlist = (Get-F5.iControl).GlobalLBPool.get_member($poollist) $memcount = $memberlist.count $i=0;while($i -le ($memcount-1)){$memberlist.Get($i).member;$i++} - williambb_9960
Nimbostratus
No - GlobalLBPool.get_member returns a PoolMemberDefinition object (pool member IP/port and order) but no name.
Fortunately we've upgraded to v11.4 and iControl exposes the field. Thx for taking a shot at it anyway. Glad people are trying to pitch in.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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