Define an eviction policy for VM snapshots

To conserve disk space, you can define an eviction policy that deletes existing snapshots when the count of snapshots equals the specified snapshot limit setting, and when a scheduled job attempts to take a new snapshot.

Before you begin

Role required: cloud_admin or admin

About this task

Procedure

  1. Navigate to Cloud Management > Administration > VM Snapshot Eviction Policy and then click New.
  2. Configure the settings as shown in the table and then click Submit.
    Table 1. Catalog item form
    Field Description
    Policy name Name for the eviction policy.
    Application Provider for the VM.
    Description Description for the policy.
    Script Script that specifies the snapshot to delete. The script sets the value of the result variable to the sys_id of the snapshot to delete.