You can either use a Full Patch ISO or an online repository to patch the vCenter Server Appliance to a desired target version using Appliance Shell.
Before you start:
If using ISO based patching,
- Download the full patch ISO (FP.ISO) from the Broadcom Support Portal. (Reference: Download vCenter Server patches and ISOs for latest releases)
- Upload the patch to an existing datastore and attach the iso to the vCenter Server VM.
If using online repository make sure you have generated download token for your site/account and have it handy (Reference: VCF authenticated downloads configuration update instructions)
Steps to patch using software-packages command.
- SSH to the vCenter Server using FQDN or IP Address and login with root credentials
- Access the Appliance shell (appliancesh) and not Bash Shell to perform the patch
- Stage the patch
- If using ISO
software-packages stage --iso --acceptEulas
- If using Online Repository method, stage the packages using custom URL
software-packages stage --url https://dl.broadcom.com/<downloadToken>/PROD/COMP/VCENTER/vmw/8d167796-34d5-4899-be0a-6daade4005a3/PATCH_VERSION/ --acceptEulas
- Replace the <downloadToken> with the download token for your site/account and the PATCH_VERSION with the desired target version (Ex: 8.0.3.00700)
- After the staging completes, list or install the staged packages:
- To verify the version of the mounted ISO:
software-packages list --staged
- To install the staged packages:
software-packages install --staged
- Once completed, an output will state: "Packages upgraded successfully, Reboot is required to complete the installation”.
- If the patch installation requires a reboot of the appliance, run the following command to restart the appliance:
shutdown reboot -r "patch reboot"