[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1668
  • Last Modified:

Virtual machines lost from Inventory

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
choracy
Asked:
choracy
  • 2
1 Solution
 
sk_raja_rajaCommented:
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
 
sk_raja_rajaCommented:
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
 
choracyAuthor Commented:
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now