Solved

ESXI 5.1 patch update failed

Posted on 2013-02-06
10
1,013 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
  • 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
 
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 117
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 117
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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now