VxRail:如何在不使用取消按鈕的情況下手動取消 VxRail 7.0.X/8.0.X 升級

Summary: 如何在不使用 VxRail 7.0.x 和 8.0.x 的取消按鈕的情況下手動取消 VxRail 升級。

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

如果附掛程式中的取消按鈕無法運作,請按照以下步驟手動取消升級:

警示:請先取得 VxRail Manager 的快照,再取消升級。
  1. 使用 mystic 透過 SSH 連線至 VxRail Manager,然後:
    su root
  2. 查看表格 operation_status 對於一個 IN_PROGRESS 手術:
    psql -U postgres vxrail -c "select id,state,owner from system.operation_status;"
    
    id |    owner        | state
    ---+-----------------+-------------
    1  | Day1BringUp     | FAILED
    2  | Day1BringUp     | COMPLETED
    4  | LcmUpgrade      | IN_PROGRESS
    3  | LcmBundleDeploy | COMPLETED
    63 | CustomizeComponentScan  | STARTED
    (5 rows)
  3. 從步驟 2 的輸出中,刪除狀態為「失敗」或「IN_PROGRESS」的生命週期管理 (LCM) 相關記錄
    psql -U postgres vxrail -c "delete from system.operation_status where (state='FAILED' or state='IN_PROGRESS' or state='ABANDONED') and owner like 'Lcm%';"
  4. CustomizeComponentScan 工作。
    psql -U postgres vxrail -c "update system.operation_status set state='FAILED' where owner='CustomizeComponentScan' and state='STARTED';"
  5. 編輯檔案 /var/lib/vmware-marvin/bundle_state.jsonstate=NONE
    echo '{"state":"NONE","deployed_for_public_api":false}' > /var/lib/vmware-marvin/bundle_state.json
  6. 請確定檔案的權限與原始權限相同:
    chown tcserver:pivotal /var/lib/vmware-marvin/bundle_state.json
  7. 重新命名”/var/lib/vmware-marvin/composite-upgrade.json
    mv  /var/lib/vmware-marvin/composite-upgrade.json /var/lib/vmware-marvin/composite-upgrade.json.old
  8. 檢查升級鎖定:
    curl -X GET --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock "http://127.0.0.1:5000/rest/vxm/internal/lockservice/v1/lock"
  9. 如果命令傳回 {“locked_by”:"UPGRADE", "locked_at": XXXXXXXXX},請釋放鎖定:
    curl -X POST --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock "http://127.0.0.1:5000/rest/vxm/internal/lockservice/v1/lock/release"  -H "Content-Type: application/json" -d '{"locked_by": "UPGRADE"}'
  10. 重新啟動以下服務,VxRail Manager 附掛程式將重新載入:
    service vmware-marvin restart

如果已啟用 vLCM,請完成以下額外步驟:

  1. 在 vSphere 中,瀏覽至:Lifecycle Manager > 設定 > 修補程式設定
  2. 選取並刪除與相關叢集相關聯的所有 VxRail Depot;通常至少會看到四個倉庫。等待刪除工作完成。
  3. 瀏覽至以下位置以觸發同步升級:Lifecycle Manager > 動作 > 同步更新
  4. 監視最近的任務視窗,以確保沒有錯誤。

Additional Information

影片:如何在不使用 VxRail 7.0.x 和 8.0.x 的取消按鈕的情況下手動取消 VxRail 升級。

 

Affected Products

VxRail
Article Properties
Article Number: 000182177
Article Type: How To
Last Modified: 21 Oct 2025
Version:  22
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.