Updated on 2026-11-11 GMT+08:00

Server Migration Journeys

What Is a Server Migration Journey?

MgC provides a structured server migration solution, dividing the process into four phases: preparation, batch management, execution, and summary. Each phase incorporates sub-steps such as questionnaire surveys, resource grouping, Agent association, and parameter configuration. Additionally, you can quickly configure migration sources by manually entering credentials and installing the Agent with a single click. By providing batch management, status tracking, and automated reporting, MgC standardizes, visualizes, and automates the entire migration process, significantly simplifying operations and enhancing migration efficiency.

A server migration journey can be completed using the MgC Agent or the SMS Agent. Their application scenarios are as follows:

  • MgC Agent: for migration of 50 or more servers. You need to prepare a Windows server in the source network environment for installing the MgC Agent.
  • SMS Agent: for migration of fewer than 50 servers. You need to manually install the SMS Agent on each source server.

Network Architecture

The following describes the network architectures and required ports for migration using the MgC Agent and SMS Agent.

Figure 1 shows the network architecture for migration using the MgC Agent.

Figure 1 Network architecture for MgC Agent migration

For details about the port usage, see Table 1.

Table 1 MgC Agent migration ports

Source

Destination

Port

Used For

User

MgC Agent

27080

Performing operations on the MgC Agent console, such as configuring MgC Agent credentials, vCenter credentials, source server credentials, and Huawei Cloud AK/SK pairs.

Source server

MgC Agent

443

NOTE:

It is used for migration over a private line. You can also use a different port.

Downloading the SMS-Agent installation package

MgC Agent

Source server

Linux: 22

NOTE:

The default port is 22. You can also use a different port.

Deploying the SMS-Agent on the Linux source server

Windows: 5985

Deploying the SMS-Agent on the Windows source server

SMS-Agent

Target server

Windows: 8900

Transferring data files to the target server

Windows: 8899

Sending control instructions to the target server to modify its registry and startup items

Windows: 22

Transferring script files to the target server

Linux: 22

Transferring script and data files to the target server

MgC Agent

MgC

8883

Obtaining migration instructions from MgC and returning the instruction execution results.

MgC Agent

MgC

443

Registering with MgC

User

MgC

443

Performing operations on the MgC console and issuing migration management commands.

Figure 2 shows the network architecture for migration using the SMS Agent.

Figure 2 Network architecture for SMS Agent migration

For details about the port usage, see Table 2.

Table 2 SMS Agent migration ports

Source

Destination

Port

Used For

SMS-Agent

Target server

Windows: 8900

Transferring data files to the target server

Windows: 8899

Sending control instructions to the target server to modify its registry and startup items

Windows: 22

Transferring script files to the target server

Linux: 22

Transferring script and data files to the target server

User

MgC

443

Performing operations on the MgC console and issuing migration management commands.

Constraints

When using a server migration journey in MgC for batch server migration, you will use the SMS Agent or MgC Agent, the resource collection feature, and the SMS service. For their constraints and limitations, see:

Billing

MgC and SMS are free of charge, but you will be billed for the services used during data migration, such as ECS, Elastic Volume Service (EVS), and Elastic IP (EIP). For details, see SMS Billing.

Procedure

Table 3 introduces the complete process of creating a server migration journey.

Table 3 Process of creating a server migration journey

Step

Description

Preparations

  • Obtain the source cloud access key, source server login credentials, as well as target Huawei Cloud account and required permissions.
  • Check the source server configurations to ensure that they meet migration requirements.
  • If there are 50 or more servers to be migrated, prepare a Windows server in the source network to install the MgC Agent.
    NOTE:
    • The MgC Agent is not required for migrating servers whose resources are collected using the method described in Online Discovery - SMS Server Synchronization.
    • If there are fewer than 50 source servers to be migrated, the SMS Agent is recommended. This approach eliminates the need to prepare a dedicated server for installing the MgC Agent.
  • Create an application migration project for batch server migration on the MgC console.
  • Confirm that the source server OS types and versions are included in the list of supported OSs.
  • (Optional) Purchase target Huawei Cloud ECSs that match the source server specifications.

Step 1: Collect Source Server Resources

Obtain the list of source servers to be migrated. MgC provides multiple methods for you to do this work. Select one based on your source environment.

Step 2: Create a Server Migration Journey

Create a server migration journey. This step only creates a blank journey. Further configuration is required.

Step 3: Configure and Execute the Migration Journey

By following the migration journey guidelines, complete the preparation, migration batch management, target server configuration, and migration configuration tasks in sequence to streamline your server migration process.

Preparations

Before creating a server migration journey, complete the preparations based on Table 4.

Table 4 Preparations

Item

Description and Requirement

Obtaining the source server credentials

These are essential for collecting server resources and recommending matching target server specifications. Permission requirements:

  • Windows: Use an account with administrator permissions.
  • Linux: Use an account with root permissions.

Obtaining the credentials of the environments where the source servers are located

Registering a Huawei Cloud account with required permissions

  1. Sign up for a Huawei Cloud account and complete real-name authentication. If you have already signed up for a Huawei Cloud account and completed real-name authentication, skip this step.
    1. Visit Huawei Cloud and click Sign Up.
    2. Sign up for a Huawei Cloud account.
    3. (Optional) Complete real-name authentication. Real-name authentication is the process of submitting valid identity information (such as a passport or business license) for verification when you use cloud services offered in the Chinese mainland. There are individual real-name authentication and enterprise real-name authentication.

      According to relevant laws and regulations, unauthenticated accounts cannot purchase cloud services in the Chinese mainland and your account and rights may not be protected. For more information, see Real-Name Authentication Overview.

      To complete real-name authentication, refer to:
  2. Create an IAM user and grant permissions to the user. Skip this step if you use a Huawei Cloud account (administrator account).
    1. Create an IAM user. For details, see Creating an IAM User or Creating an IAM User (New Version).
    2. Create a custom policy and grant required permissions to the IAM user. For details about the required permissions, see the Migration Journeys (New) > Server Migration Journeys part in Using Roles or Policies to Assign Custom Permissions to IAM Users or Using Identity Policies to Assign Custom Permissions to IAM Users (New Version). For details about how to grant permissions, see Assigning Permissions to an IAM User or Assigning Permissions to an IAM User (New Version).
  3. Obtain an AK/SK pair for the account.

    When the SMS Agent is started or the MgC Agent is connected to the MgC console, the AK/SK pair of the target account is required for authentication. For details about how to obtain an AK/SK pair for the target account, see Creating an Access Key or Access Keys (New Version).

Checking source server configurations

Source servers must meet specific requirements for the MgC Agent to perform collection and migration tasks. For details about the requirements for source servers, see Requirements for Source Servers.

Preparing a server for installing the MgC Agent

NOTE:

If there are 50 or more servers to be migrated, prepare a dedicated server as required. If there are fewer than 50 source servers to be migrated, the SMS Agent is recommended, and you do not need to prepare such a server.

Prepare a Windows server for installing the MgC Agent in the source environment. The server must:

  • Run Windows Server 2016, Windows Server 2019, Windows Server 2022, Windows 10, or Windows 11.
  • Use PowerShell 3.0 or later.
  • Have at least 4 CPUs and 8 GB of memory.
  • Have at least 20 GB of available space on the drive (drive C by default) for installing the MgC Agent.
  • Be able to access the Internet and the domain names of MgC, IoTDA, and other cloud services. For details about the domain names to be accessed, see Domain Names.
  • Allow the ports required by the MgC Agent. For details about the required ports, see Communication Matrix.
  • Allow outbound traffic on port 8883 if the server is in a security group.
  • Not have any antivirus or protection software enabled. This type of software may stop the MgC Agent from executing migration commands, resulting in migration failures.
CAUTION:

Do not install the MgC Agent on a source server to be migrated.

  • High resource consumption: The MgC Agent consumes CPU and memory resources during collection and migration. If a large number of migration tasks are performed by the MgC Agent, services on the source server may be affected.
  • Port occupation: The MgC Agent occupies some ports on the server, which may affect services running on it.

Creating an application migration project

Create a project to separate and manage migration resources for different scenarios, to streamline organization management and resource allocation. For details, see Creating an Application Migration Project.

Checking source system compatibility

Check whether the source server OSs are supported for batch migration tasks. For details about the supported OSs, see:

(Optional) Purchasing target servers

The system allows you to specify target servers by associating existing target servers or purchasing new ones after assessment. Choose an appropriate way based on your needs.

  • Associating existing target servers: If you choose this way, purchase Huawei Cloud ECSs that match source server specifications and configure their VPCs, security groups, and EIPs in advance. For details, see Purchasing an ECS in Quick Config Mode.
  • Assessing and purchasing new target servers: If you choose this way, the system will automatically assess and purchase the target servers for you. No manual pre-purchase is required.

Step 1: Collect Source Server Resources

Select a collection method as required.

Step 2: Create a Server Migration Journey

  1. Sign in to the MgC console. In the navigation pane, under Project, select your application migration project from the drop-down list.
  2. In the navigation pane, choose Migration Journeys. The Migration Journeys page is displayed.
  3. In the Create Migration Journey area, locate the Server Migration Journey card and click Create Journey. The Create Journey dialog box is displayed. The system assigns a default journey name in the format of <task type>-<time>. You can also specify a name.
  4. Click Confirm. Once the server migration journey is created, the system will redirect to the Journey Details page and display the Preparations phase.

Step 3: Configure and Execute the Migration Journey

By following the migration journey guidelines, complete the preparation, migration batch management, and migration configuration and execution tasks to streamline your server migration process.