从VMware ESXi 6.0.0 build-2494585升级到VMware ESXi 6.0.0 build-2615704
升级过程如下:
1.从图形化客户端,开启要升级的的esxishell 和shell。(在配置--安全配置文件-服务里临时手动启动)。
2.将升级软件包上传到相应服务器/vmfs/volumes/datastore1目录下(具体自己去查看),这下面才有足够的空间释放安装。软件升级包为:ESXi600-201504001.zip。
3. 使用# vim-cmd hostsvc/maintenance_mode_enter 命令进入维护模式。
4. 使用# esxcli software vib list 命令查看当前版本(或:vmware -v)。
5. 使用# esxcli software profile get 命令显示已经安装的补丁包。
6. 使用# esxcli software vib install --maintenance-mode -d /vmfs/volumes/datastore1/ESXi600-201504001.zip (或使用:esxcli software vib install -d /vmfs/volumes/datastore1/ESXi600-201504001.zip)命令升级。
7. 再次# esxcli software profile get 命令显示已经安装的补丁包。
8. 使用# vim-cmd hostsvc/maintenance_mode_exit 命令退出维护模式。
9. 使用# reboot 命令重启系统。
10. 再次# esxcli software vib list 使用查看版本确认即可。

ESXI主机自己开启进入维护模式 esxcli system maintenanceMode set -enable yes (不经过VCenter)

Issue the following command (full path to the file must be specified):
esxcli software vib install -v {VIBFILE}
or
esxcli software vib install -d {OFFLINE_BUNDLE}

In the example above, this would be:
esxcli software vib install -v /tmp/VMware_bootbank_net-driver.1.1.0-1vmw.0.0.372183.vib
Note: Depending on the certificate used to sign the VIB, you may need to
change the host acceptance level. To do this, use the following command:
esxcli software acceptance set --level=
Also, depending on the type of VIB being installed, you may have to put
ESX into maintenance mode. This can be done through the VI Client, or by
adding the '--maintenance-mode' option to the above esxcli command.

Upgrade Installation
--------------------
The upgrade process is similar to a new install, except the command that should
be issued is the following:
esxcli software vib update -v {VIBFILE}
or
esxcli software vib update -d {OFFLINE_BUNDLE}
附具体命令用法:
Usage: esxcli software vib install [cmd options]
Description:
install Installs VIB packages from a URL or depot. VIBs may be installed, upgraded, or downgraded. WARNING: If
your installation requires a reboot, you need to disable HA first.
Cmd options:
-d|--depot=[ ... ]
Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip
file.
--dry-run Performs a dry-run only. Report the VIB-level operations that would be performed, but do not change
anything in the system.
-f|--force Bypasses checks for package dependencies, conflicts, obsolescence, and acceptance levels. Really not
recommended unless you know what you are doing. Use of this option will result in a warning being
displayed in the vSphere Client. Use this option only when instructed to do so by VMware Technical
Support.
--maintenance-mode Pretends that maintenance mode is in effect. Otherwise, installation will stop for live installs that
require maintenance mode. This flag has no effect for reboot required remediations.
--no-live-install Forces an install to /altbootbank even if the VIBs are eligible for live installation or removal. Will
cause installation to be skipped on PXE-booted hosts.
--no-sig-check Bypasses acceptance level verification, including signing. Use of this option poses a large security risk
and will result in a SECURITY ALERT warning being displayed in the vSphere Client.
--proxy= Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port.
-n|--vibname=[ ... ]
Specifies VIBs from a depot, using one of the following forms: name, name:version, vendor:name, or
vendor:name:version.
-v|--viburl=[ ... ]
Specifies one or more URLs to VIB packages to install. http:, https:, ftp:, and file: are all supported