Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Python and Expect? (assuming there's a telnet/ssh interface)... – Tom O'Connor Jan 6 '14 at 14:55
There is, and there's tmsh for making changes. But I also didn't find any tmsh function for changing IP addresses. – Dennis Kaarsemaker Jan 6 '14 at 14:57
How about Selenium and the web interface? :P – Tom O'Connor Jan 6 '14 at 15:06
Evil :) But the web interface also doesn't seem to have that option. – Dennis Kaarsemaker Jan 6 '14 at 15:09
Deleting and readding is the way to go. First you have a node, which is an IP. Then you have a service which is an IP:Port combo. Finally you assign that service to a vserver.. changing the IP and 'doing the right thing' all the way through the configuration would involve some mind-reading. This would be far more fragile than delete/readd. The IP is the important part of the node configuration, the name is just for human use. – yoonix Jan 6 '14 at 18:36
up vote 4 down vote accepted

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.

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.