Solved

Need help with patching ESXi hosts in vSphere

Posted on 2013-02-07
8
827 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
  • 4
  • 3
8 Comments
 
LVL 118
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 118
ID: 38863624
What host version are you trying to patch?
0
 

Author Comment

by:Thaidog
ID: 38863641
Both
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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

Accepted Solution

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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
Vcentre U2 update fails after staging 3 48
Accessing Files on a VM when the VM is not booting 9 52
VMware Horizon View SSL problems 1 22
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
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 install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

919 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

19 Experts available now in Live!

Get 1:1 Help Now