VCSA 6.x/6.5.x/6.x.x patch upgrade using offline Depot Zip File

vCenter 6.x/6.5.x patch upgrade steps are pretty easier. Most of the bloggers have already posted steps on how to upgrade the vCenter server Appliance (VCSA) and its platform service controllers (PSC).

There are 3 options you can choose to upgrade the vCenter VCSA 6.x/6.5.x to latest code as below:

  • Use the ISO format of the patch downloaded from the VMware patch repository https://my.vmware.com/group/vmware/patch#search
  • If your VCSA has an internet access, then you can update the patch using online repository URL
  •  If you have downloaded the offline Depot Zip file as mentioned below

While upgrading, you can use GUI or CLI, for any form of the three options mentioned above.

This article covers the upgrade steps of VCSA and PSC’s using offline Depot Zip file. When I say offline zip file, it’s the one referred in the below screenshot when you download from the VMware portal. To show an example, I referred to the 6.5 U1g latest release code, the steps which I write further will also be for upgrading to the same release.

https://my.vmware.com/group/vmware/details?downloadGroup=VC65U1G&productId=614&rPId=22184

Once you have downloaded the code, extract the zip file to validate the below folders,

To map the offline Zip file to the PSC or vCenter appliance, you need to have HTTP/s file server configured on any of the client or server which has the access to PSC and VC VMs. There is a tool called ‘HFS’, you can download from http://www.rejetto.com/hfs/?f=dl

I had downloaded and copied to my local drive, then run the executable,

right click on the root directory, click on “add folder from disk

Browse the path till “VMware-vCenter-Server-Appliance-6.5.0.15000-8024368-updaterepo” folder and click OK

Once done, you will be able to see the HTTP server URL configured for the respective patch repository, the URL which you see in the screenshot below is the URL required for map to VMs

Now, you have two options to map and upgrade the patch, through Shell prompt or in GUI using port 5480

Let me write steps to upgrade from Shell 1st, later through GUI,

Shell:

Login to PSC/VC VM using SSH,

Copy the URL from HFS tool,

Enter following command to stage the packages with URL and also accept the Eula license agreement in one line command,

software-packages stage –url  <URL copied from HFS tool> –acceptEulas

You can verify the staged package files by using below command,

software-packages list –staged

If it looks clumsy, then, use –verbose to list in better format,

software-packages list –staged –verbose

Then, use install command to install the packages, when you hit install command as below, you can also notice the GET request and download requests are made to HTTP server using URL in HFS tool,

software-packages install –staged

Then, you can reboot the appliance, once the reboot is done you can validate the new code,

shutdown reboot -r  “patch reboot”

once, rebooted, you can validate the packages installed by using

software-packages list –history

Upgrade using GUI:

Follow the same process until you generate the URL from HFS tool,

Login the PSC/VC using 5480 port, click on Update and on the same page, click on settings to map the URL,

Copy the URL, and enter credentials of the server/client where your HFS tool is running,

As soon as you click OK you can see the URL is mapped and package which is required to be installed in listed as shown below,

then you can proceed for the upgrading the new patches,

once the upgrade is done, validate the status, if status shows appliance needs to be rebooted, then reboot, this case, rebooted was required, rebooted the appliance,

validate after the reboot,

Once reboot and validation is done, you can set back to default URL,

If you have ‘platform service controllers’ and ‘vCenter deployed as a VCSA’ VMs, and if you have download the patch in Zip format, you can use above steps to upgrade all of them. As I said earlier, there are other ways to upgrade depends on the scenarios and type of the patch image type that you have downloaded.

Leave a Reply

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