Home > Blogs > VMware vSphere Blog


Understanding ESXi Patches – Manually Adding Patches to Update Manager

Kyle Gleed, Sr. Technical Product Manager, VMware

In my previous post I went over the steps to manually download ESXi host patches.  In this post I will go over the steps to manually add the downloaded patches into Update Manger.  Normally, Update Manager is configured to automatically download patches as they become available, but if your security policy doesn’t allow Update Manager to access the Internet you will need to manually download and add the patches.  Let’s go over the steps to do this.

I’m going to assume that you have Update Manager installed and registered and that you’ve downloaded the ESXi patches as I discussed in my previous blog.  For information on how to install and configure update manager refer to the Update Manager guide.  

Begin by logging onto the vSphere client.  From the vSphere client home screen click on the “Update Manager” icon.  From the Update Manager Administration window select the “Patch Repository” tab.  Upload the ESXi patches by selecting the “Import Patches” link in the top right corner. 

A1

This will launch the “Import Patches” pop-up.  Click the Browse button to browse to the location where you saved the patch archive (.zip) and then click next.  Note that you do not need to extract the contents of the .zip archive; Update Manager understands the format of the .zip archive and will extract the contents as it imports the patches.  If the import fails, verify the checksum of the .zip archive to make sure the file didn’t get corrupted during the download. 

A2

That’s it.  As you can see manually adding ESXi patches to Update Manager is very easy to do.  With the patches loaded into Update Manager the next step is to create a baseline group that you can use to remediate your hosts.  I’ll go ahead and give you a quick overview on how to do this, but be sure to refer to the Update Manager guide for more information.

To create a baseline go to the Update Manager home screen select the “Baselines and Groups” tab, from the “Baseline” section on the left click the "Create" link:

A3

The “New Baseline” wizard will start and walk you through the steps to create a new baseline.  Give the baseline a name and select “Host Patch” as the baseline type.  I recommend giving the baseline a name that coincides with the patch name used by VMware as it will make it easier to track things over time:

A4

The next step is to set the baseline as a “Fixed” or “Dynamic”.  For this example I will make the baseline Fixed.

A5

Next you will select the patches to include in the baseline.  Select each patch and then click the down arrow to add it to the baseline.

A6

The last step is to review the baseline to make sure it has all the patches you want and then click Finish. 

A7
The patch baseline will now be shown under the list of Baselines. 

A8

With the baseline created the last step is to attach the baseline to your hosts and to apply the patch.  To do this you need to go to the Update Manager “Compliance” view.  There are a couple ways to get there but what I typically do is go to the Host and Cluster view, select the host and then choose the Update Manager tab on the far right.

A9

Click the “Attach…” link and from inside the pop-up select the patch-update baseline you just created and click attach.

A10
With the baseline attached you can now apply the patches to your host by simply clicking the remediate button.  Note that Update Manager works best if DRS is enabled in fully automated mode as that will allow the VMs to be migrated off the host as part of the remediation.  If you are not running DRS in fully automated mode you will need to manually migrate or shutdown the VMs prior to the remediation.

Follow me on twitter @VMwareESXi

9 thoughts on “Understanding ESXi Patches – Manually Adding Patches to Update Manager

  1. Erik Bussink

    Hiya Kyle. I had applied the first part of the article yesterday at a client, because the Proxy was not working right and the Update Manager was having issues download the patches.
    So I bypassed the download process and retrieved the three ESXi patches including ESXi500-20111201 from the patch download site.
    Importing these three patches populated my Critical and Non-Critical Patches Baselines. So I’m not 100% sure why you create a new Host Patch baseline.
    Thanks for the article.
    Regards,
    @ErikBussink

    Reply
  2. schody wewnętrzne

    My brother suggested I would possibly like this website. He used to be entirely right. This submit truly made my day. You can not consider just how much time I had spent for this info! Thanks!

    Reply
  3. giftcode

    This is very interesting, You’re a very skilled blogger.
    I have joined your feed and look forward to seeking more
    of your great post. Also, I have shared your web site in my social networks!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>