Re-naming nodes

This is my first post so I am sorry if this is not in the right group. I am still learning my way around.

In the past all nodes were created automatically when pools were created. Our problem is that now all nodes have the same info in the name and IP address field, the IP address. Is there a way to rename a node to give it a real name and not just an IP address? In the GUI we could not find a way to do this, but I was not sure if there was a way to do it via command line.

We have a couple of hundred nodes so manually deleting them and re-creating them would be way to much work.

Thanks for any help you can provide.

edit the “bigip.conf” file with “vi” editor then execute “tmsh load sys config”.

Great thank you. I will look into that to resolve this.

If you do this, just ensure you edit both the node config:

ltm node /Common/10.1.1.1:80 {
    address 10.1.1.1
}

as well as the pool configs where the node is applied:

ltm pool /Common/foo {
    members {
        /Common/10.1.1.1:80 {
            address 10.1.1.1
        }
    }
}

Thanks Cory.. makes sense if you change 1 you have to change the other as well

Sure! do this with global replace. some like this: :%s/\/Common\/10.1.1.1:80/\/Common\/nodeName/g Sorry, my bad english!

Which version of BIG-IP are you running?