01-26-2022 08:16 PM
My colleagues created a Org structure in UCS Manager with the wrong Parent Org name which looks like this:
LAN\Policies\root\Sub-Organisations\Shared\Sub-Organisations\SharedClusters\IncorrectOrgName\
I need to correct the "IncorrectOrgName", and since you cannot rename parts of the org structure, I had to create a new org structure with the following structure:
LAN\Policies\root\Sub-Organisations\Shared\Sub-Organisations\CorrectOrgName
The old Org structure has 6 vNIC templates which contain around 250 VLANs and I cannot find a way to copy these to the new org structure I created. I created on vNIC template by hand, selecting each and every VLAN, and my hands are hurting. I tried to drag-n-drop but that does not work on the GUI.
Is there a way to easily move/copy existing vNIC templates from one Org to another?
I am using UCS Manager 4.1(1a)
Solved! Go to Solution.
01-27-2022 01:37 PM
This could probably be done via the CLI instead of the GUI.
scope org
scope org YourOrg1
scope vnic_templ vNIC01
show configuration
top
scope org
scope org YourOrg2
create vnic_templ vNIC01Copy
<paste from show configuration minus the first line>
commit-buffer
This may/may-not work depending on the complexity/interdependence configured in your vNIC.
If you have that many VLANs, then you could also create a VLAN group.
Assign all the necessary VLANs into the VLAN group, then assign the VLAN group to the vNIC.
01-27-2022 01:37 PM
This could probably be done via the CLI instead of the GUI.
scope org
scope org YourOrg1
scope vnic_templ vNIC01
show configuration
top
scope org
scope org YourOrg2
create vnic_templ vNIC01Copy
<paste from show configuration minus the first line>
commit-buffer
This may/may-not work depending on the complexity/interdependence configured in your vNIC.
If you have that many VLANs, then you could also create a VLAN group.
Assign all the necessary VLANs into the VLAN group, then assign the VLAN group to the vNIC.
01-27-2022 06:21 PM
Worked really well, thank you Steven. I have only run one or two UCS CLI scripts so I had a bit of work to do to get it working, simply because I had no idea on how to navigate UCS CLI!! But what helped me were these commands:
Show the available orgs:
* show org
Had to change the "_" in your code to "-":
Scope vnic-templ vNIC01
Thank you again!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide