如何在VMware ESXi上安装RACADM 并配置iDRAC IP

Summary: 本文介绍了如何在VMware ESXi上安装RACADM 并演示如何使用RACADM命令修改iDRAC的IP地址。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

目录:

安装RACADM 

  1. 下载适用于当前VMware ESXi版本的RACADM VIB 软件包

安装包示意图

  1. 使用ESXi主机客户端(vSphere Host Client)将安装包上传到ESXi主机的Datastore上

上传位置示意图

  1. 可以先使用ls 命令来验证文件是否上传成功,然后使用如下命令安装RACADM:
esxcli software vib install -d /vmfs/volumes/datastore1/DellEMC-iDRACTools-Web-ESX67i.VIB-9.5.1-4191.zip

 

NOTE: 需要使用绝对路径: /vmfs/volumes/datastore1/DellEMC-iDRACTools-Web-ESX67i.VIB-9.5.1-4191.zip


绝对路径示意图 

  1. 使用如下命令验证RACADM已经在安装列表中。
esxcli software vib list | grep racadm


使用RACADM

  1. 安装好的RACADM 工具放在opt/dell/racadm 路径下,使用cd 命令切换到RACADM工具所在的路径。

命令切换所在路径示意图

  1. 输入要执行的RACAM的命令,比如racadm getniccfg 命令 可以查看iDRAC IP /子网掩码/网关/网卡等信息。

racadm getniccfg 命令示意图

  1. RACADM命令演示:修改iDRAC 的IP地址。

使用racadm getniccfg 命令查看当前iDRAC网络设置。
racadm getniccfg命令查看示意图 

使用如下命令修改iDRAC的IP地址、子网掩码、网关等。

使用以下命令设置IPv4地址。

racadm set iDRAC.IPv4.Address 10.1.4.XX

使用以下命令设置子网掩码。

racadm set iDRAC.IPv4.Netmask 255.XXX.0.0

使用以下命令设置网关。

racadm set iDRAC.IPv4.Gateway 10.1.0.XXX

 

命令修改ip示意图 

验证IP是否修改成功。

登录idrac界面示意图 

 
 
 

Additional Information

Affected Products

PowerEdge, VMware ESXi 5.x, VMware ESXi 6.5.X, VMware ESXi 6.7.X, VMware ESXi 6.x, VMware ESXi 7.x
Article Properties
Article Number: 000193731
Article Type: How To
Last Modified: 06 Jun 2025
Version:  9
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.