Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerEdge:如何更改 iDRAC 上的系统主机名?

Summary: 有关如何填充或更新 iDRAC 中显示的系统主机名的指导。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

iDRAC 显示的操作系统主机名、操作系统或操作系统版本未填充或与系统信息不匹配。

Cause

某些操作系统不向 iDRAC 提供操作系统信息。以下文章更加详细地描述了此问题:
Dell PowerEdge:iDRAC 未正确显示 ESXi 6.5/6.7 系统主机名和操作系统

Resolution

建议安装 Dell EMC iSM (iDRAC Service Module)



或者,也可以使用 RACADM 手动配置操作系统主机名和操作系统名称:

racadm set System.ServerOS.HostName server1.domain.local
racadm set System.ServerOS.OSName "ESXi 6.7 U3"

 
刷新页面后,更新后的操作系统信息将显示在 iDRAC Web GUI 中。要刷新 CMC 中的主机名和操作系统名称,需要重置 iDRAC。


此外,还可以使用以下 IPMI 原始命令:
命令详细信息

raw 0x06 0x58 0x02 0x00 0x05 0x04 0x4c 0x4d 0x4e 0x4f

字节 0:0x06 网络功能
字节 1:0x58 命令
字节 2:0X02 参数选择器(区分设置的固件版本、操作系统名称、系统名称等)
字节 3:0X00 设置选择器(等于 0 意味着用户正在设置参数)
字节 4:0x05 检查字符串数据
字节 5:0x04 --> 数据长度
字节 6...n:数据字节

用法

例如,要将主机名设置为“DELL”,请执行以下操作:

raw 0x06 0x58 0x02 0x00 0x05 --此部分很常见
0x04 -- 主机名字符串长度,在我们的示例中为四个字符 (DELL)
0x44 0x45 0x4c 0x4c -- ASCII 等效于 DELL
建议使用前缀为 0x 的 ASCII 到十六进制转换器,以便轻松转换字符。

Article Properties


Affected Product

PowerEdge

Product

iDRAC Service Module, iDRAC7, iDRAC8, iDRAC9

Last Published Date

22 Apr 2024

Version

8

Article Type

Solution