The Delete Unused Snapshots for Datastore 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 Datastore 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 Datastore action.

The number of days that you specify for each datastore is the age of the snapshots based on the creation date. The Delete Unused Snapshots dialog box provides details regarding 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

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

  • In the Actions menu on the top toolbar when you click Home.

  • On the toolbar when you click Environment, select an object, click the Details tab, click Views, and select a view of type List.

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

  • In the Inventory Explorer list when you click Administration, click 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 datastores 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 datastore on which you are running the delete snapshot action.

Days Old

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

Host

Name of the host with which the datastore 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.

Datastore Name

Name of the datastore where the snapshot is managed.

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.

Host Name

Name of the host with which the datastore is associated.

VM Name

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

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.