Hi community,
I'm just trying to apply the latest patch ESXi510-201303001.zip to my esxi host using command-line (no update-manager). I'm following guide from vmware knowledge base:
But I see there are two possible commands:
# esxcli software vib install -d "/vmfs/volumes/Datastore/DirectoryName/PatchName.zip"
or
# esxcli software vib update -d "/vmfs/volumes/Datastore/DirectoryName/PatchName.zip"
The only difference is "install" versus "update" and I did not find any explanation what the difference is. So which command should be used? Does it make any difference at all?
Hi,
There is certainly a difference.
Update:
----------
Using the update command is the recommended method for patch application. Using this command applies all of the newer contents in a patch, including all security fixes. Contents of the patch that are a lower revision than the existing packages on the system are not applied.
Install:
---------
Using the install command overwrites the existing packages in the system with contents of the patch you are installing, including installing new packages and removing old packages. The install command may downgrade packages on the system and should be used with caution. If required, the install command can be used to downgrade a system (only for image profiles) when the --allow-downgrade flag is set.
The install method has the possibility of overwriting existing drivers. If you are using 3rd party ESXi images, VMware recommends using the update method to prevent an unbootable state.
Hi,
There is certainly a difference.
Update:
----------
Using the update command is the recommended method for patch application. Using this command applies all of the newer contents in a patch, including all security fixes. Contents of the patch that are a lower revision than the existing packages on the system are not applied.
Install:
---------
Using the install command overwrites the existing packages in the system with contents of the patch you are installing, including installing new packages and removing old packages. The install command may downgrade packages on the system and should be used with caution. If required, the install command can be used to downgrade a system (only for image profiles) when the --allow-downgrade flag is set.
The install method has the possibility of overwriting existing drivers. If you are using 3rd party ESXi images, VMware recommends using the update method to prevent an unbootable state.
Notes section of the Step 7 of the KB artcile 2008939 which you have mentioned explain the differernt between install and update
OMG, how could I miss that paragraph? I feel really ashamed...
But one more question: if I have pure 5.1 (build 799733), is it enough to apply the latest patch? I tend to think it is so, but I see ESXi510-201212001 has ~600MB, while ESXi510-201303001 only about 300MB. Moreover ESXi510-201212001 updates tools-light too, while the last patch only esxi-base. So I suppose at least those two latest patches should be installed consequently...
The reason for the different sizes (~300MB vs. 600MB) is related to the bulletins included in the patch package. Because patch ESXi510-201212001 contains both, security and bug-fix bulletins it has twice the size. For a great overview of patches included in each package take a look at the ESXi 5.x Patch Matrix
André
Message was edited by: a.p. - made GB -> MB
The ESXi 5.x patch bundles are cumulative, so you only need to install the latest bundle.
For details see my blog post here: http://www.v-front.de/2012/11/are-esxi-5x-patches-cumulative.html
- Andreas