Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

如何从 vSAN 角度检查 ESXi 维护模式状态

Summary: 了解如何从 Dell EMC VxRail 中的 vSAN 角度检查 ESXi 维护模式状态。

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

从 vSAN 的角度来看,ESXi 维护模式的状态因 vCenter 中的状态而异。
  • 要检查 ESXi 是否已使用 vSAN 进入维护模式或卡住,请运行以下命令:
    cmmds-tool find -t NODE_DECOM_STATE -f json
  • 输出应类似于:
    {
       "uuid": "5c99d5dd-3f98-0ee0-6f75-e4434b398000",
       "owner": "5c99d5dd-3f98-0ee0-6f75-e4434b398000",
       "health": "Healthy",
       "revision": "2546",
       "type": "NODE_DECOM_STATE",
       "flag": "2",
       "minHostVersion": "0",
       "md5sum": "5919c7a6c18472bea464f097b577e011",
       "valueLen": "144",
       "content": {"decomState": 0, "decomJobType": 0, "decomJobUuid": "00000000-0000-0000-0000-000000000000", "progress": 0, "affObjList": [ ], "errorCode": 0, "updateNum": 0, "majorVersion": 0, "auditReport": "", "numObjectsEvacuated": 0, "totalObjectstoEvacuate": 0, "bytesToSyncRemaining": 0, "totalBytesToSync": 0},
       "errorStr": "(null)"
     }
  • 在输出中 decomState ,找到状态。以下是 的已知状态 decomState 及其含义:
    • decomState: 0:这意味着节点当前未处于维护模式。
    • decomState: 4:这意味着节点当前正在进入维护模式。
    • decomState: 6:这意味着从 vSAN 的角度来看,节点当前处于维护模式。
  • 如果节点因任何原因停滞在进入或退出维护模式,请尝试以下操作:
    • 如果来自 vCenter 的 ESXi 可以进入维护模式(右键单击 ESXi 时该选项可用),请尝试输入并退出(或退出并进入)维护模式。
    • 如果此操作不成功,请尝试使用以下命令退出 vSAN 维护模式:
      • esxcli vsan maintenancemode cancel

Additional Information

Affected Products

VxRail, VxRail Appliance Family

Products

CloudArray Virtual Edition for VxRail Appliance, VxRail Appliance Series, VxRail G Series Nodes, VxRail E Series Nodes, VxRail Gen2 Hardware, VxRail P Series Nodes, VxRail S Series Nodes, VxRail V Series Nodes
Article Properties
Article Number: 000019784
Article Type: How To
Last Modified: 08 May 2024
Version:  11
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.