Services are migrated from the production center to the DR center due to a recoverable fault such as an unexpected power failure. After the production center recovers from the fault, you must synchronize data generated during the fault recovery period from the DR center to the production center and switch services back to the production center.
Ensure that the applications in the production center have been stopped before uninstalling disks.
The purposes of uninstalling disks are to prevent application hosts from writing data into the disks in the service recovery process and to enable eReplication to report an error when disks are automatically mounted in the DR process.
Data needs to be copied from the DR center to the production center to complete the initial data synchronization.
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.
Before the services are switched back, you need to perform a DR test to verify the data availability to ensure that services can be successfully switched back. After the test, you must clear the test data to avoid switchback failure caused by test data. For details, see DR Testing in the DR Center.
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 2 to 4 in Planned Migration of Services in the Production Center.
Before miagrating the protected groups in the SAP HANA cluster back, perform the following operations:
sid indicates the SAP HANA System ID set when the user creates the database. The letter in the value is lowercase. In the following example, the value of sid is DB1.
The following command output is displayed:
suse-hana:/ # su - db1adm suse-hana:/usr/sap/DB1/HDB01>
In the preceding command, xx indicates the instance ID, and yyy indicates the instance name. Change them based on the site requirements.
The following command output is displayed:
suse-hana:/usr/sap/DB1/HDB01> hdbsql -i 01 -n localhost:30115 -u system -p Password -d DB1 Welcome to the SAP HANA Database interactive terminal. Type: \h for help with commands \q to quit hdbsql DB1=>
Copy data from the production center to the DR center to recover the protected group status.