Solved

ESXI 5.1 patch update failed

Posted on 2013-02-06
10
1,026 Views
Last Modified: 2013-02-10
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?

patch
0
Comment
Question by:okamon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
10 Comments
 
LVL 10

Assisted Solution

by:rjanowsky
rjanowsky earned 210 total points
ID: 38862712
You have to use the command:

esxcli software vib install -d path-to-patch

Have a look at the cli docs here

You want to install a new patch and don't want to update an installed one.
0
 

Author Comment

by:okamon
ID: 38862737
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....
0
 

Author Comment

by:okamon
ID: 38862750
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?
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 10

Expert Comment

by:rjanowsky
ID: 38862758
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.
0
 
LVL 10

Expert Comment

by:rjanowsky
ID: 38862775
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
0
 
LVL 120
ID: 38862980
it seems to me, that you have the same build number that you are patching?

what is your build number?
0
 

Author Comment

by:okamon
ID: 38866164
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
0
 
LVL 120
ID: 38866189
update and install do the same thing.

the updates are cumulative, so you only need to use the lastest patch.
0
 

Author Comment

by:okamon
ID: 38866355
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."
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 210 total points
ID: 38866500
we have seen some very odd behavoir when using the esxcli to update/install updates, and sometimes, the update is not installed, after several reboots.

some users use update to install patches, and some users use update.

I think it's safer always to use install, it seems to be more reliable.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question