Skip to main content
SnapCenter Software 6.0

Create resource groups and attach policies

Contributors netapp-soumikd netapp-nsriram

A resource group is the container to which you must add resources that you want to back up and protect. A resource group enables you to back up all the data that is associated with a given application simultaneously. A resource group is required for any data protection job. You must also attach one or more policies to the resource group to define the type of data protection job that you want to perform.

About this task
  • For ONTAP 9.12.1 and below version, the clones created from the SnapLock Vault snapshots as part of restore will inherit the SnapLock Vault expiry time. Storage admin should manually cleanup the clones post the SnapLock expiry time.

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

  2. In the Resources page, click New Resource Group.

  3. In the Name page, perform the following actions:

    For this field…​ Do this…​

    Name

    Enter a name for the resource group.

    Note The resource group name should not exceed 250 characters.

    Tags

    Enter one or more labels that will help you later search for the resource group.

    For example, if you add HR as a tag to multiple resource groups, you can later find all resource groups associated with the HR tag.

    Use custom name format for snapshot copy

    Select this check box, and enter a custom name format that you want to use for the snapshot name.

    For example, customtext_resource group_policy_hostname or resource group_hostname. By default, a timestamp is appended to the snapshot name.

  4. In the Resources page, select a host name from the Host drop-down list and resource type from the Resource Type drop-down list.

    This helps to filter information on the screen.

  5. Select the resources from the Available Resources section, and then click the right arrow to move them to the Selected Resources section.

  6. In the Application Settings page, do the following:

    1. Click the Backups arrow to set additional backup options:

      Enable consistency group backup and perform the following tasks:

      For this field…​ Do this…​

      Afford time to wait for Consistency Group snapshot operation to complete

      Select Urgent, Medium, or Relaxed to specify the wait time for snapshot operation to complete.

      Urgent = 5 seconds, Medium = 7 seconds, and Relaxed = 20 seconds.

      Disable WAFL Sync

      Select this to avoid forcing a WAFL consistency point.

      application settings

    2. Click the Scripts arrow and enter the pre and post commands for quiesce, snapshot, and unquiesce operations. You can also enter the pre commands to be executed before exiting in the event of a failure.

    3. Click the Custom Configurations arrow and enter the custom key-value pairs required for all data protection operations using this resource.

      Parameter Setting Description

      ARCHIVE_LOG_ENABLE

      (Y/N)

      Enables the archive log management to delete the archive logs.

      ARCHIVE_LOG_RETENTION

      number_of_days

      Specifies the number of days the archive logs are retained.

      This setting must be equal to or greater than NTAP_SNAPSHOT_ RETENTIONS.

      ARCHIVE_LOG_DIR

      change_info_directory/logs

      Specifies the path to the directory that contains the archive logs.

      ARCHIVE_LOG_EXT

      file_extension

      Specifies the archive log file extension length.

      For example, if the archive log is log_backup_0_0_0_0.161518551942 9 and if the file_extension value is 5, then the extension of the log will retain 5 digits, which is 16151.

      ARCHIVE_LOG_RECURSIVE_SE ARCH

      (Y/N)

      Enables the management of archive logs within subdirectories.

      You should use this parameter if the archive logs are located under subdirectories.

      Note The custom key-value pairs are supported for IBM Db2 Linux plug-in systems and not supported for IBM Db2 database registered as a centralized windows plug-in.
    4. Click the Snapshot Copy Tool arrow to select the tool to create snapshots:

      If you want…​ Then…​

      SnapCenter to use the plug-in for Windows and put the file system into a consistent state before creating a snapshot. For Linux resources, this option is not applicable.

      Select SnapCenter with File System Consistency.

      SnapCenter to create a storage level snapshot

      Select SnapCenter without File System Consistency.

      To enter the command to be executed on the host to create snapshot copies.

      Select Other, and then enter the command to be executed on the host to create a snapshot.

  7. In the Policies page, perform the following steps:

    1. Select one or more policies from the drop-down list.

      Note You can also create a policy by clicking add policy from resourcegroup.

      The policies are listed in the Configure schedules for selected policies section.

    2. In the Configure Schedules column, click add policy from resourcegroup for the policy you want to configure.

    3. In the Add schedules for policy policy_name dialog box, configure the schedule, and then click OK.

      Where, policy_name is the name of the policy that you have selected.

      The configured schedules are listed in the Applied Schedules column.

      Third party backup schedules are not supported when they overlap with SnapCenter backup schedules.

  8. In the Notification page, from the Email preference drop-down list, select the scenarios in which you want to send the emails.

    You must also specify the sender and receiver email addresses, and the subject of the email. The SMTP server must be configured in Settings > Global Settings.

  9. Review the summary, and then click Finish.