Service Migration in the Production Center After Fault Recovery

If data or applications in the production center become unavailable due to disasters or faults, quickly recover the data or applications from the DR center. Before a fault recovery, at least one recovery plan test must be executed successfully. This operation can be performed only on UltraVR in the DR center.

Prerequisites

Context

If data or applications become unavailable due to disasters or faults in the production center, services will be quickly switched to and started in the DR center. After the production center recovers, the services will be switched back to it by performing planned migration.

Procedure

  1. Perform pre-recovery configurations.

    • Without configuration, the VM IP address for fault recovery is the same as that in the production center. You can change it for the planned VM migration on the Protected Object tab page of the recovery policy. For details, see Self-defining Startup Parameters for a Protected Object.
    • After adding or removing disks for a protected VM, refresh the information about the VM and manually enable DR for the protected group where the VM resides in time.
    • Before reprotection, refresh storage resources and FusionCompute resources at the production and DR ends.

  2. Perform a fault recovery.

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

    1. On the menu bar, select Recovery.
    2. Select the recovery plan to be recovered and click More > Fault Recovery on the Operation list.
    3. 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.

      For protected groups of FusionCompute VMs that use host-based replication for DR, you can recover data using the latest data or snapshots.

      • Latest data: The system uses service backup data backed up to the DR center before the disaster for recovery and starts services in the DR center.
      • Latest snapshots: Before a manual or automatic protected group execution, the system automatically creates a snapshot for placeholder VMs of the DR site. If you choose this mode for fault recovery, the system will use the latest snapshot of the placeholder VMs to register and start VMs.
    4. Click OK.

  3. In the production center, check the application startup status.

    After the fault recovery is complete, check whether the applications and data are normal. If an application or data encounters an exception, contact Huawei technical support.

  4. Check the environment before starting reprotection.

    • FusionCompute, FusionManager, storage devices, and VRGs at the production site are in the normal state, and the production site and DR site communicate with each other correctly.
    • After adding or removing disks for a protected VM, refresh the information about the VM and manually enable DR for the protected group where the VM resides in time.

  5. Perform reprotection to protect services switched to the DR center.

    After the planned migration is complete, the application system is working at the DR site and protected groups become Invalid. You must perform reprotection to recover the replication status and synchronize the data from the DR site to the production site. Then, the original DR center becomes the new production center.

    To ensure the normal running of protected groups and recovery plans after reprotection, the system automatically clears protected and recovered configurations, including startup configurations of protection policies and recovery plans, self-defined execution scripts, and self-defined execution steps. In addition, re-configuration of protection and recovery policies is recommended to ensure the continuity of DR services.

    1. On the menu bar, select Recovery.
    2. Select the recovery plan and click More > Reprotection on the Operation list.
    3. Carefully read the content of the Confirm dialog box that is displayed and click OK to confirm the information.

    If Save user configuration data is selected, self-defined protection policies and recovery settings, such as self-defined recovery steps, will be retained. Ensure that the configuration data has no adverse impact on service running after reprotection.


Copyright © Huawei Technologies Co., Ltd.