Managing Your vCenter Inventory

Lost or out-of-inventory VMs and virtual services and unlinked or orphaned files can use up the storage available on your datastores. Lost and out-of-inventory VMs and virtual services are those that are still on disk but are not registered in the managed system. This situation can occur when a VM or virtual service is removed from inventory and the files are not deleted from disk, or are cloned or deployed without proper controls. Unlinked or orphaned files can remain after VMs or other objects are deleted from disk.

See also Unlinked Files Report.

Viewing In-inventory and Out-of-inventory VMs

You can view a summary of what is contained in your vCenter datastores for both in-inventory and out-of-inventory VMs.

In-inventory VMs are virtual machines that exist on a datastore and are displayed in the managed system's inventory.

Out-of-inventory VMs are virtual machines that exist on a datastore but are not displayed in your inventory.

NotePencil-smallThe inventory concept is vCenter-specific, so viewing out-of-inventory VMs and removing VMs from inventory are supported for vCenter only.

There are three ways to view in-inventory and out-of-inventory VMs:

through the Datastore view tree

through the Virtual Machines tab of the Datastore view

through the Offline VM Aging Costs Report and the Offline VM Aging Savings Report

Viewing Your Inventory Through the Tree

Access through:

Views menu > Datastore

Available to:

All Access Rights Levels

To view the VMs that are in inventory and out of inventory, go to the Datastore View and expand the In Inventory folder or the Out of Inventory folder in the tree.

Viewing Your Inventory Through the Virtual Machines Tab

Access through:

Views menu > Operational, VMs and Templates or Datastore > Virtual Machines tab

Available to:

All Access Rights Levels

Use the search function in Embotics® vCommander® to display in-inventory and out-of-inventory VMs as shown in the following figure.

NotePencil-smallThe Virtual Machines tab in the Datastore view displays both in-inventory and out-of-inventory VMs. The Virtual Machines tab in the Operational and VMs and Templates views displays in-inventory VMs only.
 Searching for In-inventory and Out-of-inventory VMs Using Filters


Searching for In-inventory and Out-of-inventory VMs Using Filters

Removing a VM or virtual service from inventory

Access through:

Views menu > Operational, VMs and Templates or Datastore

Available to:

Administrator and All Operator Levels of Access Rights

You can use vCommander to remove a VM or virtual service from inventory. When you complete this task, the files for the VM  or virtual service remain on the disk and the service is considered to be "out of inventory". Removing from inventory is different from deleting from disk; a VM or virtual service that is out of inventory can be placed in inventory at another time, while a VM or virtual service deleted from disk is permanently removed, along with all its associated files.

Removing from inventory is supported only for vCenter.

To remove a VM or virtual service from inventory:

1.Select the VM or virtual service you want to remove.

NotePencil-smallThe VM or virtual service must be powered off.

2.For a VM, right-click and select Configuration Management > Remove from Inventory.

For a virtual service, right-click and select Remove from Inventory and confirm the removal.

vCommander removes the VM or virtual service and its files from inventory.

Determining when a VM was removed from inventory

Access through:

Views menu > Datastore > Virtual Machines tab

Available to:

All Access Rights Levels

Every time a VM is removed from inventory, the date and time at which this event occurs is recorded. To see this information, make sure that the Last in Inventory column is displayed on the Virtual Machines tab in the Datastore view (use the Pick Columns command).

Managing other files on disk

Access through:

Views menu > Datastore > General pane

Available to:

Administrator and All Operator Levels of Access Rights

On datastores, many files can accumulate as VMs and other objects are added. Most of these files are valid, but occasionally, orphaned or unlinked files remain as VMs are deleted from inventory. See also the Unlinked Files Report.

To view the files on disk:

1.Select a datastore.

2.In the General pane for the datastore, click the number for Other Files as displayed in the following figure.

other_files

3.If more than one page of files exists, browse through the table of files by moving from one page to the next.

NotePencil-smallYou can export these files to a CSV format by clicking Export.

4.To delete orphaned or unlinked files, select one or a group of files to delete.

5.Click OK to confirm deletion of the files.

6.Click Delete.

Embotics® vCommander® deletes the files you selected from the disk.