Updated on 2024-10-24 GMT+08:00

Modifying Specifications and AZ/Region

If you need to migrate an ECS to another AZ or region when upgrading the ECS configuration, you can create a full-ECS image on HUAWEI CLOUD for the migration. Figure 1 shows the migration process. This section uses a HANA database ECS as an example.

Figure 1 Full-ECS image backup

Procedure

  1. Stop the HANA database of the source system or shut down the source ECS.
  2. Create a full-ECS image using the ECS. For details, see Creating a Full-ECS Image Using an ECS.
  3. (Optional) If you need to purchase an ECS in another region, copy the newly created full-ECS image to the target region. For example, the original HANA server is an ECS in a CN East region, and you need to migrate it to a CN South region.

    1. Log in to the management console and choose Service List > Computing > Image Management Service.
    2. In the Operation column of the newly created image, click More and choose Replicate.
    3. Set parameters as prompted. For details, see Table 1.
      Table 1 Configuration parameters

      Parameter

      Description

      Example Value

      Replication Mode

      Set this parameter as you need.

      Across Regions

      Name

      Image name

      copy_cn-east-2_hana_002

      Destination Region

      Select the region where you want to use the image.

      CN South-Guangzhou

      Destination Project

      Select a project in the destination region.

      cn-south-1

      IAM Agency

      Select a created IMS agency as needed.

      ims-rep

    4. Click OK and wait until the replication is complete.

  4. Use the full-ECS image to purchase the target ECS. Select the specifications according to your requirements. You can change the disk size when setting disks to adapt to the new specifications. For details, see Purchasing an ECS.
  5. The IP address of the newly purchased ECS may be different from that in the source system. If necessary, update all the use of IP addresses in the source system. In addition, you need to log in to the new system and update the /etc/hosts file and host name information of the new system.

    You can modify the private IP address of an ECS. If the source and target systems are in the same VPC, you need to release the source ECS IP address first and then change the target ECS IP address to the released one. For details, see Modifying a Private IP Address.

  6. (Optional) Adjust the disk capacity after modifying ECS specifications. For details, see Expanding EVS Disk Capacity.
  7. Start the HANA database for verification.
  8. Check the connection between an SAP application and the HANA database and configure SAP HANA HA.