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 的输出中,删除状态为“FAILED”或“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. 将状态设置为“FAILED” 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.json设置 state=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 中,导航到:生命周期管理器 > 设置 > 修补程序设置
  2. 选择并删除与相关群集关联的所有 VxRail 仓库;通常,至少会看到 4 个仓库。等待删除任务完成。
  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.