(VMware)esxcli软件振动更新-n xxx,为模块xxxselect哪个振动版本

尽pipe我已经非常仔细地阅读了VMware的官方博客http://blogs.vmware.com/vsphere/2013/10/are-esxi-patches-cumulative.html ,但还是有一些薄雾。

现在我在这里问一个简洁的问题。 在一个原始的ESXi 5.0机器上,我更新它像这样:

$ esxcli software vib update -n esx-base -d /vmfs/volumes/chj1-datastore1/esxi-patch/update-from-esxi5.0-5.0_update03.zip Installation Result Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective. Reboot Required: true VIBs Installed: VMware_bootbank_esx-base_5.0.0-3.41.1311175 VIBs Removed: VMware_bootbank_esx-base_5.0.0-0.0.469512 VIBs Skipped: 

我的问题是:修补程序档案库中有两个版本的esx-base模块update-from-esxi5.0-5.0_update03.zip

  • VMware_bootbank_esx-base_5.0.0-3.41.1311175.vib
  • VMware_bootbank_esx-base_5.0.0-2.38.1311177.vib

那么为什么使用1311175而不是1311177呢?

我知道我可以使用esxcli software profile update来明确select1311177之一,但是,我只想知道esxcli software vib update如何处理在修补程序归档中定义的不同configuration文件。

在这里输入图像说明

“esxcli软件振动更新”命令将默认select最新版本的VIB包,如果仔细查看完整版本号(不仅是最后一个内部版本号),那么您将看到5.0.0 -3.41.1311175确实比5.0.0-2.38.1311177更高版本(因为5.0.0-3 …> 5.0.0-2 …)。

U3捆绑包中有两个不同版本的esx-base的原因在于VMware区分了纯安全性错误修复和function性错误修复。 esx-base的5.0.0-2.38.1311177版本只包含安全修补程序,而5.0.0-3.41.1311175包含function修复程序和安全修复程序。 所以,你会想要安装后者!

顺便说一句,你真的不应该通过应用单独的VIB来更新ESXi,而是使用

 esxcli software profile update ... 

 esxcli software sources profile list -d /path/to/bundle.zip 

您可以检查包中的图像configuration文件。 在你的情况是有的

  • ESXi-5.0.0-20131002001标准(包含function和安全修补程序)和
  • ESXi-5.0.0-20131001001s标准(仅安全修补程序)

而你想要安装第一个

 esxcli software profile update -d /path/to/bundle.zip -p ESXi-5.0.0-20131002001-standard 

这将确保您不仅可以更新esx-base软件包,而且还可以使用U3软件包更新所有其他VIB。

您可以通过查看我的电子表格( http://vibmatrix.v-front.de)来查看每个VMware修补软件包更新哪些VIB。