Loading...

SnapProtect - SnapProtect for Open Systems C-Mode - Getting Started – NetApp

Create a Replication Storage Policy

Create a replication storage policy.

  1. From the CommCell Browser, navigate to Policies.

    Right-click Storage Policies and click New Storage Policy.

  2. Type the Storage Policy name in the Storage Policy Name box

    Select the SnapProtect for Open Systems box and click OK.

    Click Next.

    Please assign the provisioning policy and the resource pools by going to the primary snap copy properties.

  3. Select a Location to store the index information, and click Next.

  4. From the MediaAgent list, select the name of a MediaAgent that will be used to create the primary copy.

    Click Next.

  5. Click Next to accept default values for the Retention Criteria.

    If necessary, these values can be modified later.

  6. Select or Add the OnCommand Unified Manager information:

    Select a server with Unified Command Manager 6.3 or later. Even though servers with OnCommand Unified Manager 5.x might appear in the drop down list, do not select any server with OnCommand Unified Manager 5.x, if you want the data to be replicated to C-Mode file servers.

    Click Next.

  7. Click Finish.
  8. From the CommCell Browser, navigate to Policies | Storage Policies | <Storage_Policy>.

    The replication policy appears in the right pane of the CommCell Browser.

Setup of the Array Information

Once you added the Resource Pools,  add the arrays that appeared in the Resource Pools to the Array Management. The step-by-step instructions for setting up the array information are the following.

  1. From the CommCell Browser, click the Storage tab and then click the Array Management icon.

    The Array Management dialog box appears, click Add.

  2. The Filer Properties dialog box appears.

    Select NetApp from the Snap Vendor list.

    Specify the name of the secondary file server in the Name field.

    The name of secondary file server may be different in the OnCommand Unified Manager, CommServe, MediaAgent and other entities, but it should resolve to the same IP address.

    Click Change and enter the access information of a user with administrative privileges in the Username and Password fields in the Enter User Name and Password dialog box.

    The user should be able to perform the following:

    Create or delete snapshots, volumes, LUNs, clones, CIFS shares and NFS exports, and initiator groups.

    Select File Server for the array type. Use the Description field to enter a description about the entity. This description can include information about the entity's content, cautionary notes, etc.

  3. Click OK.
  4. Optional: In the Filer Properties dialog box, click the Snap Configuration tab.

    In the Initiator Group Name box, specify the name of the initiator group to be configured on the client computer and proxy computer to access the array.

    In the Mount Retry Count box, type or select the number of retry attempts for a mount operation.

    In the Mount Retry Interval (in seconds) box, type or select the time interval after which the next mount operation will be attempted.

    Click OK.

Add and Assign Resource Pools

Before You Begin

  • Make sure that you have created the appropriate resource pools and Vserver associations, as described in High-Level Process Flow for OCUM 6.x.
  • For cluster and virtual server clients, associate vServers with the aggregates that form the resource pools for SPOS C-Mode. To associate vServers with the aggregates, use the following command on the cluster :

    vserver modify -vserver Vserver_name -aggr-list aggr_name

  1. From the CommCell Browser, navigate to Policies | Storage Policies | <Storage_Policy>.

    Right-click <Primary (Snap) > and click Properties.

    The Storage Policy Properties dialog box appears.

  2. Click the Provisioning tab.

    Click Refresh to display the entities.

    Select the Resource Pools available from the list.

    Select the Storage Virtual Machine checkbox and a computer from the Storage Virtual Machine drop-down list. Click Refresh to display the Storage Virtual Machine associated to the selected Resource Pools.

    Click OK.

    A single destination volume is created by OCUM on the selected Resource Pools and selected Storage Virtual Machine per storage policy.

    If you plan to change the Storage Virtual Machine or if  it the volume runs out of storage space, create a new storage policy and re-associate all existing clients from the old storage policy to the newly created one.

    Enable read-write access to SPOS C-Mode clients to the export policy associated with the root volume of the selected Storage Virtual Machine.

    A storage policy’s provisioning tab cannot be edited once the destination volume is created.

Configure Backup Copy

Follow the steps given below to configure Backup Copy for moving snapshots to media.

  1. From the CommCell Browser, navigate to Policies | Storage Policies.

    Right-click the <Storage Policy> and click Properties.

  2. Click the Snapshot tab.

    Select Enable Backup Copy to enable backup copies.

    Click OK.

Associate Subclients

Use SPOS C-Mode supported agents for SPOS C-Mode storage policies. Any association should be done with SPOS C-Mode supported subclients.

Backing up system state with SPOS C-Mode is not supported.

Backing up the default subclient for the File System agent with a SPOS C-Mode enabled storage policy is not supported.

Do not associate default subclients with any SPOS C-Mode enabled storage policy.

No DAG support for Exchange.

No support for Always On for SQL.

For Oracle, log and data on the same volume is not supported; no support for partial table backups, i.e., no support for online subset backup option; and RAC and ASM are not supported.

The replication workflow picks up only those subclients whose data policy is the same as the storage policy on which the workflow was launched and not the subclient whose log policy is the same the storage policy on which the workflow was launched.

The replication workflow converts all SQL jobs to FULL. You can run transaction log backups only from the subclient.

Before deploying and executing the workflow, enable SnapProtect at client and subclient level, for all subclients associated to the storage policy from which the workflow is executed.

On UNIX systems, the source volume mount path is used to derive the name of the qtree on the volume on the destination array, which contains the replicated data of the source volume.

Format of the destination qtree name:

App_SnapProtect_ClientId_Storage_Policy_Copy_Id/Agent_Type_Id/SnapProtect_SubClient_Id/Normalized_Source_Volume_Mount_Path

SnapProtect normalizes the source volume mount path by removing all non-alphanumeric values from the source volume mount path. For example, the mount point /a/b/c is normalized to abc.

The following example illustrates how a subclient with multiple volume mount paths can result in the same destination qtree:

Subclient ID: 10, Client ID: 20, Storage Policy ID: 20, Agent type ID: 40

Mount Path Destination qtree
/a/b/c /vol/destination_volume/App_20_30/40/10/abc
/abc /vol/destination_volume/App_20_30/40/10/abc

If the path value is either a/b/c or /abc, data is copied to the destination qtree as /vol/destination_volume/App_20_30/40/10/abc.

No distinction is made between a normalized path for a source subclient and a similarly named destination qtree. Therefore, make sure that multiple paths added to the same subclient do not normalize to the same destination qtree.

Enabling Optimized Scan for Windows File System Subclients

The Optimized Scan feature improves the data scan capabilities of an agent by determining the files that have changed and/or been backed up. Optimized Scan provides a faster method of data scan during regular as well as SnapProtect backups.

By default, Optimized Scan is selected as the default method for scanning files to determine which files have changed and/or have been backed up. Optimized Scan is the preferred method of scanning the files during a regular and SnapProtect backup and for SPOS C-Mode subclients, as this method is much faster as compared to the Recursive Scan.

To enable optimized scan, follow these steps before the first backup:

  1. From the CommCell Console, navigate to <Client> | <Agent> | defaultBackupSet | Subclient.
  2. Right-click the Subclient and select Properties. The Subclient Properties dialog box appears.
  3. Click the Advanced Options tab.
  4. Click Optimized Scan.
  5. Click OK to save the information.

Optimized Block Level Replication

The optimized block level replication feature reduces the time taken by incremental replication jobs. It uses a block level filter driver that continuously monitors the source volume for changes and keeps track of blocks that have changed between two replication jobs.

Installing Optimized Block Level Replication

To install the driver for the optimized block level replication, follow these steps at subclient level:

  1. From the CommCell Console, navigate to <Client> | <Agent> | defaultBackupSet | Subclient.
  2. Right-click the Subclient and select Properties. The Subclient Properties dialog box appears.
  3. Click the Advanced Options tab.
  4. In the Blocklevel Backup area, select Optimize for block level replication (SnapProtect for Open Systems C-Mode).
  5. Select Install block filter drive and select Reboot now or Reboot later.
  6. Click OK to save the information.
  7. Reboot the client computer.

Notes for Microsoft Windows:

Optimized Block Level Replication is irreversible and you cannot uninstall block filter driver at a later time.

Selecting Optimize for block level replication automatically installs the driver on the client computer.

The Install block filter driver area displayed in the Advanced Options tab appears only if the Optimized Block Replication feature has not been installed on the client computer. After the driver installation and the reboot of the client computer, the area is not displayed in any subclient residing under that Client Computers node.

The Optimized Block Level Replication feature is enabled after reboot, until then, existing jobs continue to run in checksum mode.

The block filter driver needs to be manually installed on the physical nodes of a cluster.

Installing the Block Level Filter Driver on Physical Nodes of a Cluster

To install the block level driver in the physical node of a Windows cluster, run the following command in the command line prompt:

BLKWinSetup.exe -qsnap -op install -path "C:\Program Files\Commvault\ContentStore\Drivers\QSnap2.inf" -bmploc "C:\Program Files\Commvault\ContentStore\bmp"

where -path is the path to the SnapProtect software and -bmploc is the path to where the bitmap information is stored.

To uninstall the driver, use the following command:

BLKWinSetup.exe -qsnap -op uninstall -path C:\Program Files\CommVault\ContentStore\Drivers\QSnap2.inf

Enabling Optimized Block Level Replication

To enable optimized block level replication, follow these steps at subclient level:

  1. From the CommCell Console, navigate to <Client> | <Agent> | defaultBackupSet | Subclient.
  2. Right-click the Subclient and select Properties. The Subclient Properties dialog box appears.
  3. Click the Advanced Options tab.
  4. In the Blocklevel Backup area, select Optimize for block level replication (SnapProtect for Open Systems C-Mode).
  5. Click OK to save the information.
  6. Reboot the client computer.

Notes for Microsoft Windows Cluster:

Enabling Optimized Block Level Replication on a cluster node installs the driver only on the current active node of the cluster. To enable Optimized Block Level Replication at the volume, on each node of cluster, enable Optimized Block Level Replication on each physical node of cluster.

Associate Multiple Subclients

You can configure multiple subclients as part of the fan-in by associating to that same storage policy, which defines the grouping affinity relationship.

  1. From the CommCell Browser:

    Navigate to Client Computers | <Client> | <Agent>.

    Right-click the <Subclient> and select Properties.

  2. Click the Storage Device tab.

    In the Storage Policy box, select a storage policy name for the subclient.

  3. Click OK.
  4. Repeat steps 1 and 2 to associate more subclients.