VMWare ESXI5.0U1 Updates

  • 格式:docx
  • 大小:149.69 KB
  • 文档页数:7

VMware vSphere ESXi 5.0 Update 1 发行说明

ESX/ESXi 升级

vSphere 5.0 Update 1 提供以下工具用于升级 ESX/ESXi 主机。

 vSphere Update Manager。如果您的站点使用 vCenter Server,请使用 vSphere Update

Manager 来执行协调主机或协调虚拟机自 ESX/ESXi 4.0、4.1 以及 ESXi 5.0 版本进行的升级。请参见 《vSphere 升级》文档中的说明。如需有关 vSphere Update Manager 的完整文档,请参见 《安装和管理 VMware vSphere Update Manager》文档。

 使用在 CD-ROM 或 DVD 上的 ESXi 安装程序 ISO 映像以交互方式升级。您可以从

CD-ROM 或 DVD 驱动器运行 ESXi 5.0 Update 1 安装程序来执行交互式升级。该方法适用于升级数量较少的主机。

 执行脚本式升级。您可以通过运行升级脚本将 ESXi/ESX 4.x 主机升级或迁移到 ESXi 5.0

Update 1,实现高效、无人参与的升级。脚本式升级还提供了高效的多主机部署方式。您可以从

CD-ROM 或 DVD 驱动器或通过 PXE 引导安装程序使用脚本来升级 ESXi。

 ESXCLI:可以使用 esxcli 命令行实用程序更新修补程序或将其应用到 ESXi 5.x 主机。无法使用 esxcli 将 ESX/ESXi 4.x 主机升级到 ESXi 5.0 Update1。

支持升级到 ESXi 5.0 Update 1 的升级途径:

升级交付产品 受支持的升级工具 支持升级到 ESXi 5.0 Update 1 的升级途径

ESX 4.0:

包括

ESX 4.0 Update 1

ESX4.0 Update 2

ESX4.0 Update 3

ESX 4.0 Update 4 ESXi 4.0:

包括

ESXi 4.0 Update 1

ESXi 4.0 Update 2

ESXi 4.0 Update 3

ESXi 4.0 Update 4 ESX 4.1:

包括

ESX 4.1

Update 1

ESX 4.1

Update 2 ESXi 4.1:

包括

ESXi 4.1

Update 1

ESXi 4.1

Update 2 ESXi

5.0

VMware-VMvisor-Installer-5.0.0.update01-623860.x86_64.iso 1、VMware

vCenter Update

Manager

2、CD 升级

3、脚本式升级 是 是 是 是 是*

update-from-esxi5.0-5.0_update01.zip 1、VMware

vCenter Update

Manager

2、ESXCLI 否 否 否 否 是 3、VMware

vSphere CLI

4、CD 升级

5、脚本式升级

使用从 VMware

门户(联机)下载的修补程序定义 带有修补程序基准的VMware

vCenter Update

Manager 否 否 否 否 是

* 注意: 不支持使用

VMware-VMvisor-Installer-5.0.0.update01-623860.x86_64.iso从 ESXi 5.0 进行升级。相反,您必须通过 VMware vCenter Update Manager 使用

update-from-esxi5.0-5.0_update01.zip进行升级。

esxcli software vib 升级或安装esxi5补丁

在esxi4中可以用vihostupdate安装补丁,但到了ESXI5版本后就不支持了,改用esxcli

software vib commands命令(且支持第三方软件包),其可以在vCLI,vMA及ESXi shell中命令环境下运行,现以ESXi shell环境为例,其它类似:

前提条件:

1. 关闭要升级主机所有虚拟机

2. 把主机进入维护模式

3. 另若主机加入了HA,则要从HA移出或停用HA

1. 显示已经安装的补丁或包

esxcli --server=server_name software vib list

2. 更新补丁(包)

esxcli --server=server_name software vib update

--depot=http://WEB_SERVER/DEPOT_NAME

注:补丁(包)来源于从网站路径

esxcli --server=server_name software vib update --depot=LOCAL_PATH/DEPOT_NAME

注:补丁(包)来源于本地路径

3. 安装补丁(包)

esxcli --server=server_name software vib install

--depot=http://WEB_SERVER/DEPOT_NAME

esxcli --server=server_name software vib install --depot=LOCAL_PATH/DEPOT_NAME

注: 上面本地路径指服务器本地路径,故需要把下载的补丁上传到服务器上(通过Secure

File Transfer Client类似软件或VMware vSphere Client把补丁文件传到主机存储上)

如果提示找不到补丁文件,加上“”试试,如:

esxcli --server=server_name software vib install --depot="LOCAL_PATH/DEPOT_NAME"

官方更新操作:

/people/vmroyale/blog/2011/09/15/updating-esxi-5--single-use-esxcli-how-to

Updating ESXi 5 - Single use esxcli How

To

Brian Atkinson's Blog

Updating ESXi 5 - Single use esxcli How To

This is a modernized version of the "Single use vihostupdate How To for ESXi 4.x, which was a

modernized version of the "Single use ESXUPDATE How To for ESX 4" post I wrote a long time ago.

With vSphere 5, vihostupdate and esxupdate are not applicable for ESXi 5. We instead will need to use

the esxcli command to apply the updates to our ESXi 5 hosts.

01: Make sure you have the vMA 5.0 or the vCLI installed and configured or that you have ESXi Shell

access on the ESXi 5 host.

02: Download the patch bundle directly from VMware Support. This download will be .zip file. Do not

extract it.

03: Upload the .zip file to a datastore that is accessible on the ESXi host you wish to update. The syntax

below will use /vmfs/volumes/datastore1, and you may need to adjust as necessary. Note that the .zip file

is uploaded to the ESXi host.

Note: In the examples below, the syntax is specific for the vMA. Adjust accordingly, if you are

using another approach.

04: Obtain local console access to the vMA and login with the vi-admin account.

05. To determine if the host needs to be placed in maintenance mode, issue the following command:

esxcli --server=10.10.10.10 --username=root software sources vib get -d

/vmfs/volumes/datastore1/ESXi500-201109001.zip | grep "Maintenance Mode

Required: True"

06. If grep returns "Maintenance Mode Required: True" results, then issue the following command to

place the host in maintenance mode:

vicfg-hostops --server 10.10.10.10 --operation enter

07. Verify that the host is in maintenance mode, by issuing the following command:

vicfg-hostops --server=10.10.10.10 --operation info

Note: You could also use the vSphere Client to put the ESXi 5 host in maintenance mode.