ESXi4.1已經改名叫做vSphere Hypervisor,前段時間将一台ESXi4.0 Update2 的Server更新到了ESXi4.1,過程概略如下:
更新工具:VMware vSphere Command-Line Interface(vSphere CLI)
步驟:
1.下載下傳更新包(upgrade-from-ESXi4.0-to-4.1.0-xxxxxx-release.zip);
2.關閉運作中的VM,并切換到maintenance mode;
3.開啟CLI,并執行指令:
bin\vihostupdate.pl --server Server_IP -i -b 更新包路徑名稱 -B ESXi410-GA-esxupdate
bin\vihostupdate.pl --server Server_IP -i -b 更新包路徑名稱 -B ESXi410-GA
4.将Server重新開機并離開維護模式重新開機,完成更新過程;
5.更新Client。
附官方文檔:
Upgrade an ESXi Host with the vihostupdate Utility
You can use the vihostupdate utility to upgrade from ESXi 4.0 to ESXi 4.1.
Prerequisites
Before you can upgrade an ESXi host from the command line, you must have access to a machine on which you can run the VMware vSphere Command-Line Interface (vSphere CLI). You can install the vSphere CLI on
a Microsoft Windows or Linux system or import the VMware vSphere Management Assistant (vMA) virtual appliance onto your ESXi host. For information about importing or installing the vSphere CLI, see the VMware
vSphere Command-Line Interface Installation and Reference Guide.
The target host must have 3GB of RAM if it is connected to vCenter Server.
For ESXi hosts, you must configure a scratch partition and reboot the host before proceeding with the upgrade.
You can configure a scratch partition for a host under the Software Advanced Settings in the Configuration tab of the vSphere Client.
Procedure
1 Download the following upgrade ZIP bundle from the VMware Web site to a location that is accessible
to the vSphere CLI machine.
upgrade-from-ESXi4.0-to-4.1.0-0.0.build#-release.zip
The upgrade ZIP bundle contains and esxupdate bulletin and an upgrade bulletin.
2 Power off any virtual machines that are running on the host and place the host into maintenance mode.
3 Install the esxupdate bulletin by running the following command on the vSphere CLI machine.
vihostupdate --server host name or IP address -i -b location of the ESXi upgrade ZIP bundle -
B ESXi410-GA-esxupdate
4 Install the upgrade bulletin by running the following command on the vSphere CLI machine.
B ESXi410-GA
5 Verify that the bulletins are installed on the ESXi host by running the following command.
vihostupdate.pl --server host name or IP address --query
6 Reboot the host.