Forum Discussion
rajashree_27907
Sep 05, 2017Nimbostratus
Is Autoscaling possible with F5?
In our environment, we would want to auto scale the existing number of servers by adding new servers to Pool and removing some servers from pool dynamically. Is there a way to achieve this with the h...
Jad_Tabbara__J1
Sep 05, 2017Cirrostratus
Hi
You could use F5 API to do this.
You can try the following to add/delete new Pool Member "new_pool_member" to Pool "pool_name"
Add:
curl -sk -u 'admin:admin' -H "Content-Type: application/json" -X POST https://x.x.x.x/mgmt/tm/ltm/pool/pool_name/members -d '{"name":"new_pool_member:80", "address":"1.1.1.1", "partition":"Common"}'
Delete:
curl -sk -u 'admin:admin' -H "Content-Type: application/json" -X DELETE https://x.x.x.x/mgmt/tm/ltm/pool/pool_name/members/~Common~new_pool_member -d '{"name":"new_pool_member:80", "address":"1.1.1.1"}'
Waiting for you feedback
Regards
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