If data or applications in the production center become unavailable due to disasters or faults, you must 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 eReplication in the DR center.
Prerequisites
- Application-based protection policies and recovery plans have been configured for database applications and FusionSphere deployed on physical machines.
- LUN-based protection policies and recovery plans have been configured for other applications.
- For protected groups that use asynchronous remote replication, the DR center has at least one copy of intact service data.
In the Oracle application, the cluster is not stoppd by default. To stop the cluster, you need to open the configuration for stopping the cluster and then perform the next step. For details about how to stop the cluster, see 4.2 Stopping the Oracle Cluster.
Context
Data replication is in the split state due to the disaster in the HyperMetro data center. In the DR center, the DR LUN is switched to the readable and writable state and mapped to the DR host, and data synchronization stops. In this way, the DR data can be used to recover services as soon as possible.
- If data replication is in the synchronizing state when a disaster occurs, the data at the DR site is switched to the readable and writable state, and the DR LUN rolls back to the data consistency state before the replication starts.
- If data replication is complete when a disaster occurs, the status of the DR LUN switches the data to the readable and writable state and maps the data to the DR host.
Figure 1 shows the fault recovery process.
Figure 1 Fault recovery
Procedure
- 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 xxx User Guide.
- On the menu bar, choose
Utilization > Data Restore. - Select the recovery plan to be recovered and click More > Fault Recovery on the Operation list.
- Configure the information about the DR end and perform fault recovery.
- Select a DR site.
- Select a DR host or host group.
- Click Fault Recovery.
- 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.Click OK.
- In the DR 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.
Note the following when checking the startup status of applications.
- If the protection policies are based on applications, check whether the applications are started successfully and data can be read and written correctly.
- If the protection policies are based on LUNs, you need to log in to the application host in the disaster recovery center, scan for disks, and start applications. Then check whether the applications are started successfully and data can be read and written correctly.
You can use self-developed scripts to scan for disks, start applications, and test applications.
Copyright © Huawei Technologies Co., Ltd.