Forum Discussion
How do we set Server name to a node in F5 11.0.0 version Via icontrol
I am trying to set a server name (screen_name) to a node in F5 11.0 via icontrol using LocalLBNodeAddress.set_screen_name() function. I am able to successfully set server name to the node in F5 10 version, the same code is throwing the below error in F5 11.0.
The requested node address (/Common/Svr1) was not found.
Any help is much appreciated.
Warm Regards,
Thara chand.
- George_Watkins_Historic F5 Account
Hi Chandu,
I think what you're running into here is a change that occurred in v11. Prior to v11, nodes were referenced by IP address and assigning a screen name was optional. With v11, nodes are referenced by named instead of IP. Both a name and an IP are required to create a node now.
If you notice in the web UI, the 'name' field is not editable when editing a node. In order to rename a node you'll need to save the config (tmsh% save sys config), edit bigip.conf (tmsh% run util bash -c 'vi /config/bigip.conf'), replace the relevant node names, save bigip.conf, and finally load the changes (tmsh% load sys config).
If you want to interact with nodes in v11, the LocalLB::NodeAddressV2 interface is what you want. You can't change the names via iControl however.
-George
- Steven_Le_Roux_NimbostratusHi,
- mhite_60883CirrocumulusYup, F5 changed this all up. You might want to use set_description under LocalLB.NodeAddressV2 in its place.
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