Forum Discussion
Khamari_2736
Nimbostratus
Nov 29, 2011GTM iRule Syntax, how to disable/enable a GTM pool member (VS) ?
Hello,
Any one knows the sysntx on how to enable/disable a GTM pool member using an iRule?
I'm trying to enable pool members that are in the manual resume (Balck) status using an iRule.
Kind regrads
2 Replies
- George_Watkins_Historic F5 AccountHi Khamari,
A pool member's state cannot be manipulated from within an iRule. You can check the number of members available or get a list, but you can't flip the switch. You could do this with iControl though. The method you'd want to use is GlobalLB::PoolMember.set_enabled_state. Hope that helps,
George - Khamari_2736
Nimbostratus
Thanks George, you reply did put me in the right direction. I end up using neither irules or icontrol but instead a perl script. So I could take advantage of tmsh command that enable all pool members of a pool.
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/2158870/showtab/groupforums/Default.aspx
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