Forum Discussion
thomasevig
Nimbostratus
Jul 07, 2022adding pool members dynamically without DNS resolution.
Hello dear forum users, we're using F5 Big-IP and we need to find a way of adding members to a pool (from the same ip range of course) dynamically without having to add each member manually a...
StephanManthey
Nacreous
Jul 08, 2022Why not using the REST API to add the new server to the pool? I guess you are using some automation to setup your servers, right?
POST /mgmt/tm/ltm/pool/~<partition-name>~<pool-name>/members
{"name":"node_121:80","address":"10.131.131.121",
"session":"user-disabled","partition":"Common"}
will do the job (using a basic or token based auth)
DELETE /mgmt/tm/ltm/pool/~<partition-name>~<pool-name>/members/~<partition-name>~<node-name>:<port>
will remove it, when the server is going to be taken down.
In any case make sure to save the config to the startup config, because the API will modify the running config only.
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