Solved

ESXcli command to force a host out of maintenance mode ?

Posted on 2014-04-25
5
655 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 119

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

776 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