Link to home
Start Free TrialLog in
Avatar of okamon
okamon

asked on

ESXI 5.1 patch update failed

Tried to update patch on my esxi 5.1 host using SSH. I downloaded the patch from http://www.vmware.com/patchmgr/findPatch.portal

I first tried ESXi510-201210001.zip but it failed and then tried  ESXi510-201212001.zip also got the same message... see screenshot.. what did I do wrong?

User generated image
SOLUTION
Avatar of rjanowsky
rjanowsky
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of okamon
okamon

ASKER

it seems it worked! but I still don't understand why it was not an UPDATE?
As I followed this article http://www.tinkertry.com/patchesxi50/ and it seems it's also for the patch. the update was used in the article....
Avatar of okamon

ASKER

And now I just tried to do the second Patch ESXi510-201212001.zip
and this time it worked with the "UPDATE" switch -> esxcli software vib update-d path-to-patch  ... WHY?
But if you look at the screenshot in your link, you see that most of the patches were skipped. Only a few vibs were installed. The documentation is quite clear:

software vib update - Update installed VIBs to newer VIB packages. No new VIBs will be installed, only updates.

software vib install - Installs VIB packages from a URL or depot. VIBs may be installed, upgraded, or downgraded.
In the second patch they was really an update package for the tools - see attached screenshot. In the first patch was only the esx base system.

Which build number is your host now running? Build Number: 914609 from ESXi510-201212001 or build number: 838463 from  ESXi510-201210001?
ESXi-patches.png
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
it seems to me, that you have the same build number that you are patching?

what is your build number?
Avatar of okamon

ASKER

I think the original build was 5.1.0, 7xxxxxxx cannot recall the number after. As it didn't work first with the update switch, I followed rjanowsky and run the install switch and it worked (ESXi510-201210001.zip). I rebooted the esxi host and then run the esxcli command again and this time, I used the update switch for the ESXi510-201212001.zip. It worked and I rebooted again. Now I am on 5.1.0, 9414609
So my question is how do I determine what switch to use, update or install?

And my second question, does the ESXi510-201212001.zip include everything in ESXi510-201210001.zip? can I just run ESXi510-201212001.zip or I have to run ESXi510-201210001.zip first and then  ESXi510-201212001.zip? like what I did here
update and install do the same thing.

the updates are cumulative, so you only need to use the lastest patch.
Avatar of okamon

ASKER

thanks! hanccocka. so why the update switch didn't work with ESXi510-201210001.zip?? this is what I wanted to know if you are saying "update and install do the same thing."
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial