Solved

Virtual machines lost from Inventory

Posted on 2008-10-10
3
1,620 Views
Last Modified: 2010-04-21
I shutdown ESXi server and when I restarted, all virtual machines were gone from inventory.  Under localhost there are no entries.
Datastore is there and the space occupied by the virtual machines is allocated.
Is there a way to rebuild the inventory or re-activate the virtual machines already on datastore?
This is a production server, so any ideas are welcome.
0
Comment
Question by:choracy
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
sk_raja_raja earned 500 total points
ID: 22687785
Browse the datastore for that VMs vmx file and select it.  Complete the resulting wizard to add the VM back to inventory.   I Did you create any new LUN's on the SAN ?
0
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22687807
To mount original, snapshot, or replica VMFS volumes
1 Perform the required storage tasks:
a Make the array snapshot or replica.
b Mask or zone the snapshot or replica to the ESX Server.
2 In the VI Client, select the host in the inventory panel.
3 Click the Configuration tab and click Advanced Settings.
4 Select LVM in the left panel, then set the LVM.EnableResignature option to 1.
5 Rescan for any new LUNs or VMFS volumes. Volumes that are detected to be
snapshots or replicas are resignatured.
After rescan, the copied VMFS volume appears as
/vmfs/volumes/snap-<DIGIT>-<old-label>.
If the .vmx file for any of the virtual machines or the .vmsd file for virtual machine
snapshots contains /vmfs/volumes/<label or UUID>/ paths, you must change
these items to reflect the resignatured volume path.
6 Set the LVM.EnableResignature option to 0 after resignaturing is complete.
0
 

Author Closing Comment

by:choracy
ID: 31505093
I had no idea that I could browse the datastore. Your hint made me discover this capability. Then adding the machines to the inventory was a click away. You've been a great help, thank you.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
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…
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…

943 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

5 Experts available now in Live!

Get 1:1 Help Now