Forum Discussion
johns_45949
Nimbostratus
Nov 11, 2009Scripting some basic admin
Hi all
I am trying to find out how I can script some basic admin tasks that we do almost daily. I am not a developer so I was hoping that something like BigPipe would be my answer. I am struggling to get the syntax to do what I need though. I believe I use an LTM on version 9.3??
I have 8 webservers. Each server has 5 different IP addresses. I have 5 different pools. One IP adress from each server belongs to each pool.
In order to speed up my release process, I would like to run a script that puts 4 of the servers into {Forced Offline (Only active connections allowed)] state for all of the pools they belong to so that I can release to them without impacting live trafic.
I would then like to add them back, and remove/disable the other 4 servers.
Lastly id like to add the last 4 servers back to their respective pools.
Any ideas on how I can script this?
Many tanks
- hoolio
Cirrostratus
Hi John, - johns_45949
Nimbostratus
Thanks Aaron - hoolio
Cirrostratus
If you end up putting something together, can you reply here with the script? It would make a nice addition to the management codeshare section: - Leonardo_39231
Nimbostratus
Do you know if you can remove the active connections for a member of a specific pool? For example Pool ABC has a member 1.1.1.1:80 & Pool XYZ has a member 1.1.1.1:443 and I just want to remove the active sessions for Pool ABC, 1.1.1.1:80. - hoolio
Cirrostratus
I don't think you can differentiate between connections to an IP:port from one pool versus another if the pool member IP:port is the same in two pools. The 'b conn all show all' output doesn't have any detail on the pool.
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