Solved

Need help with patching ESXi hosts in vSphere

Posted on 2013-02-07
8
837 Views
Last Modified: 2013-02-22
I got an alert from my vSphere server:

The number of patch definitions downloaded (critical/total):
ESX: 0/7

ID: ESX410-201301401-SG  Impact: Important  Release date: 2013-01-31  Products: esx 4.1.0 Updates VMkernel, VMX, Tools, others.

ID: ESX410-201301402-SG  Impact: Moderate  Release date: 2013-01-31  Products: esx 4.1.0 Updates bind-libs and bind-utils RPMs

ID: ESX410-201301403-SG  Impact: Important  Release date: 2013-01-31  Products: esx 4.1.0 Updates libxslt

ID: ESX410-201301404-BG  Impact: Important  Release date: 2013-01-31  Products: esx 4.1.0 Updates esxupdate

ID: ESX410-201301405-SG  Impact: Moderate  Release date: 2013-01-31  Products: esx 4.1.0 Updates libxml2

ID: ESXi410-201301401-SG  Impact: Important  Release date: 2013-01-31  Products: embeddedEsx 4.1.0 Updates Firmware

ID: ESXi410-201301402-BG  Impact: Important  Release date: 2013-01-31  Products: embeddedEsx 4.1.0 Updates VMware tools

Open in new window


But when I go to re-mediate them there are no patches to apply. What am I missing?
0
Comment
Question by:Thaidog
[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
8 Comments
 
LVL 120
ID: 38863508
What build of ESXi are you currently running?
0
 

Author Comment

by:Thaidog
ID: 38863617
We are running 4.0.0 787047 and 5.0.0 912577
0
 
LVL 120
ID: 38863624
What host version are you trying to patch?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:Thaidog
ID: 38863641
Both
0
 
LVL 120
ID: 38863711
And to which version?
0
 

Author Comment

by:Thaidog
ID: 38864205
Whatever is the latest... after hitting "scan" on the esx 4 servers it would appear there are no patches for these servers... as the remediate button comes back greyed out and I have a green circle that says compliant above it...
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 250 total points
ID: 38864626
There are no more patches for Build Number: 787047
Release Date: :  09/14/2012

So you cannot update it, to something that does not exist, it's up to date.

as far as the patch portal is concerned. But those patches ESX410-201301401-SG  look recent.

as for ESXi 5.0, the latest build is U2, which is now build Build Number: 914586
0
 
LVL 5

Assisted Solution

by:xperttech
xperttech earned 250 total points
ID: 38865677
I don't believe there are newer patches for your hosts. If your Update Manager were to report incorrectly, you could go the manual way. I've never seen it reporting incorrectly.

Here are the steps for patching your hosts manually:

1.

Download the ZIP patch file from VMware (http://www.vmware.com/patchmgr/findPatch.portal)

2.

SSH access needs to be enabled on the host(s)

3.

Power off all running VM guests and place the host in Maintenance Mode.

4.

Upload the ZIP file to the host’s datastore ‘Patches’ folder via vSphere Client or WinSCP or any SSH tool

5.

Using PUTTY or any other ssh terminal tool, connect to the host(s) and login as root

6.

Assuming the patch uploaded is ESXi510-201212001.ZIP and the host’s datastore name is datasore1_vm1, change directory:
cd /vmfs/volumes/datastore1_vm1/Patches
This transforms in something like this: /vmfs/volumes/50ec61ac-66192fb9-0dd0-089e0150a245 /Patches

7.

Run this command:
esxcli software vib install --maintenance-mode --depot /vmfs/volumes/datastore1_vm1/Patches/ESXi510-201212001.zip

8.

Inspect the “Installation Result” status. It should say something like this “Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective”
There will be a “Reboot required: true” just below the above message. And a listing of all the patches applied.

9.

It is possible to continue applying multiple patches, even when a reboot is required, but you should reboot at the end of the patching cycle.

10.

Use the command reboot

11.

Turn off Maintenance mode

12.

Power on your VMs
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
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 use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
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…

726 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