This section describes how to create a protected group at the production site for Microsoft SQL Server databases that need DR protection. After the protected group is created, the system automatically matches suitable protection policies for the protected group.
Prerequisites
- At least one production site has been created.
- Hosts or host groups and storage devices for host applications have been added to the production site.
Context
In the HyperMetro (SAN) and asynchronous replication (SAN) or HyperMetro (SAN) and synchronous replication (SAN) scenario, storage LUNs used by protected objects in a protected group must reside in a same HyperMetro consistency group, and the HyperMetro consistency group only have this LUNs.
In the HyperMetro (SAN) and asynchronous or synchronous replication (SAN) scenario, all created asynchronous or synchronous remote replications and HyperMetro are configured in one replication consistency group.
When the network is DR Star, ensure that the LUNs used by protected objects in the protected group are in one DR Star, and only the LUNs used by protected objects exist in the DR Star.
The protected objects belonging to one protected group reside on the same storage device. Each protected object occupies independent storage LUNs or volumes.
Procedure
- In the menu bar, Choose Protection.
- Click Create.
- Select the protected object.
- Set Production Site and Production Host(Group).
- In the Available Database area, select the databases that you want to protect.
- In the Verification dialog box that is displayed, enter necessary authentication information and click OK.
- Click Next.
- Set a protection policy.
- On the Protection Policy page, the system automatically matches supported protection policies. Select a policy based on your data protection solution.
- When the parallel replication (synchronous and asynchronous) or cascading replication in the DR Star network (synchronous + asynchronous) DR technology is used, select Parallel Replication (Synchronous and Asynchronous):Geo-Redundant DR solution.
- When the cascading replication (synchronous and asynchronous) or parallel replication in the DR Star network (synchronous + asynchronous) DR technology is used, select Cascading Replication (Synchronous and Asynchronous):Geo-Redundant DR solution.
- When the cascading replication (asynchronous and asynchronous) DR technology is used, select Parallel Replication (Asynchronous and Asynchronous):Geo-Redundant DR solution.
- When the parallel replication (asynchronous and asynchronous) DR technology is used, select Cascading Replication (Asynchronous and Asynchronous):Geo-Redundant DR solution.
- When the HyperMetro (SAN) and asynchronous replication (SAN) DR technology is used, select HyperMetro and Array-Based Replication (Asynchronous):Geo-Redundant DR solution.
- If the HyperMetro (SAN) + asynchronous replication (SAN) DR technology is used in the DR Star network, select HyperMetro and Array-Based Replication(DR Star): Disaster Recovery Data Center Solution (Geo-Redundant Mode).
- When the HyperMetro (SAN) and synchronous replication (SAN) DR technology is used, select HyperMetro and Array-Based Replication (Synchronous):Geo-Redundant DR solution.
- If there are suitable protection policies, you can select a protection policy based on your data protection solution and modify the time policy of the protection policy.
- If there is no suitable protection policy, check whether the storage devices used by protected objects have been configured as planned. If the storage devices have not been configured, configure them as planned. After configuration, perform the following operations: On the menu bar, select Resources. Select a node under the management server. In the site node, click Storage, in the line where the storage device resides, click Refresh to refresh the storage device information under the site. Then, recreate the protected group.
- Click Set to set the protection policy for the protected group.
- For the Parallel Replication (Synchronous and Asynchronous):Geo-Redundant DR solution, Cascading Replication (Synchronous and Asynchronous):Geo-Redundant DR solution protection policy, you need to set scheduling policy in synchronous end, set scheduling policy, consistency policy and replication policy in asynchronous end.
- For the Parallel Replication (Asynchronous and Asynchronous):Geo-Redundant DR solution, Cascading Replication (Asynchronous and Asynchronous):Geo-Redundant DR solution protection policy, you need to set scheduling policy, consistency policy and replication policy in two asynchronous end.
- For the HyperMetro and Array-Based Replication (Asynchronous):Geo-Redundant DR solution protection policy, you need to set scheduling policy, consistency policy and replication policy in asynchronous end.
- For the HyperMetro and Array-Based Replication (Synchronous):Geo-Redundant DR solution protection policy, you need to set consistency policy and replication policy in synchronous end.
When a protected object is added to multiple protected groups, ensure that the time policies do not overlap each other. Otherwise, applications cannot be frozen or unfrozen when these time policies are executed.
- Click the Scheduling Policy tab. In the Time Policy area, set the time policy for the protected group. Table 1 lists related parameters.

Table 1 Time policiesTime Policy
|
Description
|
On-demand scheduling
|
Manually starts protection tasks.
|
Period-based scheduling
|
Automatically starts protection tasks based on a period set by the system.
|
- When the Scheduling Policy is set to Period-based scheduling, in the Expected RPO area, if you select Enable PRO Requirement Satisfaction Check, the actual RPO is check against the configured RPO. If the actual RPO exceeds the expected RPO, the system generates an alarm, indicating that the RPO requirement is not satisfied.

Expected RPO can be set to 0-31 days, 0-23 hours, and 5-59 minutes.
If days and hours are not set, the Expected RPO is 15 minutes by default.
- Click Replication Policy tab to set the remote replicate rate between storage arrays. Table 2 lists related parameters.

Table 2 Replication policiesReplication Policy
|
Description
|
Default configuration
|
The remote replication rate is the default one set on the storage array.
|
Manual configuration
|
- Users can set the remote replication rate for each time segment. Configure the automatic remote replication rate of the storage based on the pre-set replication rate of time period.
- Select Manual configuration. Click a time color block to modify the replication rate during a time segment.
|
- Click the Consistency Policy tab and select Quiesce database.
VSS is a framework provided by Microsoft for backing up and recovering applications. For SQL Server, the OceanStor BCManager Agent uses VSS to freeze or unfreeze application I/Os. After I/Os are frozen, the storage device starts replication or generating snapshots. Afterwards, the OceanStor BCManager Agent unfreezes write I/Os.
- Click OK.
- Click Next.
- Set Name and Description of the protected group.
- Name: contains 4 to 32 characters, including letters, digits, underscores (_), and hyphens (-), but cannot start with a hyphen (-).
- Description: contains 0 to 255 characters.
- Optional: If you do not want to manually create a recovery plan for the protected group, select Automatically create a recovery plan after creating protected groups in the lower left corner.
- Click Finish.
- Click OK.
Related Operations
- If the protected objects of a protected group or their used storage devices change. On the menu bar, select Resources. And refresh resources or storage devices where the protected objects reside. Then go to the protected group page and refresh protected objects of the protected group by clicking More > Refresh. After the command for refreshing information is sent, you can view details about the command execution in Background Task.
If a recovery plan has been created for a protected group, you can refresh protected objects only when the recovery plan status is Ready, Clear completed, Rollback completed, or Reprotection completed.
- To ensure that information about protected groups is refreshed successfully, you must refresh information about storage devices and hosts at both the production site and DR site.
Copyright © Huawei Technologies Co., Ltd.