Forum Discussion
Add Pool Members in Batch
We are adding tons of new servers to our pool and we have 2 different F5 appliances, so I'm looking for an easier way to add a bunch of new members to existing pools.
I haven't done any F5 scripting or anything, so I'm coming at this as a complete noob.
Any help getting me in the right direction would be awesome.
3 Replies
- kunjan
Nimbostratus
You can try cli
eg:pool name myPool and node 10.10.10.10 and port 80
tmsh modify ltm pool myPool members add { 10.10.10.10:80 { address 10.10.10.10}}Should be able to create a shell script based on this.
- DevBabu
Cirrus
please read the below article and see if that helps. You need to modify scricpt as per your requirement.
https://devcentral.f5.com/codeshare?sid=305
- KT_271103
Nimbostratus
As per given URL https://devcentral.f5.com/codeshare?sid=305, how to execute the code with new server IP's?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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