Forum Discussion
Linda_55714
Nimbostratus
Aug 19, 2011Difference between LocalLB::PoolMember :: set_monitor_state and LocalLB::Pool::set_member_monitor_state
I have a pool with two pool members and at any point only one member should be enabled. I want to enable/disable both the session state and monitor state of the pool member.
I am able to s...
Aug 19, 2011
Check out the article I wrote on Graceful Server Shutdowns. It explains how to disable a pool member as well as disabling new connections.
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/254/iControl-Apps--04--Graceful-Server-Shutdown.aspx
The accompanying sample code can be found here:
http://devcentral.f5.com/wiki/iControl.PsPoolMemberControl.ashx
This sample was written in PowerShell but you should be able to get the methods used out of it for use with Perl.
Hope this helps...
-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