Verifying the Configuration
After a remote replication pair or consistency group is configured, you can view the status of the data on the primary and secondary storage systems to check whether data replication between the primary and secondary LUNs is successful.
Remote Replication Pair
- The primary and secondary storage systems are correctly connected to the application server.
- Initial synchronization of the remote replication task has been completed.
- Map the primary and secondary LUNs to the host.
- Log in to DeviceManager. Choose Services > Block Service > LUN Groups. Click Create to create LUN groups and add the primary and secondary LUNs of the remote replication pair to corresponding LUN groups.
- Select the LUN groups to which the primary and secondary LUNs belong and click Map. On the Map LUN Group page, select the host or host group corresponding to the application server and click OK.
To check on a standby server whether data replication succeeds, you need to mount the secondary LUN to the standby server. To mount the secondary LUN, split the HyperReplication pair first. Then click More and select Disable Protection for Secondary Resource to mount the secondary LUN.
- Check whether data replication succeeded.
- Log in to the application server at the primary site and create file X.txt in the primary LUN. When Pair Running Status is Normal, go to the next step.
- Optional: Log in to DeviceManager at the primary site, choose Data Protection > Objects > LUNs > Remote Replication Pairs. Click the remote replication pair you want to synchronize and click Synchronize.
In synchronous remote replication, you do not need to perform synchronization upon startup.
- Log in to the standby server at the secondary site to check whether data file X.txt exists in the secondary LUN.
- If yes, data replication succeeded.
- If no, repeat the operation in 2.b.
- Check whether a primary/secondary switchover can be performed at the secondary site.
- Log in to DeviceManager at the secondary site. Choose Data Protection > Protection Entities > LUNs > Remote Replication Pair and perform the following operations:
- Optional: Select the remote replication pair that you want to split and click Split.
In synchronous remote replication, if a remote replication pair is in normal status, you do not need to split the remote replication pair.
- Click More in the same line of the remote replication pair and select Disable Protection for Secondary Resource to set the secondary LUN to readable and writable.
- Click More in the same line of the remote replication pair and select Primary/Secondary Switchover to set the secondary LUN to the primary LUN.
- Optional: Select the remote replication pair that you want to split and click Split.
- Log in to the standby server at the secondary site and create file Y.txt in the new primary LUN. Check whether the primary LUN is readable and writable.
- If yes, a primary/secondary switchover can be performed at the secondary site.
- If no, a primary/secondary switchover cannot be performed at the secondary site. Check whether an alarm about remote replication exists in DeviceManager at the primary and secondary sites.
- If yes, solve the fault based on the alarm information and repeat the previous operations.
- If no, contact Huawei technical support.
- Log in to DeviceManager at the secondary site. Choose Data Protection > Protection Entities > LUNs > Remote Replication Pair and perform the following operations:
- Check whether data can be recovered.
- Log in to DeviceManager at the secondary site, choose Data Protection > Protection Entities > LUNs > Remote Replication Pair, and perform the following operations:
- Select the remote replication pair for which you want to enable protection for the secondary resource. Click More in the same line of the remote replication pair and select Disable Protection for Secondary Resource to set the secondary LUN to readable and writable.
- Click More in the same line of the remote replication pair and select Synchronize.
- After the synchronization is complete, log in to the application server at the primary site to check whether file Y.txt exists in the secondary LUN (after the primary/secondary switchover).
- If yes, data can be recovered.
- If no, data cannot be recovered. Check whether an alarm about remote replication exists in DeviceManager at the primary and secondary sites.
- If yes, solve the fault based on the alarm information and repeat the previous operations.
- If no, contact Huawei technical support.
- Switch services back to the primary site after the verification. Log in to DeviceManager at the primary site, choose Data Protection > Protection Entities > LUNs > Remote Replication Pair, and perform the following operations:
- Select the remote replication pair that you want to split and click Split.
- Click More in the same line of the remote replication pair and select Disable Protection for Secondary Resource to set the secondary LUN to readable and writable.
- Click Primary/Secondary Switchover to set the secondary LUN to the primary LUN.
- Click More in the same line of the remote replication pair and select Enable Protection for Secondary Resource to set the secondary LUN to read-only.
- Click Synchronize.
- Log in to DeviceManager at the secondary site, choose Data Protection > Protection Entities > LUNs > Remote Replication Pair, and perform the following operations:
Remote Replication Consistency Group
- The primary and secondary storage systems are correctly connected to the application server.
- Initial synchronization for the consistency group is complete.
- Remote replication pairs have been created and added to the consistency group.
After remote replication pairs are added to a consistency group, you can only perform operations on the consistency group and cannot perform operations on the pairs in the consistency group.
- Map all the primary and secondary LUNs in the consistency group to the host.
- Log in to DeviceManager. Choose Services > Block Service > LUN Groups. Click Create to create LUN groups and add the primary and secondary LUNs of the remote replication pair to corresponding LUN groups.
- Select the LUN groups to which the primary and secondary LUNs belong and click Map. On the Map LUN Group page, select the host or host group corresponding to the application server and click OK.
To check on a standby server whether data replication succeeds, you need to mount the secondary LUN to the standby server. To mount the secondary LUN, split the HyperReplication pair first. Then click More and select Disable Protection for Secondary Resource to mount the secondary LUN.
- Check whether data replication succeeded.
- Log in to the application server at the primary site and create file X1.txt on all primary LUNs of the consistency group. When Running Status of the consistency group is Normal, go to the next step.
- Optional: Log in to DeviceManager at the primary site, choose Data Protection > Protection Entities > Protection Groups > Remote Replication Pairs. Click the remote replication consistency group you want to synchronize and click Synchronize.
In synchronous remote replication, you do not need to perform synchronization upon startup.
- Log in to the standby server at the secondary site to check whether data file X1.txt exists in the secondary LUNs of the consistency group.
- If yes, data replication succeeded.
- If no, log in to DeviceManager at the primary site, repeat the operation in 2.b.
- Check whether a primary/secondary switchover can be performed at the secondary site.
- Log in to DeviceManager at the secondary site. Choose Data Protection > Protection Entities > Protection Groups > Remote Replication CGs and perform the following operations:
- Optional: Select the remote replication consistency group you want to split and click Split.
In synchronous remote replication, if a remote replication CG is in normal status, you do not need to split the remote replication CG.
- Click More in the same line of the remote replication consistency group and select Disable Protection for Secondary Resource to set all secondary LUNs of the remote replication pairs in the consistency group to readable and writable.
- Click More in the same line of the remote replication consistency group and select Primary/Secondary Switchover to set all secondary LUNs of the remote replication pairs in the consistency group to primary LUNs.
- Optional: Select the remote replication consistency group you want to split and click Split.
- Log in to the standby server at the secondary site and create file Y1.txt in the new primary LUNs in the consistency group. Check whether the primary LUNs are readable and writable.
- If yes, a primary/secondary switchover can be performed at the secondary site.
- If no, a primary/secondary switchover cannot be performed at the secondary site. Check whether an alarm about remote replication exists in DeviceManager at the primary and secondary sites.
- If yes, solve the fault based on the alarm information and repeat the previous operations.
- If no, contact Huawei technical support.
- Log in to DeviceManager at the secondary site. Choose Data Protection > Protection Entities > Protection Groups > Remote Replication CGs and perform the following operations:
- Check whether data can be recovered.
- Log in to DeviceManager at the secondary site, choose Data Protection > Protection Entities > Protection Groups > Remote Replication CGs, and perform the following operations:
- Select the remote replication consistency group for which you want to enable protection for the secondary resource. Click More in the same line of the remote replication consistency group and select Disable Protection for Secondary Resource to set all secondary LUNs of the remote replication pairs in the consistency group to readable and writable.
- Click More in the same line of the remote replication consistency group and select Synchronize.
- After the synchronization is complete, log in to the application server at the primary site to check whether file Y1.txt exists in the secondary LUNs (after the primary/secondary switchover).
- If yes, data can be recovered.
- If no, data cannot be recovered. Check whether an alarm about remote replication exists in DeviceManager at the primary and secondary sites.
- If yes, solve the fault based on the alarm information and repeat the previous operations.
- If no, contact Huawei technical support.
- Switch services back to the primary site after the verification. Log in to DeviceManager at the primary site, choose Data Protection > Protection Entities > Protection Groups > Remote Replication CGs, and perform the following operations:
- Select the remote replication consistency group you want to split and click Split.
- Click More in the same line of the remote replication consistency group and select Disable Protection for Secondary Resource to set all secondary LUNs of the remote replication pairs in the consistency group to readable and writable.
- Click Primary/Secondary Switchover to set all secondary LUNs of the remote replication pairs in the consistency group to primary LUNs.
- Click More in the same line of the remote replication consistency group and select Enable Protection for Secondary Resource to set all secondary LUNs of the remote replication pairs in the consistency group to read-only.
- Click Synchronize.
- Log in to DeviceManager at the secondary site, choose Data Protection > Protection Entities > Protection Groups > Remote Replication CGs, and perform the following operations: