Forum Discussion
raddboy_74501
Nimbostratus
Oct 01, 2010Force Pool members offline for Nightly Maintenance?
I've searched this forum for an answer to no avail.
I'm looking to "force offline" all members of a pool at a specific time every night, say 10:00pm. This will keep users out of an applicati...
Ben_95489
Nimbostratus
Oct 05, 2010Hey 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
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