# Enum - VsanHostNodeState(vim.vsan.host.NodeState)

Since
  vSphere API 5.5

## Enum Description

A VsanHostNodeState represents the state of participation of a host in the VSAN service.
See VsanHostClusterStatus
See VsanHostClusterStatusState

Enum Constants

Name | Description
--- | ---
agent | The node is enabled for the VSAN service and is serving as an agent.
backup | The node is enabled for the VSAN service and is serving as the backup.
decommissioning | The node is being decommissioned from the VSAN service; this state is considered transitory.
disabled | The node is disabled for the VSAN service.
enteringMaintenanceMode | The node is entering maintenance mode; this state is considered transitory. See EnterMaintenanceMode_Task
error | The node is enabled for the VSAN service but has some configuration error which prevents participation.
exitingMaintenanceMode | The node is exiting maintenance mode; this state is considered transitory. See ExitMaintenanceMode_Task
master | The node is enabled for the VSAN service and is serving as the master.
starting | The node is starting the VSAN service; this state is considered transitory.
stopping | The node is stopping the VSAN service; this state is considered transitory.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanHostNodeState"> <restriction base="xsd:string"> <enumeration value="error"/> <enumeration value="disabled"/> <enumeration value="agent"/> <enumeration value="master"/> <enumeration value="backup"/> <enumeration value="starting"/> <enumeration value="stopping"/> <enumeration value="enteringMaintenanceMode"/> <enumeration value="exitingMaintenanceMode"/> <enumeration value="decommissioning"/> </restriction> </simpleType>