VMware

Manually Patch VMware vCenter Server VCSA with ISO

A look at how to Manually Patch VMware vCenter Server VCSA with ISO if you have problems updating from online or have VCSA that is not connected to Internet

Patching is one of the things that we as administrators hate to do, but it is a necessary thing to keep up with the latest and greatest features and functionality, not to mention, security. The VMware vSphere environment is no exception to this best practice. Keeping your ESXi hosts patched is certainly a best practice as well as patching VMware vCenter Server. Recently I ran into an issue where the vCenter Server I was running in the lab would not correctly update using the online update mechanism from the VAMI interface. With that being the case, I decided to try to update the VCSA appliance using the appliance patch ISO. Let’s take a look at how to manually patch VMware vCenter Server VCSA with ISO and see how this process is accomplished.

Download the vCenter Server VCSA Appliance Patch ISO

This approach for me is being used due to a problem I was seeing with a VCSA appliance updating from the online repository. However, this method to manually update vCenter Server VCSA with ISO can also be used if you have a VCSA appliance that does not have Internet connectivity for security or other reasons.

First off, how do you get the ISO file for applying the VCSA appliance patch? You get this from the VMware Patch Download center. You can quickly Google this and find it, but the direct URL to the site is: https://my.vmware.com/group/vmware/patch

You will need to login using your “My VMware” credentials.

Download-the-VCSA-Appliance-patch-ISO-for-patching-your-VCSA-appliance-manually
Download the VCSA Appliance patch ISO for patching your VCSA appliance manually

As you can see above, the Release Name is listed as VC-6.7.0U2a-Appliance-Patch and is in ISO form. You can tell this is a patch by the size of the ISO file compared to the regular Appliance ISO file which is more than twice as large.

Manually Patch VMware vCenter Server VCSA with ISO

The process to manually patch VMware vCenter Server VCSA with ISO is fairly straightforward and involves just a few steps including:

  • Download the Appliance patch ISO (shown above)
  • Copy the ISO to a datastore or content library that you can mount to your VCSA appliance CD-ROM drive via the vSphere Client.
  • Once the ISO file is mounted, SSH into the VCSA appliance and run the necessary commands to manually patch VMware vCenter Server VCSA with ISO that was uploaded

After downloading the file from the VMware Patch Download Center, I have uploaded the ISO and mounted it to the VCSA appliance CD-ROM drive.

VCSA-Appliance-patch-file-ISO-is-mounted-to-the-VCSA-appliance-CD-ROM-drive
VCSA Appliance patch file ISO is mounted to the VCSA appliance CD-ROM drive

Now, I am ready to begin running the necessary commands to begin the manual patching process using the ISO. The first thing you need do is SSH into the VCSA appliance. After SSH’ing in, as you can see here, I was at a BASH prompt. To get to the prompt you need to be in if you see the “red pound” prompt is type:

appliancesh

Once you login, to get the patch staged, type the following command:

software-packages stage --iso --acceptEulas
Login-to-the-VCSA-appliance-via-SSH-login-and-stage-the-patches-via-ISO
Login to the VCSA appliance via SSH login and stage the patches via ISO

You can list out the staged VCSA appliance patch as well as the updateVersion in the staged ISO patch by running the following command:

software-packages list --staged
Listing-the-VCSA-patches-that-are-staged-and-the-version-of-VCSA-that-will-be-applied
Listing the VCSA patches that are staged and the version of VCSA that will be applied

Now, you simply need to manually apply the staged updated. You can do that with this command:

software-packages install --staged

The installation of the VCSA appliance patch will proceed forward. You will see the status of the patch update in the form of progress of packages installed where you see the “red arrow” below.

Beginning-the-patch-install-process-from-the-appliance-patch-ISO
Beginning the patch install process from the appliance patch ISO

After a few minutes, you should see the message, “Packages upgraded successfully, Reboot is required to complete the installation“.

You can reboot the appliance from the VAMI interface or command like using the shutdown reboot -r <reason> command.

The-manual-update-of-vCenter-Server-VCSA-from-ISO-completes-successfully

After the VCSA appliance reboots, you can login to the VAMI interface and check the Current version details to make sure the version matches the version applied from the manual update from the ISO file.

Verifying-the-manual-patch-of-vCenter-Server-VCSA-from-ISO-was-successful-from-VAMI-interface

Wrapping Up

It is great that VMware has provided numerous ways to update vCenter Server, including the ability to manually patch VMware vCenter Server VCSA with ISO. This can be extremely helpful in situations where you run into problems updating a VCSA appliance online, or if you have a VCSA appliance that is not connected to the Internet to pull updates online. Hopefully, this quick walk through on how to perform the manual update

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.