Testing a Recovery Plan

You can test a recovery plan to verify the availability of data replicated to the DR site or snapshots. Test data is generated as snapshots at the DR site without affecting the production site. After the test, you must clear the test environment. Before performing fault recovery or planned migration, you are recommended to perform at least one successful DR test.

Prerequisites

Context

In the DR test, snapshot mappings can be created only in starter mode and port mapping is not supported.

For a FusionSphere VM protected group using host-based replication DR, the VRG must be used by the host to synchronize the data in the production site to the DR site. An unsatisfactory DR state or a VRG process fault may cause snapshot loss.

  • Prevent all the system and service administrators from performing other maintenance operations.
  • Clear the test data after a test; otherwise, you cannot perform the next test.
  • Clear the test data after the test is completed. If the network is disconnected or the UltraVR environment is closed on purpose during the test, some test data may fail to be deleted after the environment is restored and an automatic clearance command is delivered. When this happens, manually clear the data before you run the automatic clearance command.

Procedure

  1. On the menu bar, select Recovery.
  2. Select the recovery plan that you want to test and click Test on the Operation list.

    The Test dialog box is displayed.

  3. Perform either of the following operations based on the protected object type.

    If Huawei multipath software has been installed on the Linux-based DR host, ensure the configured I/O hanging time is not 0 and all virtual devices generated by the software have corresponding physical devices. For more details, see the OceanStor UltraPath for Linux V100R008C00 User Guide.

    1. Select a cluster to be tested.

      VMs will be recovered in the test cluster. Set Test Site.

      Upon the first test network selection, you need to set the test cluster information.

    2. Select the test network.

      The network used for resource mapping is used for the test by default. You may choose another network based on the onsite conditions.

    3. Optional: Select an available powered-on host.

      The available powered-on host can provide resources for VMs.

    4. Optional: Select non-critical VMs.

      In the Available VMs list, select non-critical VMs you want to stop to release computing resources.

      If the non-essential VM fails to be stopped, manually stop the VM on the FusionCompute management portal.

    5. Click Test.
    6. In the Warning dialog box that is displayed, read the content of the dialog box carefully and select I have read and understood the consequences associated with performing this operation.
    7. Click OK.

Result

After the test starts, you can view the execution process and result. Clear failed recovery plans. If the test is failed, you can solve the problem and execute the test again after clearing the test data.


Copyright © Huawei Technologies Co., Ltd.