Generic Enablers - How To

Topics | How To | Related Topics


Create a Generic Enabler

Create a QR Policy

Configure Subclient Content

Create a New Subclient

Copy Back a QR Volume


Create a Generic Enabler

Overview

Implement the Hitachi HDS ShadowImage Snap Engine

Implement the HP EVA Business Copy

Overview

A Generic Enabler for a specific hardware device is implemented through scripts for snapping, unsnapping, and recovering. You provide these scripts based on your snap type and your environment. (The template scripts for Hitachi ShadowImage and HP EVA are provided for reference purposes.) The following sections describe the Recovery Director configuration procedure for these two snap environments.

Implement the Hitachi HDS ShadowImage Snap Engine

"I have a Hitachi HDS subsystem as my storage array and ShadowImage or TrueCopy as the snapshot engine. I know the Quick Recovery Agent does not have an integrated enabler for HDS. How can I integrate the QR Agent’s replication and backup solution with the Hitachi system?"

When implementing Hitachi HDS through the Generic Enabler feature, two scenarios must be considered:

In the following implementation example, we describe the operation steps of the Remote Scenario.

Requirements

Required Capability: See Capabilities and Permitted Actions

To implement the Hitachi HDS ShadowImage snap engine

1. Create the HORCM instance and configure the horcm.conf.
2. Create Generic Enabler scripts (see Template Scripts for Hitachi HDS).

Three scripts should be created for the remote scenario: snap, unsnap, and copyback. (If it were a local scenario, you would create a recovery script rather than a copyback script.)

  • The snap script launches the pair-create process to make the snap pair and populate the CommServe database to create the QR volume entry.
  • The unsnap script deletes the pair.
  • The copyback script launches the reverse pair-create process to restore data from SVOL to PVOL. (The recovery script would unmount the PVOLs and SVOLs and swap the drive letters between PVOL and SVOL.)
3. Create a Generic Enabler QR Policy.

In the QR Policy screen, select Generic snapshot as the Snapshot Engine Type.

Note

  • QR Volume Creation is automatically disabled (grayed out) when you choose Generic snapshot.
4. Create a Workflow using the Workflow Wizard.
  • Select QR Copy and ProxyHost File System Backup (or Image Level ProxyHost Backup) as the Workflow operations.
  • Select Generic snapshot as the Snap Engine.
  • Specify the source volume (PVOL) and the destination volume (SVOL).
5. In the next Workflow Wizard screen, all existing Generic-Enabler-based QR Policies will be displayed.

Select the correct one and continue.

6. In the QR Agent Subclient Properties screen, a new Generic Snap Scripts tab will be enabled. This tab is only enabled when a Generic-Enabler-based QR Policy is associated.
  • Specify the snap script in Create Script Pathname.
  • Specify the unsnap script in Delete Script Pathname.
  • Specify the copyback script in Recovery Script Pathname.
  • Select an Execution Host -- where these scripts are located and executed.
7. Complete the rest of the Workflow configuration.
8. During QR volume creation, the snap script is launched by the Generic Enabler to create the hardware snapshots, mount the snapshots, and update the CommServe database as if the snapshots were created by the QR Copy Manager. If any applications reside on the PVOLs, you can include the application quiesce/unquiesce operations as part of the snap script.
9. To recover the data:
  • Because we mounted the SVOLs (Business Continuance Volumes (BCVs)) on a remote machine (remote scenario), the data on the SVOLs (BCVs) can be copied back to the PVOLs (source volumes) through either the QR Agent’s built-in Copyback feature (LAN-based copy manager) or through the hardware-based recovery. (The copyback script -- see Template Scripts for Hitachi HDS -- should have been specified in “Recovery Script Pathname.”). Hardware-based recovery is recommended because it is faster and it is LAN-free.

Here are two other recovery possibilities:

  • If the SVOLs (BCVs) are mounted on the same machine (local scenario), Quick Recovery can be used. In this case the recovery script (see Template Scripts for Hitachi HDS) should have been specified on the Recovery Script Pathname.
  • Recover from the point-in-time backup. Since each version of the snapshot has been backed up, they can be restored to anywhere, including the source volume(s).

Implement the HP EVA Business Copy

"I have HP StorageWorks as my storage array and Business Copy as the snapshot engine. I know the Quick Recovery Agent does not have an integrated enabler for the HP EVA. How can I integrate the QR Agent’s replication and backup solution with the HP system?"

The configuration procedures for HP EVA implementation with Recovery Director is almost the same as that of the Hitachi HDS. (See Template Scripts for HP EVA.)

note.gif (292 bytes)
  • When implementing HP EVA Business Copy through the Generic Enabler, the QR Copyback feature will not work with the Business Copy snapshot because the snapshot always "locks" the source volume.
  • The HP EVA does not have reserve restore functionality.

Create a QR Policy

Required Capability: Capabilities and Permitted Actions

The system allows you to create a QR policy in the CommCell Console from the QR Policies level.

To create a QR policy:

  1. From the CommCell Browser, right-click the QR Policies icon, and then click Create New QR Policy from the short-cut menu.
  2. Type the policy name (Up to 32 characters).
  3. Select the Snapshot Engine Type from the dropdown menu.
    note.gif (292 bytes)
    • If you are creating snapshot scripts using the Generic Enabler feature, select Generic snapshot as your Snapshot Engine Type.

    • Depending on the Snapshot Engine you select, some options may not be available for configuration.

  4. Select the Retention Policy by checking Infinite (default), or by entering the number of hours/days/weeks.
  5. Select the Enable QR Volume Creation check box to activate the Copy Manager and Scratch Pool menus.
    note.gif (292 bytes) This option is automatically disabled if you selected Generic snapshot as your Snapshot Engine Type in Step 3.
  6. Select the Copy Manager from the list of available Copy Managers that currently exist for this QR Volume. (Refer to LAN Copy Manager.)
  7. Select the Scratch Pool from the list of available scratch pools that currently exist for this QR Volume.
  8. If this QR Policy will be used to create Recovery Points, select Enable Recovery Points, and specify the maximum number of Recovery Points that will be retained, up to a maximum of 32.

Configure Subclient Content

Before You Begin

Required Capability: See Capabilities and Permitted Actions

wedge.gif (136 bytes)To configure subclient content:

  1. From the CommCell Browser, right-click the subclient for which you want to configure content, click All Tasks (if applicable) and then click Properties.
  2. Follow the procedure below that is applicable for your agent:
  3. Click OK to save your content configuration.

NOTES


Create a New Subclient

Before You Begin

Required Capability: See Capabilities and Permitted Actions

To create a new subclient:

  1. From the CommCell Browser, right-click the node (agent/backup set/archive set/instance) for which you want to create a new subclient, click All Tasks (if applicable), and then simply click New Subclient for most agents.
  2. Click the General tab or General (Quick Recovery Agent) tab of the Subclient Properties dialog box and type the name (up to 32 characters) of the subclient that you want to create.
  3. Select other options from the General tab as appropriate for the agent.
  4. Click the Content or Databases tab of the Subclient Properties dialog box and Configure Subclient Content as appropriate for your agent.
  5. For all agents (except QR), click the Storage Device (Data Storage Policy) tab of the Subclient Properties dialog box, then select a data storage policy to associate with this subclient from the storage policy list.
  6. For Oracle and DB2 iDataAgents, click the Backup Arguments (Oracle) or Backup Arguments (DB2, DB2 DPF) tab of the Subclient Properties dialog box and Configure Backup Arguments as appropriate for your agent. Note that the backup arguments for Informix are located on the Content tab.
  7. For Migration Archiver Agents, click the Archiving Rules or Rules tab of the Subclient Properties dialog box and configure archiving rules as appropriate for your agent. In order to perform rules-based migration archiving operations, the Disable All Rules checkbox must be cleared.

    If the File Archiver for Windows supports Data Classification, several filter-like configuration fields are defined as archiving rules and are available from the Subclient Properties (Rules) tab. If you want to define content and archiving rules based on file attributes other than volumes, size, and modified time (i.e., if you want to customize your rules), click the Advanced tab and configure as appropriate. Also, stub management options can be configured from the Stub Rule tab. See Configure Archiving Rules - File Archiver Agents for step-by-step instructions.

  8. For ProxyHost and Image Level ProxyHost iDataAgents, click the Pre/Post Process tab of the Subclient Properties dialog box. In the PreScan field, type the path to the batch file/shell script file that contains those commands that are to run before each backup of the subclient, or click Browse to locate and select this file. For ProxyHost and Image Level ProxyHost, the file must reside on the backup host or primary host.
  9. Optionally (if supported for your agent) you can:
  10. Click OK to save the subclient configuration. For QR Agents, this procedure is now complete. For all other agents, continue on to the next step.
  11. The Backup Schedule dialog box advises you to schedule data protection operations for your new subclient. It is recommended you elect to set a schedule now. You can also associate this subclient with an All Agent Types schedule policy (which is automatically created by the system, or can be a user defined Data Protection schedule policy). If you have already associated a schedule policy at a previous level (Backup Set/Instance, Agent, Client, or Client Computer Group) the schedules defined in the Schedule Policy will be automatically applied to the new subclient. See Schedule Policy for more information.

This task is now complete.


Copy Back a QR Volume

To copy back a QR Volume:

  1. From the CommCell Browser, right-click the QR Agent whose volumes (including Recovery Points and snapshots) you want to browse, click All Tasks, and then click Browse from the short-cut menu.
  2. From the Browse QR Volumes window, right-click the volume (or Recovery Point or snapshot) that you want to copy back, and then click Copyback to open the Select Volumes for Copyback dialog box. (If you want to copy back multiple QR Volumes, highlight all of the volumes you want to copy back by control-clicking the QR Volumes.)
  3. From the Select Volumes for Copyback dialog box, assign a destination volume to each QR Volume you want to copy back. The destination volume must be larger than the QR Volume.
  4. To assign a destination volume, click on the QR Volume, and then click the Set Destination button to open the Select Destination for Copyback dialog box.
  5. From the list of volumes in the Select Destination for Copyback dialog box, select the volume that is to be the copyback destination. (You can see a list of volumes on a different host by selecting a different computer in the dropdown Host: list.) Click the volume you want as the copyback destination and click Select.
  6. Repeat steps 4 and 5 for any QR Volumes that do not have a destination volume for copyback in the Select Destination for Copyback dialog box.
  7. Ensure that all volumes you want to copy back are checked in the Select column.
  8. Click OK to copy back the volumes. The system displays a progress bar and copies back the volumes. You can track the progress of the recover operation from the Job Controller window. 

Back to Top