Forum Discussion
cgill_am
Nimbostratus
May 21, 2019Configure many Virtual Servers pool with one iRule?
Hello, We have an environment that uses a single virtual server to host our main website. When we release code, we swap the virtual server pool membership between Prod/Non-Prod legs, where the ...
Daniel_Wolf
MVP
May 21, 2019Hello to you too,
not an iRule but you could automate this task with a tmsh command.
tmsh modify ltm virtual <your_vs_name> pool <your_new_pool_name>For doing this 30 times you could write a small shell script.
That would be (don't take offense) the lowest level of automation. You could as well achieve the same using the Rest API (see here) or some configuration management tool like Ansible (start from here).
Good luck.
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
