Solved

ESXcli command to force a host out of maintenance mode ?

Posted on 2014-04-25
5
647 Views
Last Modified: 2014-05-01
I have and ESXi host that is not showing in maintenance mode but when I attempt to move a running VM off of the host it says it is in maintenance mode

how can I force this host to get out of maintenance mode ?
0
Comment
Question by:NAMEWITHELD12
5 Comments
 
LVL 61

Expert Comment

by:gheist
ID: 40024157
You need to call vmware support. There is some more runaway vm that you dont see.
Can you move out a VM that is powered off?
0
 
LVL 1

Author Comment

by:NAMEWITHELD12
ID: 40024160
I connected to the WEBclient and was able to "exit maintenance mode"
0
 
LVL 61

Expert Comment

by:gheist
ID: 40024244
The question is - can you vmotion the machine out of it?
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 40024393
If the host is in maintenance mode, then this is the reason why VMs could not be moved, However there are other times, when the Host is not in maintenance mode, and VMs are flagged in the SQL Database do not move me!

Sometimes, VMs are flagged in the database DO NOT MOVE!

This often occurs, if you are using backup products which flag the VM, "do not move me" whilst backups of the VM are taking place.

The only way is to remove the VM flag from the SQL tables. (or remove VM from Inventory) - which cannot be done, if the VM is powered ON!
0
 
LVL 23

Expert Comment

by:bhanukir7
ID: 40026710
Have you tried to restart the management agents to verify if this was due to failed communication between the vcenter and the esxi host.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSpā€¦

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now