Table of contents
2. Upgrade vCenter Server using Shell
Take the upgrade of vCenter Server 7.0 Update 3c to 7.0 Update 3f as an example.
(1) Download and update the ISO image
The download address is:https://customerconnect.vmware.com/patch
(2) Mount the ISO image
Import the ISO to a shared storage that VCSA can access, and then mount it to the VCSA virtual machine.
(3) Verify that the ISO image has been mounted
There are two verification methods:
- Update interface via VAMI
- Mount the ISO to the file system of VC
Update interface via VAMI
Log in to the vCenter Server 5480 page, select [Update], find [CHECK UPDATES] in the [Available updates] tab, select [Check CD ROM], wait for a while, and select the version 7.0.3 to be updated in the list.
Mount the ISO to the file system of VC
ssh into VCSA
# 将 CD ROM 中的镜像
mount /dev/cdrom /mnt/cdrom
ls /mnt/cdrom/
Because the output is long, the figure below only shows part of the results.
(4) Update VC | Install vCenter Server patch
enter the appliance shell
Install patches directly from mounted ISO images
software-packages install --iso
In the middle process, you need to press the Enter key.
…
When the command line is updated, the update prompt box will also be displayed when opening the VAMI 5480
update completed
(5) Restart VCSA
shutdown now -r "patch reboot"
(6) Verification
Open the VAMI 5480 interface of VC to check the version