Solved

ESXI 5.1 patch update failed

Posted on 2013-02-06
10
1,019 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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 119
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 119
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 119

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

803 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