Maintenance mode enabled vSAN ESXi host exits maintenance mode on its own post reboot
book
Article ID: 394835
calendar_today
Updated On:
Products
VMware vSAN
Issue/Introduction
Prior to this issue occurring a vSAN cluster shutdown and restart was performed.
Symptoms:
vSAN ESXi host is placed in maintenance mode and rebooted, it exits maintenance mode on its own at boot.
Only one host in the vSAN cluster experiences this issue.
vSAN cluster has been restarted and is working normally.
Environment
VMware vSAN 8.x
Cause
The host facing this issue was the Orchestrator host during the last vSAN cluster shutdown. And it currently still assumes itself to be the orchestrator host even after the vSAN cluster has been restarted successfully.
This can be seen in the host's var/run/log/vsanmgmt.log:
This is the normal workflow when the vSAN cluster is being restarted after a shutdown. The host on which the vCenter resides assumes the role of Orchestrator and orchestrates the vSAN cluster shutdown and restart process.
The configuration entry which states the host is the orchestrator host is present in the /etc/vmware/vsan/vsanperf.conf file called "vc_vm_moid":