Alternatively, the operating system hostname and operating system name can be configured manually using RACADM:
racadm set System.ServerOS.HostName server1.domain.local
racadm set System.ServerOS.OSName "ESXi 6.7 U3"
The updated operating system information will be visible in the iDRAC web user interface after refreshing the page. In order to refresh the hostname and operating system name in the CMC, the iDRAC must be reset.
The following IPMI raw command can also be used:
raw 0x06 0x58 0x02 0x00 0x05 0x04 0x4c 0x4d 0x4e 0x4f
Byte 0 : 0x06 Network Function
Byte 1 : 0x58 Command
Byte 2 : 0x02 Parameter Selector (distinguish between set Firmware Version, OS Name, System Name etc.)
Byte 3 : 0x00 Set Selector (this equals 0 implies that the user is setting the parameter)
Byte 4 : 0x05 Check String data
Byte 5 : 0x04 --> data length
Byte 6…n : data bytes
Usage:
For example, to set the hostname to "DELL":
raw 0x06 0x58 0x02 0x00 0x05 --This part is common
0x04 --hostname string length- four characters(DELL) in our example
0x44 0x45 0x4c 0x4c -- ASCII equivalent for DELL.
It is advised to use a ASCII to Hex convertorwith the prefix 0x to easily translate the characters.