All Products
Search
Document Center

Server Migration Center:Import the information about a migration source by using the SMC console

Last Updated:Feb 08, 2024

The Server Migration Center (SMC) console allows you to import the information about a migration source in a visualized manner with ease. This topic describes how to import the information about a migration source by using the SMC console.

Prerequisites

If you want to import the information about a migration source as a Resource Access Management (RAM) user, make sure that the following permissions are granted to the RAM user:

  • The AliyunRAMReadOnlyAccess permission is granted to the RAM user. For more information, see Grant permissions to a RAM user.

  • The AliyunCloudShellFullAccess permission is granted to the RAM user if the migration source is not an Elastic Compute Service (ECS) instance. For more information, see Authorize RAM users.

  • The AliyunECSAssistantFullAccess permission is granted to the RAM user if the migration source is an ECS instance. For more information, see the "Permissions" section of the RAM overview topic.

Usage notes

  • If the migration source is a physical server, a VM, or a third-party cloud server, the migration source must support Internet access.

  • If the migration source is an ECS instance, Cloud Assistant Agent must be installed on the instance. For more information, see Install Cloud Assistant Agent.

    Note

    By default, Cloud Assistant Agent is pre-installed on ECS instances that are created from public images after December 1, 2017.

Working mechanism

Migration sources can be servers in data centers, VMs, hosts on other cloud platforms, or servers of other types.

The following information describes how to automatically import the information about a migration source by using the SMC console:

Import the information about a migration source that is not an ECS instance

dadas

  1. In the SMC console, configure the parameters related to the public IP address, port, username, and password of the source server.

  2. Cloud Shell is started in the SMC console. For more information about Cloud Shell, see What is Cloud Shell?

  3. The parameters that you configure are passed into Cloud Shell. Cloud Shell connects to the source server and executes the script for importing the information about the source server. During this process, the package of the SMC client is downloaded and decompressed. Then, the SMC client is run on the source server.

    Note

    The SMC client is a server migration tool developed by Alibaba Cloud.

  4. After you import the information about a migration source, you can view the import result on the Migration Sources page in the SMC console.

Important
  • During the import process, SMC does not store the username or password that you enter. SMC directly passes your username and password into Cloud Shell to connect to the source server and execute the import script.

  • Make sure that the public IP address, username, and password that you enter are valid. Otherwise, the information about the migration source fails to be imported.

Import the information about an ECS instance

adsdd55

  1. In the SMC console, specify the ECS instance whose information you want to import to SMC.

  2. SMC starts Cloud Assistant to execute the import script. During this process, the package of the SMC client is downloaded and decompressed. Then, the SMC client is run on the ECS instance.

    Note

    The SMC client is a server migration tool developed by Alibaba Cloud.

  3. After you import the information about a migration source, you can view the import result on the Migration Sources page in the SMC console.

Procedure

Important

If your migration source is not supported by this import method, you can import the information about the migration source by using the CLI. For more information, see Import the information about a migration source by using the CLI.

  1. Log on to the SMC console.

  2. In the left-side navigation pane, click Migration Sources.

  3. On the Migration Sources page, click Import Migration source.

  4. On the Import Migration source page, configure the parameters based on the type of your migration source.

    Import the information about a migration source that is not an ECS instance

    Parameter

    Description

    Migration Source Type

    The type of the migration source. Valid values:

    • Physical Machine/VM/Cloud Server

    • TencentCloud Lighthouse

    • AWS Lightsail Instances

    • HUAWEI CLOUD HECS

    Import Method

    The method that is used to import the information about the migration source. Select Import through Console.

    Migration Source Name

    The name of the migration source. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).

    OS Type

    The type of the operating system. Select Linux or Windows based on your operating system type.

    Important

    If you select Windows as the operating system, you must install OpenSSH. For more information, see the How do I install OpenSSH on a Windows server? section of the "FAQ" topic.

    IP Address

    The IPv4 address that is used to access the migration source over the Internet. Example: 120.55.XX.XX.

    Port

    The SSH port number of the migration source. Valid values: 1 to 65535. Default value: 22.

    Username

    The username that is used to log on to the operating system of the migration source.

    • Linux: The default username is root.

    • Windows: The default username is Administrator.

    Password

    The password that is used to log on to the operating system of the migration source.

    Import the information about an ECS instance

    Parameter

    Description

    Migration Source Type

    The type of the migration source. Select ECS. By default, Install SMC Client is selected.

    Important

    The SMC client allows you to migrate servers or operating systems, migrate ECS instances across zones, or migrate your source server to Alibaba Cloud WUYING Workspace. If the SMC client is not installed, you can only migrate ECS instances across zones.

    Import Method

    The method that is used to import the information about the migration source. Select Import through Console.

    Region

    The region in which the source ECS instance resides.

    Instance

    The ECS instance whose information you want to import to SMC. You can select multiple ECS instances to import the information about the ECS instances at a time.

    You can enter the instance ID, instance name, private IP address, public IP address, or elastic IP address (EIP) in the search box to search for an ECS instance.

  5. After you configure the parameters, click Import.

    The import process takes about 3 to 10 minutes. Wait until the import is complete.

    • You can view the import status on the Migration Sources page. If the value in the Migration Source Status column changes from Importing to Online for a migration source, the information about the migration source is imported.

      image..png

    • If the value in the Migration Source Status column is Import Failed for a migration source, you can click the adad56 icon to view the error message, troubleshoot the error based on the error message, and then import the information about the migration source again. If the information about the migration source fails to be imported or an error occurs during the migration, you can check the log files in the directory of the SMC client for more information. By default, the SMC client is installed in the following directory:

      • Windows: C:\smc

      • Linux: /smc

    Important
    • The information about ECS instances whose information has been imported to SMC cannot be imported again. If you select one or more ECS instances whose information has been imported to SMC, a message appears to notify you.

    • If the migration source is a physical server, a VM, or a third-party cloud server, do not exit or refresh the browser during the import.

What to do next

After the information about a migration source is imported, you can create and start a migration job. You can refer to one of the following topics to create a migration job based on your business requirements: