Forum Discussion
Disabling a pool nightly for maintenance
iCall module allows you to create a scheduler (periodic handlers) in order to execute a specific bash script that you've installed on the BIG-IP. You might use this to run TMSH disable commands, and configure a second scheduler to run the enable command as well.
Scripting it like this would use static variables, so it works as long as you don't need this to be dynamic for different apps. I do agree with Paulius that using a receive down string on the monitor might still be a better option.
- P_KueppersOct 19, 2023MVP
To get this simpler, just log in to your bigip with ssh and write the command into crontab
ForceOffline:
tmsh modify ltm pool *pool_name* members modify { *1.1.1.1:80* { session user-disabled state user-down } }
Disable:
tmsh modify ltm pool *pool_name* members modify { *1.1.1.1:80* { session user-disabled state user-down } }
Recent Discussions
Related Content
* 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