Manage VM Protection Policies

Important: VMPR and its functionality has been removed from XenServer version 6.2.0 and higher. Applications, code, or usage that depend on VMPR will not function in XenServer version 6.2.0 and higher. The VM snapshot functionality and functionalities that depend on VM snapshot (other than VMPR) remain unaffected. See CTX137335 for details.

To enable, disable, edit and delete VM Protection policies for a pool, you use the VM Protection Policies dialog box: on the Pool menu, click VM Protection Policies.

Enabling a VM Protection policy

When you enable a VM Protection policy, you turn it “on”: automated snapshots of the specified VMs will then be generated at the scheduled time and archived, if this is also configured. Scheduled snapshots will continue being taken until the policy is disabled.

To enable a policy:

  1. Select the pool or any server or VM in the pool in the Resources pane and on the Pool menu, select VM Protection Policies.
  2. Select a policy from the list of policies defined in the pool and click Enable.

Disabling a VM Protection policy

If you want to stop automated VM snapshots from being taken, you can disable the VM Protection policy using the VM Protection Policies dialog box: a disabled policy can be enabled again at any time.

To disable a policy:

  1. Select the pool or any server or VM in the pool in the Resources pane and on the Pool menu, select VM Protection Policies.
  2. Select the policy from the list of policies defined in the pool and click Disable.

Editing a VM Protection policy

You can change a VMPR policy, for example, to add more VMs or to change the snapshot schedule:

  1. Select the pool or any server or VM in the pool in the Resources pane and on the Pool menu, select VM Protection Policies.
  2. Select the policy from the list of policies defined in the pool and click Properties and go to the tab you need: | Tab | Contents | |———————–|——————————————————————————————————————————————————————–| | Protected VMs | Add or remove VMs on this tab. A VM can be assigned to only one policy at a time, so if you assign it to a new policy, it will be removed from its current policy. | | Snapshot Type | Change the type of snapshot that will be created. | | Snapshot Schedule | Change the schedule used to take VM snapshots and change the snapshot retention policy. | | Archive Options | Turn automatic archiving on and off, and set the archive schedule. | | Email Alerts | Configure email notifications for scheduled snapshot or archive operation system alerts. |

  3. Click OK to save your changes and close the Properties window.

Delete a VM Protection policy

To delete a VM Protection policy:

  1. Select the pool, or any server or VM in the pool, in the Resources pane and on the Pool menu, select VM Protection Policies.
  2. Select the policy from the list of policies defined in the pool and click Delete.