Forum Discussion
Boris_Rousseau_
Nimbostratus
Jul 01, 2010How to schedule a "Forced Offline" on node with condition
Hello,
I need to do as following:
Automaticly "Force Offline" a Node, at 1Am, IF there is no user connexion.
IF there is user connexion ( on that node), then wait 5 min and tr...
Hamish
Cirrocumulus
Jul 01, 2010I'd do this in iControl (And perl) myself. You could do this in an iRule as well, but it's best to keep those simple and stable, because they run inline, and any problems means dropped connections.
Others will undoubtedly say tmsh, or something, but there's at least half a dozen choices... PIck the one you feel most comfortable with putting in place and supporting.
The codeshare has several perl examples for dealing with poolmembers. Grab one & just modify it for your requirements. Kick off with cron at 01:00 and put the check, sleep, loop and force offline in the script.
H
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