Manage policies

Contributors netapp-soumikd netapp-asubhas Download PDF of this page

You can detach policies from a resource or resource group, modify, delete, view, and copy.

Modify policies

You can modify the replication options, Snapshot copy retention settings, error retry count, or scripts information while a policy is attached to a resource or resource group. You can modify the schedule type (frequency) only after you detach a policy.

About this task

Modifying the schedule type in a policy requires additional steps because the SnapCenter Server registers the schedule type only at the time the policy is attached to a resource or resource group.

If you want to…​ Then…​

Add an additional schedule type

Create a new policy and attach it to the necessary resources or resource groups.

For example, if a resource group policy specifies only hourly backups and you want to add daily backups also, you can create a policy with a daily schedule type and add it to the resource group. The resource group would then have two policies: hourly and daily.

Remove or change a schedule type

Perform the following:

  1. Detach the policy from every resource and resource group that uses that policy.

  2. Modify the schedule type.

  3. Attach the policy again to all the resources and resource groups.

For example, if a policy specifies hourly backups and you want to change that to daily backups, you must detach the policy first.

You cannot detach the last remaining policy from an individual resource because every resource must have at least one policy attached.

Therefore, if you want to modify the schedule type of the only policy attached to a resource, you must perform the following:

  1. Attach a second placeholder policy.

  2. Detach the original policy from every resource and resource group that uses that policy.

  3. Modify the schedule type.

  4. Attach the modified policy again to all the resources and resource groups.

  5. Detach the placeholder policy.

Steps

  1. In the left navigation pane, click Settings.

  2. In the Settings page, click Policies.

  3. Select the policy, and then click Modify.

  4. Modify the information, and then click Finish.

Detach policies

You can detach policies from a resource or resource group any time that you no longer want those policies to govern data protection for the resources. You must detach a policy before you can delete it or before you modify the schedule type.

You cannot detach a policy from a resource or resource group if it is the only policy attached.

Steps

  1. In the left navigation pane, click Resources, and then select the appropriate plug-in from the list.

  2. In the Resources page, select Resource Group from the View list.

  3. Select the resource group, and then click Modify Resource Group.

  4. In the Policies page of the Modify Resource Group wizard, from the drop-down list, clear the check mark next to the policies you want to detach.

    You cannot detach the last remaining policy from an individual resource because every resource must have at least one policy attached. Therefore, if you want to delete or modify the only policy attached to a resource, you must perform the following:
    1. Attach a second placeholder policy.

    2. Detach the original policy from the resource.

  5. Make any additional modifications to the resource group in the rest of the wizard, and then click Finish.

Delete policies

If you no longer require policies, you might want to delete them.

What you will need

You should detach the policy from resource groups if the policy is associated with any resource group.

Steps

  1. In the left navigation pane, click Settings.

  2. In the Settings page, click Policies.

  3. Select the policy, and then click Delete.

  4. Click Yes.