Forum Discussion
- Check out the article I wrote on Graceful Server Shutdowns. It explains how to disable a pool member as well as disabling new connections.
I am able to set the session state using PoolMember :: set_session_enabled_state. However I am facing issues setting the pool member monitor status.
Can anyone please share an example of how this can be done? Should I use the set_monitor_state() or the set_member_monitor_state() to selectively set the pool member monitor state. I am using PERL for development. Your help is very much appreciated!
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