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 Update 和修補程式版本資訊,然後按一下適當版本資訊中的修補程式連結,以存取 VCenter 下載
(您需要登入 Broadcom 支援入口網站)
下載「全部」ISO。不是 修補程式 FP ISO

 

第 2 步:
將 ISO 掛載在客戶的電腦/jumpbox 上 (假設為 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 設為手動 (以防止新虛擬機器在程序過程中發生 vmotion)
 

步驟 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 ed.這可能需要一段時間...“,按下空格鍵以查看工作流程。如果發生任何錯誤 - 請先解決這些錯誤再繼續。


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