Updated on 2023-05-29 GMT+08:00

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.

Table 1 Migration solutions

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:

  1. 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.
  2. Stop the services on the source system and back up the ASE database offline.
  3. 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.
  4. Import the uploaded backup file to the target database.
  5. 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.

Figure 1 Using HADR for migration

The procedure is as follows:

  1. 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.
  2. Configure the data replication from the source system to the target system. For details, see SAP HADR Users Guide.
  3. 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:

  1. 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.
  2. 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.
  3. 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.
  4. Synchronize incremental data and switch the services. Synchronize incremental data to the target ECS and switch services to the target system after the synchronization.
  5. 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.