Solved

ESXI 5.1 patch update failed

Posted on 2013-02-06
10
1,016 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

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

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMWARE Esxi 5.5 guest screen off 12 58
Vmare 6.5 and VUM appliance 3 63
vmware 5 57
vmware ver 6.5 8 36
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

932 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

8 Experts available now in Live!

Get 1:1 Help Now