Patching vCenter Server Appliance via CLI
book
Article ID: 370115
calendar_today
Updated On:
Products
VMware vCenter Server
VMware vCenter Server 6.0
VMware vCenter Server 7.0
VMware vCenter Server 8.0
Issue/Introduction
This article provides instruction on how to patch the vCenter Server through the command line.
Resolution
- Download the full patch ISO (FP.ISO) from the Broadcom Support Portal.
- Upload the patch to an existing datastore and attach the iso to the vCenter Server VM.
- SSH to the vCenter Server using FQDN or I.P and login with root account credentials
- Access the Appliance shell (appliancesh) and not Bash Shell to perform the patch.
- Stage the packages located in the .ISO file mounted to the vCenter Server VM:
software-packages stage --iso --acceptEulas
- 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 now -r "patch reboot"
Feedback
thumb_up
Yes
thumb_down
No