Forum Discussion
Ben_95489
Oct 05, 2010Nimbostratus
Hey Kevin,
I don't think this is something that you can really accomplish with iRules. In fact, I'm sure of it. You could probably accomplish this with simple cron jobs on the LTM, but this would only give you a specific window of maintenance. The best bet is probably to use iControl from your batch processing systems to do this automatically before it starts and after it finishes. There are a few samples around of doing similar things that you should be able to use to adapt it to your language of choice.
For example:
http://devcentral.f5.com/wiki/default.aspx/iControl/PsPoolMemberControl.html
http://devcentral.f5.com/wiki/default.aspx/iControl/Pycontrol2DisablePoolMember.html
http://devcentral.f5.com/wiki/default.aspx/iControl/pyControlTogglePoolMember.html
Hope this helps!
// Ben