You can use the Excel template in Server Migration Center (SMC) to configure multiple migration tasks, and then import the migration tasks into the SMC console.

Prerequisites

Before you import multiple migration tasks, make sure that the migration sources meet the following conditions:

Procedure

  1. Log on to the SMC console.
  2. In the left-side navigation pane, click Migration Tasks.
  3. On the Migration Tasks page, click Import Migration.
  4. In the dialog box that appears, click Download Template.
    Download the Excel template to your local disk.download template
  5. Configure migration tasks.
    1. Open the downloaded Excel template.
    2. Configure migration tasks. The following table describes the parameters of each migration task.
      Parameter Type Required Description
      SourceId String Yes The ID of the migration source. For information about how to obtain the migration source ID, see Step 1: Import the information about a migration source.
      RegionId String Yes The ID of the Alibaba Cloud region to which the source server is migrated. For information about Alibaba Cloud regions, see Regions and zones.
      Name String No The name of the migration task. The name must meet the following requirements:
      • The name must be unique in an Alibaba Cloud region.
      • The name must be 2 to 128 characters in length, and can contain digits, colons (:), underscores (_), and hyphens (-). It must start with a letter, but cannot start with http:// or https://.
      Description String No The description of the migration task.

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

      ImageName String No The name of the Alibaba Cloud image generated by SMC for the migration source. The name of the image must meet the following requirements:
      • The name must be 2 to 128 characters in length, and can contain digits, colons (:), underscores (_), and hyphens (-). It must start with a letter, but cannot start with http:// or https://.
      • The name must be unique in an Alibaba Cloud region. If SMC detects that the image name already exists in the specified region while the migration task is running, SMC adds the migration task ID (JobId) to the image name as a suffix. Example: ImageName_j-2zexxxxxxxxxxxxx.
      BandwidthLimit Integer No The maximum bandwidth of data transmission during migration. Unit: KB/s. Valid values: 0 to 999999999.

      Default value: 0, which indicates that the bandwidth is not limited.

      CompressLevel Integer No The compression level of data in transmission during migration. Set the compression rate based on your requirements. Valid values: 0 to 10.
      • If the bandwidth is limited, a high compression rate improves the transmission efficiency.
      • If the bandwidth is high, we recommend that you do not compress data during transmission. This reduces the CPU workloads of the migration source.

      Default value: 0, which indicates that data is not compressed during transmission.

      Checksum Boolean No Specifies whether to verify data integrity by using a checksum. If you enable the checksum verification feature, data integrity is ensured while transmission speed may be reduced.

      Default value: false, which indicates that the checksum verification feature is disabled.

      ScheduledStartTime String No The time when the migration task is performed. The parameter value must meet the following requirements:
      • The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time must be in UTC. Example: 2018-01-01T12:00:00Z.
      • The time is within 30 days after the current time.
      SystemDiskSize Integer Yes The system disk size of the destination Alibaba Cloud ECS instance. Unit: GiB. Valid values: 20 to 50.
      Note The size of the target system disk must be greater than the used space of the system disk on the source server. For example, if the size of the source system disk is 500 GiB and the used space is 100 GiB, the destination system disk must be larger than 100 GiB.
      Disk<N>Size Integer No The data disk size of the destination Alibaba Cloud ECS instance. Unit: GiB. Valid values: 20 to 32768.

      You can create destination data disks only for the data disks that already exist at the migration source. The <N> variable indicates the sequence number of the data disk. For example, if the migration source has two data disks, you must set the Disk1Size and the Disk2Size parameters. You can create up to 16 data disks.

      Note The size of the destination data disk must be greater than the used space of the data disk on the source server. For example, if the size of the source data disk is 500 GiB and the used space is 100 GiB, the destination system disk must be larger than 100 GiB.
    3. Save and close the Excel template.
  6. Import the migration tasks.
    1. Return to the SMC console.
    2. In the left-side navigation pane, click Migration Tasks.
    3. On Migration Tasks page, click Import Migration.
    4. In the dialog box that appears, click Import Migration Tasks.
    5. Select the Excel template, and then click Open.
    6. In the dialog box of Import Migration Tasks, select the migration tasks that you want to import and click OK.
      The following figure shows an example of a migration task import list.import migration tasks
      Note If the configurations of a migration task are invalid, the migration task cannot be selected. In this case, you can move the pointer over the whaticon, fix the error based on the error message, and then re-import the migration task.

Result

If the message The migration task is imported. appears in the upper-right corner of the Migration Tasks page, the selected migration tasks are imported.

What to do next

Start the imported migration tasks.

  • If you have specified the ScheduledStartTime parameter in the Excel template, the migration tasks automatically start at the specified time. You can check the migration progress on the Migration Tasks page.
  • If the ScheduledStartTime parameter is not specified, you must manually start the migration tasks. For more information, see Start Migration Tasks.
Note For information about how to handle a migration task interruption or failure, see What do I do if a migration is interrupted or fails?