DR Test in the DR Center

This section describes how to test data in the DR center. DR tests are implemented using snapshot mappings at the DR site to verify the availability of data or snapshots replicated to the DR center. The test process has no adverse impact on the production site. After a test is complete, the test data generated at the recovery site needs to be cleared and resources need to be restored to the status before the test to facilitate subsequent planned migration or fault recovery.

Prerequisites

Context

The DR test is a major operation. During the DR test, pay attention to the following points:

  • Before the test, ensure that the test cluster has been successfully installed and the database user is the same as that of the DR cluster.
  • During the DR test, system and service administrators are not allowed to perform any maintenance operation.
  • Test data must be cleared before the next DR test.
  • After a test is complete, clear the test data as soon as possible. If the environment is recovered after a network failure or eReplication environment shutdown during the test, it is possible that some data cannot be deleted. In this case, you must manually clear the test data, then perform clearing again.

Procedure

  1. Log in to eReplication in the DR center.
  2. Test a recovery plan.

    1. On the menu bar, select Utilization > Data Restore.
    2. Select the recovery plan to be tested, and then choose More > Test in the Operation area.
    3. Select DR Site.
    4. Select Available DR Hosts or Host Groups.

      For flash storage, automatic host adding and storage mapping are provided. Ensure that the storage is connected properly to host initiators. In this manner, the system can automatically create hosts, host groups, LUN groups, and mapping views on the storage. The creation principles are as follows:

      1. Click OK.
      2. Carefully read the contents of the Warning dialog box. Then click the check box next to the statement I have read and understand the consequences associated with performing this operation to confirm the information.
      3. Click OK.

      If Huawei UltraPath has been installed on the Kylin-based DR host, ensure that I/O suspension time is not 0, and virtual devices generated by UltraPath have corresponding physical devices. For details, see the OceanStor UltraPath for Linux xxx User Guide of the corresponding version.

  3. Verify that applications can be started and data read and write operations can be performed. If an application fails to be started or data read and write operations fails to be performed, contact Huawei technical support engineers.
  4. Clear the test data at the DR site and restore the resources to the status before the test to facilitate subsequent planned migration or fault recovery.

    If information about storage devices or hosts is modified at either the production or DR site, manually refresh the information. For details about the change items and operations, see Refreshing Resources Related to a Protected Group.

    1. Select the recovery plan whose data needs to be cleared, and choose More > Clear in the Operation area.
    2. Click OK.


Copyright © Huawei Technologies Co., Ltd.