cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
863
Views
0
Helpful
1
Replies

Edit Server Userlabel with UCS Central Powershelltool

mr.ucs
Level 1
Level 1

Hello everybody,

 

I have got a problem with editing User Label from Cisco UCS Servers by UCS Central.

We want to store the ASSETID in the Userlabel field of an UCS Rackserver, Bladeserver or Chassis Userlabel field.

 

I can edit the value in UCS Central with the following Powershellcommand:

 

Get-UcsCentralManagedObject -Dn (get-ucscentralserver | where {$_.Serial -EQ SERIALNUMBER} |select dn)[0].dn | Set-UcsCentralManagedObject -PropertyMap @{UsrLbl= ASSETID;} -force

 

The Result is, that the Label is only changed in UCS Central. There is no sync between Central and UCS Manager.

Will I change it in UCS Manager manually these Information are synchronized wit UCS Central.

 

Is there a possibility to synchronize these data? Or is there an other Powershellcomand to do this?

 

Thanks 

 

Matthias

1 Reply 1

Kirk J
Cisco Employee
Cisco Employee

Referencing: https://community.cisco.com/t5/unified-computing-system/edit-server-userlabel-with-ucs-central-powershelltool/m-p/3766538

 

There was an older enhancement request, https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuq43403/?reffering_site=dumpcr where that was being requested.

The user label at the UCSM level is actually applied to the equipment, outside of the service profile, so I'm wondering if that is by design, or if that was an unintended omission where the global SP userlabel does not override the local user label at the equipment level.

You would probably need to open a TAC case, and have them file bug/enhancement request, or reference the previous mentioned bug for clarification.

 

Kirk...

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: