Forum Discussion
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.
6 Replies
- cjunior
Nacreous
edit the "bigip.conf" file with "vi" editor then execute "tmsh load sys config".
- Bob_Lyons_14865
Nimbostratus
Great thank you. I will look into that to resolve this.
- Cory_50405
Noctilucent
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 } } }- cjunior
Nacreous
Sure! do this with global replace. some like this: :%s/\/Common\/10.1.1.1:80/\/Common\/nodeName/g Sorry, my bad english!
- Bob_Lyons_14865
Nimbostratus
Thanks Cory.. makes sense if you change 1 you have to change the other as well
- JG
Cumulonimbus
Which version of BIG-IP are you running?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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