Forum Discussion

dustinbrooks_25's avatar
dustinbrooks_25
Icon for Nimbostratus rankNimbostratus
May 01, 2015

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's avatar
    kunjan
    Icon for Nimbostratus rankNimbostratus

    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.

  • As per given URL https://devcentral.f5.com/codeshare?sid=305, how to execute the code with new server IP's?