VMware:使用 CLI 安装程序和 ISO 手动升级 VCenter

Summary: 如何手动将 VCSA(vCenter 服务器一体机)从版本 7.x 升级到版本 8.x。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

步骤 1:
从 Broadcom 下载 ISO。
转至 broadcom 支持页面 ,https://techdocs.broadcom.com/us/en/vmware-cis/vsphere.html
浏览到 VMWare vSphere > 发行说明,找到 vCenter Server 更新和修补程序发行说明,然后单击相应发行说明中的修补程序链接以访问 VCenter 下载
(您需要登录到 Broadcom 支持门户)
下载“所有”ISO。不是 Patch-FP ISO

 

步骤2:
在客户的计算机/jumpbox 上装载 ISO(假定是 Windows,双击或右键单击并装载)
如果您收到不起眼的错误,则它可能已自动装载 - 在 Windows 资源管理器中检查是否有新的映射驱动器。

或者以管理员身份打开 Powershell 并运行:

Mount-DiskImage -ImagePath 'C:\Users\vvlabuser\Desktop\VMware-VCSA-all-8.0.1-21815093.iso' 

 

步骤3:
使用 Windows 资源管理器浏览到已装载的 ISO,然后在 vcsa-cli-installer 文件夹找到 embedded_vCSA_on_ESXi.json 文件。
将其复制到另一个位置并进行适当的编辑。

请参阅附加的示例。
 

步骤 4:将 DRS 设置为手动(以防止在此过程中对新虚拟机进行迁移)
 

步骤 5:以管理员身份打开 Powershell 并运行升级预检查:

示例:

.\vcsa-deploy.exe upgrade --skip-ovftool-verification --accept-eula --acknowledge-ceip --no-ssl-certificate-verification --precheck-only -v C:\Users\vvlabuser\Desktop\embedded_vCSA_on_ESXi.json 

 

提醒:如果进度似乎停滞超过 30 秒,则在“Running the upgrade checked.This may take a while ...“,请按空格键以查看工作流。如果有任何错误 - 请在继续之前解决这些问题。


步骤6:
运行升级: 

示例:

.\vcsa-deploy.exe upgrade --skip-ovftool-verification --accept-eula --acknowledge-ceip --no-ssl-certificate-verification -v C:\Users\vvlabuser\Desktop\embedded_vCSA_on_ESXi.json 


从 VC 7 升级到 VC 8 至少需要一个小时(通常为 90 分钟)。
时间取决于要复制的数据量、带宽等。

完成后的输出示例:

 

==========VCSA Deployment Progress Report==========         Task: Install
required RPMs for the appliance.(SUCCEEDED 100/100)       - Task has completed
successfully.         Task: Run appliance precheck.(SUCCEEDED 100/100)        -
Task has completed successfully.         Task: Export existing appliance
data.(SUCCEEDED 100/100)        - Task has completed successfully.         Task:
Run firstboot scripts.(SUCCEEDED 100/100) - Task has completed successfully.
Task: Import data into appliance.(SUCCEEDED 100/100)    - Task has completed
successfully.
Successfully completed VCSA deployment.  VCSA Deployment Start Time:
2023-06-06T10:20:07.562Z VCSA Deployment End Time: 2023-06-06T11:02:26.150Z
 [SUCCEEDED] Successfully executed Task 'MonitorDeploymentTask: Monitoring
Deployment' in TaskFlow 'embedded_vCSA_on_ESXi' at 11:36:57
Monitoring VCSA Deploy task completed
ApplianceLoginSummaryTask: Provide appliance login information.
 [START] Start executing Task: Provide the login information about new
appliance. at 11:37:22
    Appliance Name: vCenter-Server-Appliance7
    System Name: vcluster101-vcsa.vv001.local
    System IP: 172.168.10.49
    Log in as: Administrator@vsphere.local
The vCenter Server will currently be in the evaluation-mode
 [SUCCEEDED] Successfully executed Task 'ApplianceLoginSummaryTask: Provide
appliance login information.' in TaskFlow 'embedded_vCSA_on_ESXi' at 11:37:34
[VAC] Attempt succeeded: CLI Client Info
vcsa-deploy execution successfully completed, workflow log dir:
C:\Users\INSTAL~1\AppData\Local\Temp\vcsaCliInstaller-2023-06-06-10-06-mafm8s5k\workflow_1686046000153
=================================== 11:37:58 ===================================
Result and Log File Information...
WorkFlow log directory:
C:\Users\INSTAL~1\AppData\Local\Temp\vcsaCliInstaller-2023-06-06-10-06-mafm8s5k\workflow_1686046000153 


完成后,恢复 DRS 设置更改。

 

Additional Information

提醒:虽然此过程特定于从 7 升级到 8,但 6.7(有或没有外部 PSC)的过程基本相同。

 

#CCTFY26Q1 filter added for tracking please do not remove. 

Affected Products

VMware ESXi 7.x, VMware ESXi 8.x
Article Properties
Article Number: 000214642
Article Type: How To
Last Modified: 18 Feb 2026
Version:  9
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.