Homogeneous Migration
HUAWEI CLOUD ECSs and BMSs can run the ASE database. You have many optional methods to migrate the offline database to HUAWEI CLOUD.
Homogeneous migration refers to the migration where the source server OS is same as the target OS (versions can be different), and the ASE database version and patch do not change.
You can select a homogeneous migration solution as needed. Table 1 describes the optional schemes.
Solution |
Description |
---|---|
Database backup and restoration |
The operation is simple, but the service downtime is long.
NOTE:
The downtime includes the time for offline backup, backup uploading, and restoration. |
Using HADR for migration |
The service downtime is minimized, but the configuration is complex. The administrator must be familiar with the ASE database. |
HUAWEI CLOUD Server Migration Service |
SMS supports batch migration and does not require ASE database administrators. However, the downtime of this scheme is long, which is mainly for incremental data synchronization. |
Solution 1: Database backup and restoration
The procedure for backing up and restoring the database is as follows:
- On HUAWEI CLOUD, plan the subnet for the target end, configure security group policies, and build a target system that has the same OS, database, and application servers as the source system.
- Stop the services on the source system and back up the ASE database offline.
- Copy the database backup files from the source system to the file system in the target system. You can use OBS to transfer the files. Upload the files to Huawei Cloud OBS using obsutil and then download the file to the target server.
- Import the uploaded backup file to the target database.
- Verify data integrity and switch the database services to the target system.
Solution 2: Using HADR for migration
Figure 1 shows the HADR migration scheme.
The procedure is as follows:
- On HUAWEI CLOUD, create the a subnet, configure security group policies, and build a target system that has the same OS, database, and application servers as the source system.
- Configure the data replication from the source system to the target system. For details, see SAP HADR Users Guide.
- After the synchronization is complete, stop services in the source system and switch them to the target system.
Solution 3: HUAWEI CLOUD Server Migration Service
Perform the following steps to use HUAWEI CLOUD Server Migration Service:
- On HUAWEI CLOUD, plan the subnet for the target end, configure security group policies, and build a target system that has the same OS, database, and application servers as the source system.
- Prepare for the migration. Install the migration Agent on the source server, enable the ports required for migration, and provide user information used for migration.
- Migrate the database server. Use the Server Migration Tool to migrate the ECSs. You do not need to stop the services on the source server.
- Synchronize incremental data and switch the services. Synchronize incremental data to the target ECS and switch services to the target system after the synchronization.
- Monitor the target system for about one week to check if the target system is running properly. After the verification, release source system resources.
For details, see Server Migration Service User Guide.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot