使用 vSphere CLI
要使用 vSphere CLI 在 VMware ESXi 上安装系统管理软件:
- 将 OM-SrvAdmin-Dell-Web-<version>-<bldno>.VIB-ESX<version>i_<bld-revno>.zip 文件复制并解压到系统上的某个目录。对于 ESXi 5.0 和 ESXi 5.0 P1,将文件复制并解压到 ESXi 5.0 U1 服务器上的 /var/log/vmware 文件夹。
- 关闭 ESXi 主机上的所有来宾操作系统,并将 ESXi 主机置于维护模式。
- 如果您使用 Windows 上的 vSphere CLI,则导航至已安装 vSphere CLI 公用程序的目录。
如果您在 Linux 上使用 vSphere CLI,则可以从任何目录执行该命令。
- 执行以下命令:
对于 VMware ESXi4.0/ESXi 4.1:vihostupdate.pl --server<ESXi 主机的 IP 地址>-i -b <Dell OpenManage 文件的路径> vihostupdate.pl --server<ESXi 主机的 IP 地址>-i -b <Dell OpenManage 文件的路径>
对于 VMware ESXi 5.0 U1:esxcli --server <ESXi 5.0 主机的 IP 地址> software vib install -d /var/log/vmware/<Dell OpenManage 文件>esxcli --server <ESXi 5.0 主机的 IP 地址> software vib install -d /var/log/vmware/<Dell OpenManage 文件>
注: 如果您在 Linux 上使用 vSphere CLI,则不需要 .pl 扩展名。
- 出现提示时,输入 ESXi 主机的 root 用户名和密码。
命令输出显示更新成功或失败。
- 重新启动 ESXi 主机系统。
要获得或列出有关已安装 VIB 的信息:
- 对于 ESXi 4.x,使用 vihostupdate.pl --server <IP> --queryvihostupdate.pl --server <IP> --query 或 -q-q
- 对于 ESXi 5.x,使用 esxcli --server <IP>software vib get esxcli --server <IP>software vib get 或 software vib listsoftware vib list
VIB 包含以下项目:
- Server Administrator Instrumentation Service
- Remote Enablement
- Server Administrator Storage Management
- Remote Access Controller
相关链接:
故障排除
Data is not available for the Topic