If the production center encounters anticipated risks (such as power outage and routine O&M), you can perform planned migration on a specified recovery plan. The entire process is automatic without manual intervention. The DR site automatically takes over services. After the planned migration is complete, you can perform reprotection on the recovery plan to reversely protect services taken over by the DR center.
Prerequisites
- The production and DR centers communicate with each other properly. The management system and the DR environment in the DR center are working normally.
- Recovery plans for services to be migrated have been created on eReplication and succeed in at least one test.
If no DR test is performed before the planned migration, the migration has a higher rate to fail. A migration failure will interrupt DR services. For this reason, at least one recovery plan test must be executed successfully before the planned migration.
Context
You are advised to configure application-based protection policies to support planned migration by one click.
Procedure
- Perform the planned migration to migrate services from the production center to the DR center.
- On the menu bar, select Utilization > Data Restore.
- Select the recovery plan used to perform planned migration, and choose More > Planned Migration in the Operation area.
- Perform a planned migration. Perform the following steps:
- Select DR Site.
- Choose Host (Group) > Available DR Hosts or Host Groups.
- Click Planned Migration.
- 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.
- Click OK.
- After the migration is complete, verify that applications are started and data is consistent in the DR center.
- If the application startup or data consistency is abnormal, contact Huawei technical support.
- You can check data consistency by viewing the last entry of data written to the production and DR centers. If the last entry of data written to the production and DR centers is the same, the data consistency is ensured.
- Check the environment before starting the reprotection.
openGauss cluster: Ensure that the underlying storage link is normal.
- Perform reprotection to protect services switched to the DR center.
After the planned migration is complete, the application system is working in the DR center and protected groups become Invalid. You must perform reprotection to recover the replication status and synchronize the data from the DR center to the production center. Then, the original DR center becomes the new production center.
To ensure that the protection and recovery configurations before reprotection do not affect the running of the protected group and recovery plan after reprotection, the system automatically clears the protection and recovery configurations after reprotection. After reprotection, you need to reconfigure the protection and recovery policies to ensure normal running of DR services.
- On the menu bar, select Utilization > Data Restore.
- Select the recovery plan for which you want to perform reprotection. In the Operation area, choose More > Reprotection.
- In the displayed Warning dialog box, read the content of the dialog box carefully and click OK.
Operation Result
After the reprotection is complete, the protected group becomes normal.
Copyright © Huawei Technologies Co., Ltd.