Solved

Manually Remove Disconnected VM when Host Unavailable

Posted on 2011-03-07
7
10,506 Views
Last Modified: 2012-05-11
Today we have had major problems with one of our clusters.  Thank fully at time of writing we have managed to restore most services. Howvever, we have a number of guest that have come disconnected.  Unfortunatley we cannot remove these from the inventory as they still have a status of powered on.  This is despite that actually physical host being powered down.  Does anyone know how we can change the status and remove and re-add to the inventory everything I have seen points to the physical host being available to fix such an issue.  Would appreciate anyone's wisdom.

Thanks

Graeme
0
Comment
Question by:GraemeTL
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 40

Expert Comment

by:coolsport00
ID: 35060311
I assume you're logging into vCenter with vSphere Client? Do the VMs show as 'not connected' if you log onto the ESXi host directly? You can remove a powered-on VM from Inventory in vCenter and it would still be powered on, because VMs are actually on a host, not on vCenter. Remove from Inventory/then re-add one of your less critical VMs to test, but I'm pretty confident that is the case. Oh, and to re-add, you need to go into the VM's folder, right-click on its .vmx file and select Add to Inventory.

~coolsport00
0
 
LVL 16

Expert Comment

by:danm66
ID: 35060333
try restarting the management service on the hosts that these VM's are being reported as living on.  If they still persist, then restart the VC server service.
0
 
LVL 28

Expert Comment

by:bgoering
ID: 35060337
0
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 

Author Comment

by:GraemeTL
ID: 35061361
Hi all.  The problem we have is that the host where the vms live is dead, therefore we cannot logon to the host to remove or change the guest status to powered off, to then remove the machine from inventory.  These guests are part of a large cluster but we cannot migrate or anything as the physical host won't boot.
0
 
LVL 16

Expert Comment

by:danm66
ID: 35061388
can you right-click on the dead host and choose 'disconnect'?  if you can do that, then you can right-click and remove host.  That will remove the VM's on it, too.  
0
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
ID: 35061958
The first thing to do would be to remove the host from the cluster. I expect you should be able to do that - I believe it may ask do you want to uninstall the agent and you will say no because the host is dead. Removing the host would also remove the vms living on that host from inventory.

Next you would browse your datastores to each vm that was on the host in the datastore browser, right click the vmx file, and select add to inventory.

I did have to do that once a while back and I am pretty sure that was the process I followed.
0
 

Author Closing Comment

by:GraemeTL
ID: 35192322
Apologies for the delay in accepting the response
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
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 ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
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…

749 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