Forum Discussion
node name re-written: Upgrade from v10 - V11
Am running VE BIG-IP 11.2.1 Build 797.0 Final, and have successfully imported ucs configuration files from v10.x to the new platform.
I have noticed is that the node list imported from version 10.x to v11.x has changed: What was the orginal NAME field for the node has been changed the DESCRIPTION field; and the IP address for the node has been allocated as the new NAME for the node.
This wouldn't be so bad but it seems as if the search/filter function in the node list view DOES NOT search via the desctiption.. Which means that I currently cannot narrow down the node list by using searching for a friendly name.
any help is greatfully received!
Kindly thanks :)
Daniel
13 Replies
- What_Lies_Bene1
Cirrostratus
Well, it wouldn't be pleasant but you could manually edit the configuration file and change the names as necessary and reload it. Node names can't be changed any other way unless you delete and recreate. Perhaps someone else has a better idea? - DanRose_19691
Nimbostratus
Yes that thought did cross my mind! not entirely pleasent as we have about 156 nodes to re-write. I'm supprised this hasn't come up as an issue for others. Especially as the search function doesn't use the Description field
Daniel
- nitass
Employee
in v11, node name is used as key, so it must be unique. there is no guarantee node name is unique in v10.
to change node name, you may export scf, update node name (e.g. using bash script), import the scf back.
sol13408: Overview of single configuration files (11.x)
http://support.f5.com/kb/en-us/solutions/public/13000/400/sol13408.html
regarding searching node description, you may open a support case and submit request for enhancement. - DanRose_19691
Nimbostratus
Thanks - a quick/noddy question regarding the node name
Here is a sample node exported from my new config with pretend IP address as name.
I assume that the name is the item after the /Common/
Where i to replace them all with text - are there any formatting rules to be aware of?
ltm node /Common/10.1.1.1 {
address 10.1.1.1
description Gateway
monitor none
thanks again - What_Lies_Bene1
Cirrostratus
Object names must start with an alphabetical character. http://support.f5.com/kb/en-us/solu...13209.html -- Interesting that yours don't! Perhaps this is no longer a requirement in v11.2.1?
A list of reserved words that should not be used in configurations (i.e. as object names) can be found here: http://support.f5.com/kb/en-us/solu...l6869.html
- What_Lies_Bene1
Cirrostratus
Allowed characters are alphabetic and numerical characters and the following;
• period (.)
• dash (-)
• underscore (_)Spaces are not allowed, case sensitivity is honoured, so objects named test-1 and Test-1 could both exist.
You may specify a partition for an object in the name field, regardless of the partition you currently have selected for writing to, for example, you could name an object as follows: /Common/test-node-1.
- nitass
Employee
i had to delete node before because i merged configuration and node address is same. if you import whole scf, you do not need to delete node.root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) list ltm node ltm node 10.1.1.1 { address 10.1.1.1 description Gateway monitor none session monitor-enabled } root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) delete ltm node 10.1.1.1 root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) load sys config from-terminal merge Enter configuration. Press CTRL-D to submit or CTRL-C to cancel. ltm node Gateway { address 10.1.1.1 description Gateway monitor none session monitor-enabled } Loading configuration... root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) list ltm node ltm node Gateway { address 10.1.1.1 description Gateway monitor none session monitor-enabled } - DanRose_19691
Nimbostratus
Posted By What Lies Beneath on 10/30/2012 09:13 AMObject names must start with an alphabetical character. http://support.f5.com/kb/en-us/solu...13209.html -- Interesting that yours don't! Perhaps this is no longer a requirement in v11.2.1?
A list of reserved words that should not be used in configurations (i.e. as object names) can be found here: http://support.f5.com/kb/en-us/solu...l6869.html
Yes odd that! Guess that because the new names were created/changed by the import process that it ignores it's own rules?Anyway thanks to all for your comments and help - I'm going to spend my morning (UK time) cutting and pasting the old names in to the new name field, then reloading the scf files! Wahoo :)
Will update the topic with my results
Dan
- DanRose_19691
Nimbostratus
having done some testing - and it seems that the SCF config fails to import when I change the node name. The reason is because the pool that has the node in it, references that node by its NAME not just the IP address. Which in this case is the IP address.
So what you get is this error - Configuration error: invalid node address, the IP address x.x.x.x already exists.
You do not get this error, if you import an scf that has the pool information correct - even if the node / pool / vs exists.
So my question is....
Can anyone think of an easy way i can also replace the name listed in the pool from the IP address to the "friendly name"
This wouldn't be as necessary if the orginal upgrade/import hadn't re-written my name fields - or i could search on the node GUI by description!
Thanks again
-----------------Shows changed node name and but orig/ pool infomation - which won't import ltm node /Common/test_node1 { address 10.1.1.2 description test_node1 } ltm pool /Common/Test_pool1 { description test_pool1 members { /Common/10.1.1.2:80 { address 10.1.1.2 } } Shows changed node and pool infomation - which will now import ltm node /Common/test_node1 { address 10.1.1.2 description test_node1 } ltm pool /Common/Test_pool1 { description test_pool1 members { /Common/test_node1:80 { address 10.1.1.2 } } } - Tom_92615
Nimbostratus
So I have ran into the same problem and was wondering if anyone figured out a reliable fix. I have about 100 nodes & 62 pools. We run multiple services per node on different ports, but they are mostly on one /24.
My biggest problem is that now that the name has moved, you cannot add a node from the node list by name; only IP address. We have a team of engineers that work on the different applications, and we have already had 1 production incident where the wrong node was added to a live pool because the engineer was off by 1 number (.145 instead of .146).
I tried manually updating the bigip.conf file in our test environment twice, and each time a different product had issues. I'm reluctant to do such a major change across the entire F5. Has anyone written a script or anything to help? I opened a ticket with support, and they basically said I need to delete the nodes & re-add them (not realistic at all).
Anyone?
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