The Delete Unused Snapshots for Datastore action in vRealize Operations Cloud 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 Cloud 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 .
Where You Run the Action
- 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 list when you click Administration in the menu, click Inventory, then click the List tab, and select an object in the list.
- In configured alert recommendations.
- In the Object List and Topology Graph dashboard widgets.
To ensure that you are submitting the action for the right objects, review the following information.
You first retrieve snapshots based on age, then select the snapshots to delete.
|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.|
Name of the VMware Adapter as it is configured in vRealize Operations Cloud. The adapter manages the communication with the vCenter Server instance.
Select the snapshots to delete.
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 data center 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.
|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.