Solved

ESXcli command to force a host out of maintenance mode ?

Posted on 2014-04-25
5
668 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 62

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 62

Expert Comment

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

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

756 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