To implement DR testing, you can migrate services from an active-active data center to the remote DR center based on recovery plans.
Procedure
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 xxx User Guide.
VMs will be recovered to the recovery cluster. Select DR Site, DR vCenter, and DR Cluster.
Upon the first network recovery, you need to set the cluster information.
The recovery network is used to access recovered VMs.
After the planned migration is complete, check whether the applications and data are normal. If an application or data encounters an exception, contact Huawei technical support.
You can use self-developed scripts to scan for disks, start applications, and test applications.
If storage array-based remote replication DR is used, snapshots are created automatically on the storage array at the DR site to back up DR data during the planned migration. If snapshots are not automatically deleted after the planned migration is complete, manually delete them to release storage space.
A snapshot name is a string of 31 characters named in the following format: DRdata_LUNID_YYYYMMDDHHMMSS_BAK, where YYYYMMDDHHMMSS is the backup time and LUNID may be the snapshot ID (a number ranging from 1 to 65535). This naming format enables you to quickly find the snapshots that you want to delete from the storage array at the DR site.
Ensure that underlying storage links, remote replication pairs, and consistency groups have been recovered.
After the planned migration is complete, the service system is working in the remote DR center and protected groups become Invalid. You must perform reprotection to recover the replication relationship between the remote DR center and the HyperMetro data center and synchronize data from the remote DR center to the HyperMetro data 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.
If the protected objects are VMware VMs and services are recovered through a planned migration, perform the following steps to clear redundant and incorrect data in the virtualization environment before and after the reprotection.
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.
Figure 3 shows the state of data replication between storage arrays after the reprotection.