VCSA 和ESXi 6.7.0版本升级

该文详细阐述了VCSA(VCenterServerAppliance)和ESXi主机的升级过程,包括使用ISO镜像或URL下载升级包,验证、安装升级包,以及重启系统等步骤。在VCSA升级中,需通过Upgrade方式并使用特定命令来执行。而在ESXi升级时,需从VMwareCustomerConnect下载补丁,检查当前版本,选择合适的升级profile,并可能需要处理签名检查和依赖问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. VCSA升级步骤

注:如果VCSA大版本升级,需要使用VCSA安装介质的安装界面中的“Upgrade”方式来升级。

1)指定升级包的位置
software-packages stage --iso (如果是从vmware下载补丁,使用CD/DVD来映射ISO映像)

software-packages stage --url https://vapp-updates.vmware.com/vai-catalog/valm/vmw/8d167796-34d5-4899-be0a-6daade4005a3/6.7.0.20000.latest/ (示例的url是software-packages stage --help输出中显示的url,可以根据KB 2143838来找到目标版本号,如6.7.0.54000,然后将链接中的版本号更改为目标版本号,就可以通过官网下载升级)

2)列出指定的升级包的信息
使用ISO的输出:

software-packages list --staged
 [2023-05-26T08:50:02.146] : 
        productname: VMware vCenter Server Appliance
        name: VC-6.7.0U3s-Appliance-FP
        size in MB: 1899
        buildnumber: 20540798
        kb: https://docs.vmware.com/en/VMware-vSphere/6.7/rn/vsphere-vcenter-server-67u3s-release-notes.html#full_patch
        vendor: VMware, Inc.
        summary: Patch for VMware vCenter Server Appliance 6.7.0
        version: 6.7.0.54000
        releasedate: October 06, 2022
        thirdPartyInstallation: False
        tags: []
        category: Bugfix
        eulaAcceptTime: 2023-05-26 08:49:41 UTC
        TPP_ISO: False
        updateversion: True
        severity: Critical
        version_supported: ['']
        leaf_services: ['vmware-pod']
        rebootrequired: True

使用URL的输出:

 [2023-05-26T07:54:08.146] : 
        thirdPartyAvailable: False
        severity: Critical
        rebootrequired: True
        name: VC-6.7.0U3s-Appliance-FP
        productname: VMware vCenter Server Appliance
        summary: Patch for VMware vCenter Server Appliance 6.7.0
        category: Bugfix
        thirdPartyInstallation: False
        nonThirdPartyAvailable: True
        size in MB: 1899
        leaf_services: ['vmware-pod']
        url: https://vapp-updates.vmware.com/vai-catalog/valm/vmw/8d167796-34d5-4899-be0a-6daade4005a3/6.7.0.20000.latest/
        releasedate: October 06, 2022
        eulaAcceptTime: 2023-05-26 07:53:10 UTC
        TPP_ISO: False
        kb: https://docs.vmware.com/en/VMware-vSphere/6.7/rn/vsphere-vcenter-server-67u3s-release-notes.html#full_patch
        vendor: VMware, Inc.
        tags: []
        buildnumber: 20540798
        version: 6.7.0.54000
        version_supported: ['']
        updateversion: True

3)安装指定的升级包
software-packages install --staged

使用ISO的输出:

 [2023-05-26T08:50:24.146] : Validating software update payload
 [2023-05-26T08:50:24.146] : Validation successful
 [2023-05-26 08:50:24,458] : Copying software packages  [2023-05-26T08:50:24.146] : ISO mounted successfully
206/206
 [2023-05-26T08:51:15.146] : ISO unmounted successfully
 [2023-05-26 08:51:15,248] : Running test transaction ....
 [2023-05-26 08:51:31,329] : Running pre-install script.....
 [2023-05-26 08:52:01,398] : Upgrading software packages ....
 [2023-05-26T09:02:43.146] : Setting appliance version to 6.7.0.54000 build 20540798
 [2023-05-26 09:02:44,252] : Running pre-patch script.....
 [2023-05-26 09:02:48,272] : Running post-patch script.....
 [2023-05-26T09:03:19.146] : Packages upgraded successfully, Reboot is required to complete the installation.

使用URL的输出:

 [2023-05-26T07:54:43.146] : Validating software update payload
 [2023-05-26T07:54:43.146] : Validation successful
 [2023-05-26 07:54:43,197] : Copying software packages 239/239
 [2023-05-26 08:11:26,250] : Running test transaction ....
 [2023-05-26 08:11:28,276] : Running pre-install script.....
 [2023-05-26 08:13:21,426] : Upgrading software packages ....
 [2023-05-26T08:17:51.146] : Setting appliance version to 6.7.0.54000 build 20540798
 [2023-05-26 08:17:51,922] : Running pre-patch script.....
 [2023-05-26 08:17:52,939] : Running post-patch script.....
 [2023-05-26T08:19:42.146] : Packages upgraded successfully, Reboot is required to complete the installation.

4)重启VCSA
shutdown reboot -r updating

5)查看升级后的版本
# vpxd -vl

VMware VirtualCenter 6.7.0 build-20504362

在这里插入图片描述




2. ESXi主机升级步骤

1)从VMware Customer Connect(https://customerconnect.vmware.com/patch)下载补丁:
From the Select a Product drop-down menu, select ESXi (Embedded and Installable) and from the Select a Version drop-down menu, select 6.7.0.

2)查看当前ESXi版本:
vmware -v

VMware ESXi 6.7.0 build-8169922

3)查看补丁包的profile:
esxcli software sources profile list --depot=/vmfs/volumes/64403533-062bfea6-ba42-801844e0f58e/ISO/ESXi670-202210001.zip

Name                              Vendor        Acceptance Level  Creation Time        Modification Time
--------------------------------  ------------  ----------------  -------------------  -------------------
ESXi-6.7.0-20221004001-standard   VMware, Inc.  PartnerSupported  2022-09-21T13:36:44  2022-09-21T13:36:44
ESXi-6.7.0-20221001001s-standard  VMware, Inc.  PartnerSupported  2022-09-21T13:36:44  2022-09-21T13:36:44
ESXi-6.7.0-20221004001-no-tools   VMware, Inc.  PartnerSupported  2022-09-21T13:36:44  2022-09-21T13:36:44
ESXi-6.7.0-20221001001s-no-tools  VMware, Inc.  PartnerSupported  2022-09-21T13:36:44  2022-09-21T13:36:44

4)升级补丁:
esxcli software profile update --depot=/vmfs/volumes/64403533-062bfea6-ba42-801844e0f58e/ISO/ESXi670-202210001.zip --profile=ESXi-6.7.0-20221004001-standard


注1:如果报以下的’Could not find a trusted signer.'的错误:
[InstallationError]
(‘VMW_bootbank_net-vmxnet3_1.1.3.0-3vmw.670.3.104.16075168’, ‘Could not find a trusted signer.’)
vibs = VMW_bootbank_net-vmxnet3_1.1.3.0-3vmw.670.3.104.16075168
Please refer to the log file for more details.

则在升级命令中加上–no-sig-check的参数,如“ esxcli software profile update --no-sig-check --depot=/vmfs/volumes/5d41147d-0ddc9eaf-fac2-000423b3bd4e/ISO/ESXi670-202210001.zip --profile=ESXi-6.7.0-20221004001-standard”。

注2:如果ESXi是OEM的版本,使用profile update升级可能会报以下错误,提示依赖错误:

[DependencyError]
 VIB DEL_bootbank_dell-configuration-vib_6.5-3A06 requires esx-version << 6.7.0, but the requirement cannot be satisfied within the ImageProfile

此时可以通过install命令来升级ESXi,但是同时会移除掉OEM相关的VIB(或者手工使用命令esxcli software vib remove -n先删除这些VIB,然后再执行以上的profile update升级),如果确实需要这些VIB,那么需要在升级完成后再单独安装这些VIB。

[Exception]
 You attempted to install an image profile which would have resulted in the removal of VIBs ['QLC_bootbank_qedf_1.3.42.50-1OEM.600.0.0.2768847', 'VMware_bootbank_vmware-fdm_6.7.0-20540798', 'QLC_bootbank_nqlcnic_6.0.63-1OEM.650.0.0.4240417', 'INT_bootbank_net-i40e_2.0.7-1OEM.600.0.0.2494585', 'QLC_bootbank_qedrntv_3.11.16.0-1OEM.650.0.0.4598673', 'DEL_bootbank_dell-configuration-vib_6.5-3A06', 'QLC_bootbank_scsi-qedil_1.15.15.0-1OEM.600.0.0.2494585', 'DellEMC_bootbank_dellemc-osname-idrac_6.5-2A00', 'Avago_bootbank_dell-shared-perc8_06.806.90.00-1OEM.650.0.0.4598673']. If this is not what you intended, you may use the esxcli software profile update command to preserve the VIBs above. If this is what you intended, please use the --ok-to-remove option to explicitly allow the removal.
 Please refer to the log file for more details.

(esxcli software profile install --depot /vmfs/volumes/vsan:52f1a69c8cad0934-cad95119a5007d0a/51856464-14b8-43d0-b71e-e41f13b5e440/ESXi670-202210001.zip --profile=ESXi-6.7.0-20221004001-standard --ok-to-remove)

5)重启ESXi主机
esxcli system maintenanceMode set -e true -m noAction
esxcli system shutdown reboot -r “reboot”

6)查看升级后的ESXi版本:
vmware -v

VMware ESXi 6.7.0 build-20497097

esxcli system version get




附:升级到7.0.3命令:

esxcli software vib remove -n net55-r8168
esxcli software vib remove -n vmkusb
esxcli software vib list

esxcli software sources profile list --depot=/vmfs/volumes/64403533-062bfea6-ba42-801844e0f58e/ISO/vmware-esxi-7.0u3m-21686933-depot.zip
esxcli software profile update --depot=/vmfs/volumes/64403533-062bfea6-ba42-801844e0f58e/ISO/vmware-esxi-7.0u3m-21686933-depot.zip --profile=ESXi-7.0U3m-21686933-standard


升级到8.0.1命令:

esxcli software vib remove -n ipmitool (does not have sha-256 gunzip checksum)
esxcli software vib list

esxcli software sources profile list --depot=/vmfs/volumes/64403533-062bfea6-ba42-801844e0f58e/ISO/VMware-ESXi-8.0U1-21495797-depot.zip

esxcli software profile update --depot=/vmfs/volumes/64403533-062bfea6-ba42-801844e0f58e/ISO/VMware-ESXi-8.0U1-21495797-depot.zip --profile=ESXi-8.0U1-21495797-standard --no-hardware-warning



参考:

Build numbers and versions of VMware vCenter Server (2143838)
在这里插入图片描述

Product Interoperability Matrix
在这里插入图片描述

在这里插入图片描述
vCenter Server Back-in-time release upgrade restriction (67077)

Dependency error in ESXi upgrade from 6.5 to 6.7

VMware vCenter Server 6.7 Update 3s Release Notes

VMware ESXi 6.7, Patch Release ESXi670-202210001

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值