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
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.
Some article numbers may have changed. If this isn't what you're looking for, try searching all articles. Search articles

How to Check the ESXi Maintenance Mode Status from the vSAN Perspective

Summary: Learn how to check ESXi maintenance mode status from the vSAN perspective in Dell EMC VxRail.

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

ESXi maintenance mode from the vSAN perspective status varies from the one in vCenter.
  • To check if ESXi has entered maintenance mode with vSAN, or is stuck, run the following command:
    cmmds-tool find -t NODE_DECOM_STATE -f json
  • The output should be similar to:
    {
       "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)"
     }
  • In the output, locate the decomState status. Below are the known statuses for decomState and their meanings:
    • decomState: 0: This means that the node is currently not in maintenance mode.
    • decomState: 4: This means that the node is currently entering maintenance mode.
    • decomState: 6: This means that the node is currently in maintenance mode from a vSAN perspective.
  • If the node is stuck entering or exiting maintenance mode for any reason, try the following:
    • If ESXi from vCenter can enter maintenance mode (the option is available when right-clicking ESXi), try to enter and exit (or exit and enter) the maintenance mode.
    • If this is unsuccessful, try to exit the vSAN maintenance mode by using the following command:
      • esxcli vsan maintenancemode cancel

Additional Information

Related Resources
Here are some recommended resources related to this topic that might be of interest:
Refer to this video:

You can also view this video on YouTube.

Article Properties


Affected Product

VxRail, VxRail Appliance Family

Product

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

Last Published Date

08 May 2024

Version

11

Article Type

How To