Forum Discussion
jfletcher_25149
Nimbostratus
Mar 01, 2019adding an FQDN node to an existing pool using icontrol or Rest API
I would like to be able to add an FQDN node to a pool via the iControl or REST Api.
Currently we have been using a powershell module (https://github.com/joel74/POSH-LTM-Rest) to create the node...
Satoshi_Toyosa1
Mar 03, 2019Ret. Employee
Create an FQDN node before adding it to the pool. For example, to create an FQDN node
www.f5.com (name) pointing to www.f5.com (actual FQDN) with the autopopulate endabled:
curl -sku : https:///mgmt/tm/ltm/node \
-X POST -H "Content-type: application/json" \
-d '{"name":"www.f5.com", "fqdn":{"tmName":"www.f5.com", "autopopulate":"enabled"}}'
Then, add the node to the pool (here
pl) just like any other node members:
curl -sku : https:///mgmt/tm/ltm/pool/pl/members \
-X POST -H "Content-type: application/json" \
-d '{"name":"www.f5.com:80"}'
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
