[VC 7/8] vCenter Server update (minor version upgrade) Ⅱ——Use the Shell command line to update vCenter Server

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

insert image description here

(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.

insert image description here

(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.

insert image description here

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.

insert image description here

insert image description here

(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.
insert image description here
insert image description here

When the command line is updated, the update prompt box will also be displayed when opening the VAMI 5480

insert image description here

update completed
insert image description here

(5) Restart VCSA

shutdown now -r "patch reboot"

(6) Verification

Open the VAMI 5480 interface of VC to check the version

insert image description here

References

Guess you like

Origin blog.csdn.net/NOWSHUT/article/details/131318806