I need to re-ip about 600 servers, which is bad enough by itself, but I've automated the entire process except for one part: F5 configuration.
In all the documentation I can find, there is nothing about changing a node's IP address via the SOAP interface, it seems to be impossible. Most people suggest using sed tricks on exported config files and reimporting them, but that's much too brittle.
I'm considering doing a delete-create-re-add-to-pools dance via SOAP, but that also seems fragile. Is there a better way?
Note: I need to do this on both v10 and v11 of BigIP.
So, deleting and re-adding it is. And of course it's different in v11 than it is in v10. I've created a script that uses the F5 SOAP API and the python 'suds' library to do this. It will delete/recreate nodes and add them to the pools they were in. The pool ratio is also remembered, but no other setting is.
The best way to do this is to log in to the command line of the F5 and directly edit the /config/bigip.conf file as root using vim. Once edited, you apply the configuration using the command "tmsh load sys config partitions all". Unfortunaltey, the F5 does not support editing, so using the CLI and editing the config files by hand is the only way.