Help Center/ Migration Center/ Getting Started/ Quickly Migrating Servers in Batches
Updated on 2025-11-12 GMT+08:00

Quickly Migrating Servers in Batches

This section describes how to quickly migrate a group of servers by creating a migration plan and a migration workflow based on that plan.

Constraints

  • Migration plans can be created only in the AP-Singapore and TR-Istanbul regions.
  • Only one migration workflow can be created for a migration plan.
  • A migration plan can only include source servers from the same platform.
  • A server can only be included in one migration plan.
  • A migration plan can include a maximum of 100 servers.
  • Source servers in workflows created by the same user must have unique MAC addresses. Duplicate MAC addresses may cause network conflicts or task execution errors.
  • You can migrate up to 150 servers at the same time. Any additional servers beyond this limit will have their workflows paused at the initial step and stay in a pending state. Once other migrations complete, these workflows will automatically resume in the order they were created.
  • If this is your first time to create a server migration workflow, you need to assign MgC the required permissions. For more information about the required permissions, see Agency Permissions.

Precautions

Before creating a server migration workflow, read and understand the precautions below.

Item

Description

Source download bandwidth

Used to download SMS-Agent to source servers.

  • If each source server uses a dedicated bandwidth, the bandwidth must be at least 30 Mbit/s.
  • If source servers share a bandwidth, the average bandwidth must be at least 50 Mbit/s.

Migration bandwidth

  • Used to migrate data. It affects the migration speed and duration.
  • For details about how to estimate the migration duration, see How Long Does a Migration Take?

Available CPUs and memory

  • Memory: at least 520 MB
  • CPU: at least 0.3 CPUs in Linux and 1 CPU in Windows

OS compatibility

For details, see Supported OSs.

Server migration statements

For details about the important statements you need to understand before the migration, see What Are the Important Statements of SMS?

Constraints

For details about the notes and constraints for server migration, see Notes and Constraints.

Billing

For details about the costs that may be incurred during the migration, see Billing.

Permissions configuration

IAM is used for fine-grained permissions management. For details, see Permissions Management.

Migration network and ports

For details about the requirements for the migration network and ports, see How Do I Set Up a Secure Migration Network for Using SMS?

Changes in server configurations before and after migration

For details about the configurations that may change after the migration, see What Are the Differences Between the Source and Target Servers After the Migration?

Migration Principles

Figure 1 shows the principles of server migration using MgC.
Figure 1 Server migration principles

Operation Process

Figure 2 shows the process of creating a server migration workflow based on a migration plan.
Figure 2 Server migration process

Step

Description

Preparations

Sign up for a HUAWEI ID, enable Huawei Cloud services, complete real-name authentication, and obtain an AK/SK pair.

Step 1: Create an Application Migration Project

Create a project to segregate and manage your migration resources.

Step 2: Install the MgC Agent and Connect it to MgC

The MgC Agent is a tool used to discover resources and collect their details. It is also used for executing migration workflow tasks.

Step 3: Discover Source Servers

Discover source servers and collect their details.

Step 4: Create a Server Migration Plan

Create a migration plan using the "Batch Server Migration" template to outline the servers to be migrated together and configure the target servers. After the migration plan is configured, you can create a server migration workflow based on that plan.

Preparations

Before using MgC, prepare a HUAWEI ID or an IAM user that can access MgC. In addition, you need to enable Huawei Cloud services, complete real-name authentication, and obtain an access key.

Step 1: Create an Application Migration Project

  1. Sign in to the MgC console.
  2. In the navigation pane on the left, choose Settings.
  3. Under Migration Projects, click Create Project.

    Figure 3 Creating a project

  4. In the Create Project dialog box, set Project Type to Application migration.

    The project type cannot be changed after the project is created.

    Figure 4 Setting the project type to application migration

  5. Enter a project name and click Create. After the project is created, you can view it in the project list.

Step 2: Install the MgC Agent and Connect it to MgC

  1. Install the MgC Agent on Windows. Log in to the MgC Agent console using the Huawei Cloud Access Key.
  2. Connect the MgC Agent to MgC.

Step 3: Discover Source Servers

MgC provides the following methods for you to do this work.
  • Online Discovery: This method is recommended if your source servers run on a cloud platform, such as Alibaba Cloud, Huawei Cloud, AWS, Tencent Cloud, Google Cloud, or Azure.
  • Intranet Discovery: This method is recommended if your source servers run in an on-premises or vCenter environment.
  • Manual Addition: This method can be used in all scenarios.

The following describes how to perform an online discovery.

  1. Sign in to the MgC console. In the navigation pane, under Project, choose your application migration project from the drop-down list.
  2. In the navigation pane, choose Source Resources.
  3. Under Online Discovery, click Cloud Discovery.

    Figure 5 Cloud platform discovery

  4. Configure the parameters based on Table 1 to create a discovery task.

    Table 1 Parameters for creating a cloud discovery task

    Area

    Parameter

    Description

    Task Settings

    Source Platform

    Select the source cloud platform. Currently, Alibaba Cloud, Huawei Cloud, AWS, Tencent Cloud, Google Cloud, and Azure are supported.

    Collection Method

    If you choose Credential, select the credential for accessing the source cloud platform. If the credential is not in the drop-down list, choose Add Credential to add it. For details, see Managing Credentials.

    • If the source cloud platform is Alibaba Cloud, Huawei Cloud, AWS, or Tencent Cloud, select AK/SK for Authentication and enter the AK/SK pair of your source cloud account.
    • If the source cloud platform is Google Cloud, select Configuration File for Authentication and upload the configuration file that contains your Google Cloud service account credentials. The file must be in JSON format and cannot exceed 4 KB. For details about how to obtain the configuration file, see Obtaining Google Cloud Credentials Configuration Files.
    • If the source cloud platform is Azure, select ID/Secret for Authentication. To learn how to obtain Azure credentials, see How Do I Obtain Azure Credentials?

    If you choose Agency, a cloud service agency is required to assign MgC the permissions required to access resources in your current account. For details about the agency permissions, see Cloud Discovery.

    NOTE:

    This option is available only when Source Platform is set to Huawei Cloud.

    If the Agency Status is Agency not created, click Create Agency. On the displayed page, click OK.

    Region

    Select the regions where your source resources are deployed.

    Resource Type

    Select Servers from the drop-down list.

    Basic Information

    Task Name

    The default name format is <task type>-<current-time>. You can also specify a name.

    Task Description (Optional)

    Describe the task.

    Application (Optional)

    Select the application that you want to group the discovered resources into. If no applications are available, perform the following steps to create one:

    1. Click Create Application. Enter an application name and description.
    2. Configure Business Scenario and Environment, and set Region to the region that you want to migrate to.
    3. Click OK.

  5. Click Confirm. After the online discovery task is created, MgC starts discovering source resources.

    • If the task succeeds, return to the Source Resources page and view the list of discovered source resources and their details.
    • If the task fails, click the task name to view the data source that fails to be collected. Hover over to the collection status to view the failure cause.
      Figure 6 Viewing the failure cause

Step 4: Create a Server Migration Plan

You can create a migration plan using the template provided by MgC. After that, you can create a server migration workflow based on that plan. For details, see Creating a Server Migration Plan.