The Delete Unused Snapshots for Virtual Machines action in vRealize Operations Manager deletes snapshots that are older than the specified age from your datastores. Deleting unused snapshots reclaims wasted space in your environment.

How the Action Works

The Delete Unused Snapshots for Virtual Machine action comprises two dialog boxes. The first dialog box allows you to select the snapshot age criteria, which must be greater than one day. The second step allows you to select the snapshots to delete, and runs the Delete Unused Snapshots for Virtual Machine action.

The number of days that you specify for each virtual machine is the age of the snapshots based on the creation date. The Delete Unused Snapshots for Virtual Machine action retrieves the snapshot and displays the snapshot name, space consumed, and location so that you can evaluate the snapshots before you delete them.

When you click Begin Action, vRealize Operations Manager displays a dialog box to indicate that the action has started. To track the status of the action, click the link in the dialog box and view the state of the action in Administration > Recent Tasks.

Where You Run the Action

You can run the Rebalance Container action from the Actions menu for a data center or custom data center, or you can provide it as a recommended action on an alert.

For the supported objects and object levels, this action is available in the following locations in vRealize Operations Manager:

  • Embedded just below the top menu.

  • On the toolbar when you click Environment in the menu, select an object, click the Details tab and click Views.

  • On the toolbar when you click Environment in the menu, select an object, click the Environment tab, and select an object in the list view.

  • In the Inventory Explorer list when you click Administration in the menu, click Configuration > Inventory Explorer, click the List tab, and select an object in the list.

  • In configured alert recommendations.

  • In the Object List and Topology Graph dashboard widgets.

Action Options

Review the following information about the virtual machines to ensure that you are submitting the action for the correct objects.

You first retrieve snapshots based on age, then select the snapshots to delete.

Table 1. Retrieve Snapshots

Option

Description

Name

Name of the virtual machine on which you are running the Delete Unused Snapshots for VM action.

Days Old

Age of the snapshots to be deleted. This action retrieves snapshots for the virtual machine that are older than one day.

Host

Name of the host with which the virtual machine is associated.

Parent vCenter

Name of the VMware Adapter as it is configured in vRealize Operations Manager. The adapter manages the communication with the vCenter Server instance.

Select the snapshots to delete.

Table 2. Delete Snapshots

Option

Description

Selected objects

Check box indicates whether the action is applied to the object. To not run the action on one or more objects, deselect the associated check boxes. This option is available when two or more objects are selected.

VM Name

Name of the virtual machine from which the snapshot was created.

Snapshot Name

Name of the snapshot in the datastore.

Snapshot Space (MB)

Number of megabytes consumed by the snapshot.

Snapshot Create Time

Date and time when the snapshot was created.

Snapshot Age

Age of the snapshot in days.

Datacenter Name

Name of the datacenter with which the datastore is associated.

Datastore Name

Name of the datastore where the snapshot is managed.

Host Name

Name of the host with which the datastore is associated.

After you click OK, the next dialog box provides the task ID and a link to the task list.

Table 3. Task ID Dialog Box

Option

Description

Recent Tasks

To view the status of the job and verify that the job finished, click Recent Tasks.

OK

To close the dialog box without further action, click OK.

The Delete Unused Snapshots action creates a job for the retrieve snapshots action, and a job for the delete snapshots action.