Forum Discussion
Russell_Moore_8
Dec 09, 2010Nimbostratus
script to disable all pool members if minimum not met
I wrote this originally in perl using iControl and decided to re-write it via tmsh.
I used some stuff from the code share but modified it.
Small, simple, effective.
The basics to get this script installed are:
Type these:
tmsh
cli script
edit min-member-pool.tcl
set noautoindent
set nosmartindent
Copy & paste in the contents of the script
Save and quit the editor
After it successfully accepts the script you can call it from the regular “advanced cli” (in other words “bash”) as:
tmsh run cli script min-member-pool.tcl |reset
I’ll need to write a wrapper that does some proper EAV functions and calls this script to do the actual evaluation and actions.
- JRahmAdminMind if we add this to the codeshare?
- Alex_Huan_3427NimbostratusHi Russell,
- Vikas_23362NimbostratusHi,
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