Help Center> Server Migration Service> FAQ> Migration Network> How Do I Set Up a Secure Migration Network for Using SMS?

How Do I Set Up a Secure Migration Network for Using SMS?

Scenarios

You need to install the Agent on the source server to be migrated. During the migration, the source server needs to communicate with SMS and the target server.

Figure 1 SMS networking

Connecting Source Servers to HUAWEI CLOUD API Gateway

  • The SMS-Agent depends on the following HUAWEI CLOUD services: IAM, ECS, EVS, IMS, VPC, SMS, OBS, and DNS. During the migration, ensure that the Agent on the source server can call the APIs of these services of the region where you migrate to.
    • IAM and SMS are global-level services. The Agent should have access to their URLs iam.myhuaweicloud.com and sms.ap-southeast-1.myhuaweicloud.com.
    • ECS, EVS, IMS, VPC, and DNS are region-level services. The Agent should have access to their URLs of the region where you migrate to. For more information, see Endpoints.
    • The Agent should have access to OBS URLs obs.cn-north-1.myhuaweicloud.com and obs.target region.myhuaweicloud.com.

      Table 1 lists the endpoints of dependent services when you migrate to region CN South-Guangzhou.

      Table 1 Addresses of dependent services and buckets

      Service/Bucket Address

      Endpoint

      Remarks

      IAM

      iam.myhuaweicloud.com

      Global-level services

      SMS

      sms.ap-southeast-1.myhuaweicloud.com

      OBS

      obs.cn-north-1.myhuaweicloud.com

      ECS

      ecs.cn-south-1.myhuaweicloud.com

      Region-level services

      EVS

      evs.cn-south-1.myhuaweicloud.com

      VPC

      vpc.cn-south-1.myhuaweicloud.com

      IMS

      ims.cn-south-1.myhuaweicloud.com

      OBS

      obs.cn-south-1.myhuaweicloud.com

      DNS

      dns.cn-south-1.myhuaweicloud.com

      agent.bucket.endpoint

      sms-agent-2-0.obs.ap-southeast-1.myhuaweicloud.com

      Bucket addresses

      agent.conf.bucket.endpoint

      sms-agent-config-inter.obs.ap-southeast-1.myhuaweicloud.com

      The addresses of dependent OBS buckets are sms-agent-2-0.obs.ap-southeast-1.myhuaweicloud.com and sms-agent-config-inter.obs.ap-southeast-1.myhuaweicloud.com by default. The URLs of other dependent services depend on the region where you migrate to.

      SMS uses domain names such as bbs.huaweicloud.com, support.huaweicloud.com, and console.huaweicloud.com to provide migration and consulting services.

  • If the DNS server addresses are not configured on the source server, you need to configure mapping between each endpoint and their IP address in the local hosts file (C:\Windows\System32\drivers\etc\hosts for Windows and /etc/hosts for Linux).
    The IP addresses can be obtained using ping endpoint, as shown in Figure 2.
    Figure 2 Pinging an IP address

Connecting Source Servers to Target Servers

  • If you want to migrate over the Internet, you need to purchase and configure an EIP for a target server in advance.
  • If you want to migrate over Direct Connect or VPN, you need to purchase and configure Direct Connect or VPN connections in advance.

Required Ports to Open on Target Servers

  • Open the required inbound ports in the security group of target servers.
    • Windows: ports 8899, 8900, and 22
    • Linux: ports 8900 and 22

    For details, see How Do I Configure Security Group Rules for Target Servers?

  • If a network ACL is configured for a target server and is associated with the subnet where the target server is located, open the required inbound ports in the network ACL.