Migrating Services Back to the Production Center

If a fault occurs in the Production center, the fault can be rectified and cannot be rectified based on the original configuration. The corresponding DR switchback operations are different.

Prerequisites

Procedure

  1. Log in to the service system in the original production center and check the service startup conditions.

    Ensure that the applications in the production center have been stopped and prepare for disk uninstallation.

    In scenarios where databases are deployed, you must manually close the applications in the production center.

  2. Uninstall disks on application hosts.
  3. Perform an active/standby switchover.

    Log in to the storage array in the DR center and perform an active/standby switchover on the remote replication or consistency group that is in split status.

  4. Enable write protection of the secondary resource.

    After the function is enabled, data cannot be written into the secondary LUN, ensuring data security of the secondary LUN.

    1. Log in to the storage management page in the production center and select the remote replication pairs whose secondary resource you want to protect on the remote replication management page.
    2. Click Properties, choose More > Enable Secondary Resource Protection and change the value of Status of Secondary Resource Protection to Read-only.

  5. Refresh the resources that are registered in eReplication.

    On the Resource page, select the device to be refreshed, and click Refresh in the Operation column to refresh the device information. Table 1 describes the mapping relationship between protected objects and devices to be refreshed.

    Table 1 Mapping relationship between protected objects and devices to be refreshed

    Protected Object

    Device to Be Refreshed

    Oracle, DB2, SQL Server, or SAP HANA database

    Hosts where databases reside and storage devices related to databases

    VMware VM

    Storage devices associated with VMs.

    LUN

    Storage devices where LUNs reside

  6. Perform reprotection.

    Copy data from the DR center to the production center to complete the initial data synchronization.

    1. In the navigation tree, click Utilization > Data Restore.
    2. Select the recovery plan and choose More > Reprotection in the Operation area.
    3. In the dialog box that is displayed, carefully read the content and click OK to confirm the information.

    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. The protection polci will be changed to On-demand scheduling. In addition, reconfiguration of protection and recovery policies is recommended to ensure the continuity of DR services.

  7. Test the recovery plan and clear the test data on eReplication. During the testing, select a host or host group in the production center if necessary.

    Before the services are switched back, you need to perform a DR test to verify the data availability to ensure success rate of service failback. After the test is complete, clear the test data generated from the DR test to prevent the test data from adversely affecting the service migration switchback rate. For details, see DR Test/Clearance.

  8. Refresh protected groups.

    Because eReplication's adjustment to the storage replication relationship remains unknown, protected groups are in Invalid status. You need to manually refresh them.

  9. On eReplication, perform a planned migration.

    This step aims to switch services back to the production center from the DR center. After migration, data must be checked and test data must be cleared. For details, see 1 to 3 in Performing Planned Service Migration in a Production Center.

  10. On eReplication, perform reprotection again.

    Copy data from the production center to the DR center to recover the protected group status.


Copyright © Huawei Technologies Co., Ltd.