Forum Discussion
Jeff_Jones_4404
Nimbostratus
Jul 25, 2012iRule switching when one site is in maintance mode
is it possible via a script or a cron job to allow for switching iRules on and off based on a maintance schedule from one site to another.
JJ
5 Replies
Sort By
- Hamish
Cirrocumulus
Yeah. You can do what you like externally and the use an iControl connection to alter the iRules on a VS... That will only affect new connections though, not established ones. - Jeff_Jones_4404
Nimbostratus
Thanks, now the fun part figure out how to do it, not yet running v11, - you can also assign and remove iRules with 'tmsh modify ltm virtual rules'
- bah. content scrubber ate part of my post. in between "virtual" and "rules" you would put the VIP name.
- hoolio
Cirrostratus
Hamish's suggestion for using an iControl script would probably be the most efficient method. Else, you could also track the current time in the iRule itself and only take a maintenance action during the specific time window(s). Here's an article with examples:
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