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 | - Acquire the AK/SK of the source cloud platform, for example, Huawei Cloud, Alibaba Cloud, AWS, Tencent Cloud, Qiniu Cloud, or Kingsoft Cloud. For details about how to obtain their credentials, see How Do I Obtain Cloud Platform Credentials (AK/SK Pairs)?
- For Google Cloud servers, upload their JSON configuration files. Each file must be less than 4 KB. For details, see Obtaining Google Cloud Credentials Configuration Files.
- For Azure servers, use their IDs and keys as credentials. For details, see How Do I Obtain Azure Credentials?
- For VMware vCenter servers, use the vCenter username and password as credentials.
|
| Registering a Huawei Cloud account with required permissions | - 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.
- Visit Huawei Cloud and click Sign Up.
- Sign up for a Huawei Cloud account.
- (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: - Create an IAM user and grant permissions to the user. Skip this step if you use a Huawei Cloud account (administrator account).
- Create an IAM user. For details, see Creating an IAM User or Creating an IAM User (New Version).
- 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).
- 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.
- : recommended for servers on cloud platforms, including Alibaba Cloud, Huawei Cloud, AWS, Tencent Cloud, Google Cloud, and Azure. For more information, see Online Discovery.
- and : recommended for servers in an on-premises IDC or vCenter. During intranet discovery, MgC scans for servers by network range or VMware vCenter Server. For detailed instructions, see:
Step 2: Create a Server Migration Journey
- Sign in to the MgC console. In the navigation pane, under Project, select your application migration project from the drop-down list.
- In the navigation pane, choose Migration Journeys. The Migration Journeys page is displayed.
- 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.
- 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.
1. Preparations
- Complete the survey.
- Answer questions based on your actual scenario (such as the server count, credential availability, and network conditions). The system will recommend the appropriate Agent type and configuration parameters based on your answers.
- After confirming that the selected information matches your actual scenario, click Next in the lower right corner of the page. The Source Configuration page is displayed.
Once you move to the next step, the selected information cannot be modified.
- Configure the migration source. Use the Agent type recommended by the system based on your survey responses or select one manually.
- If you select SMS Agent, you can choose between the two installation methods described in Table 5.
Table 5 Methods and procedures for installing the SMS Agent | Installation Method | Installation Procedure |
| One-click installation | - Select the source server OS, which can be Linux or Windows.
- (Optional) Select the desired enterprise project. The default value is default. After you select an enterprise project, the system will migrate your source server to the specified enterprise project. For details about enterprise projects, see What Is Enterprise Project Management Service?
- Enter the AK/SK pair for the target Huawei Cloud account. For details about how to obtain an AK/SK pair, see Creating an Access Key (Old Version) or Creating an Access Key (New Version).
NOTE: Ensure that the AK/SK pair is correct and has the required permissions. Otherwise, the installation will fail. - Click Generate Installation Command to automatically generate the SMS Agent installation command.
If the source server runs an outdated OS version (such as Windows Server 2008) or only supports a legacy TLS version (prior to 1.2), replace HTTPS with HTTP in the installation command. Otherwise, the installation may fail due to an SSL/TLS connection failure. CAUTION: Downgrading from HTTPS to HTTP removes encryption, identity verification, and integrity protection. Perform this operation only if your network environment is secure. - Click Copy to copy the SMS Agent installation command. Then, run the command on the source server to install SMS Agent.
NOTE: If you encounter an error indicating that the trust relationship could not be established for the SSL/TLS secure channel when running the command to install the SMS Agent on a Windows server, resolve the issue by referring to "What Can I Do If the One-Click Installation Command Fails to Install the SMS Agent on a Windows Server?" - After the SMS Agent is installed and started on the source server, click Next in the lower right corner of the page to go to the Manage Migration Batches step.
NOTE: After the SMS Agent is started, go to the page on the SMS console to view the source server information. Ensure that the source server is Connected to SMS. |
| Manual download and installation | - Select the source server OS, which can be Linux or Windows, to download the SMS Agent version that matches the source server.
- If you select Windows, locate the Agent that matches the source server OS, and click the
icon next to Agent. - GUI-based Windows Agent (Python 3): Windows Server 2012, Windows Server 2016, Windows Server 2019, Windows Server 2022, Windows 10, and Windows 8.1
- CLI-based Windows Agent (Python 2): Windows Server 2008 and Windows 7
Click next to CMS File and CRL File to download them to the source server. Verify the integrity of the SMS Agent installation file. For details, see How Do I Verify the Integrity of the Agent Installation File? - If you select Linux, in the Linux Agent area, click the
icon next to Agent to copy the Agent download command. Run the command on the source server to download the SMS Agent installation package. Copy and run the commands to download the CMS and CRL files to the Linux source server, and verify the integrity of the Agent installation file. For details, see How Do I Verify the Integrity of the Agent Installation File? - After the integrity verification is successful, install and start the SMS Agent on the source server.
- After the SMS Agent is installed and started on the source server, click Next in the lower right corner of the page to go to the Manage Migration Batches step.
NOTE: After the SMS Agent is started, go to the page on the SMS console to view the source server information. Ensure that the source server is Connected to SMS. |
- If you select MgC Agent, prepare a Windows server within the source network environment to install the MgC Agent. This server must meet specific requirements. Meanwhile, the source servers to be migrated must meet separate requirements. Download and install the MgC Agent based on the following instructions:
- In the Download MgC Agent area, choose Download > Download Windows Version, Download > Download Windows CMS, and Download > Download Windows CRL respectively to download the MgC Agent installation program, CMS file, and CRL file to the same empty directory on the prepared Windows server.
- Verify the integrity of the MgC Agent software package. For details, see How Do I Verify the Integrity of the MgC Agent Package?
- After the integrity verification is successful, decompress the downloaded MgC Agent installation package and double-click the installation program to start the installation. The default installation directory is C:\ and cannot be changed.
- Click Finish to complete the installation and open the MgC Agent console.
- Log in to the MgC Agent console using a Huawei Cloud Access Key. For details, see Login Using a Huawei Cloud Access Key.
- Connect the MgC Agent to MgC. For details, see Setting Up the Connection Using a Huawei Cloud Access Key. After the connection is set up, the MgC Agent name, status, and version are displayed in the MgC Agent list.
- After the preceding steps are complete, click Next in the lower right corner of the page to go to the Manage Migration Batches phase.
2. Manage Migration Batches
Group the source servers into migration batches. Servers in the same batch will be migrated simultaneously and must come from the same platform. A single migration journey supports a maximum of 10 migration batches.
The servers in the resource list are synchronized from the
Resource List. If the resource list is empty, perform the following operations:
- Select servers and create a batch.
- In the resource list on the Select Servers and Create Batch page, select the source servers to be migrated in the same batch based on your requirements. Ensure that all servers in the same batch are from the same platform. Then, click Create Migration Batch above the list. The Create Migration Batch dialog box is displayed.
- If this is the first migration batch in this journey, enter a batch name and click OK. The batch will be created, and the selected servers will be added to it.
If migration batches already exist in this journey, choose either of the following methods:
- Creating a migration batch: Choose Create new, enter a custom batch name, and click OK. The batch will be created, and the selected servers will be added to it.
- Selecting an existing batch: To add the selected servers to an existing migration batch, click Select existing and select the desired batch from the drop-down list. Then click Confirm.
- In the Migration Batch column of the resource list, view the batch associated with each server. After confirming that the batch allocation for the source servers is correct, click Next in the lower right corner of the page. The Select Migration Batch page is displayed.
- On the Select Migration Batch page, view the list of created batches, the servers in each batch, and the migration progress. After selecting a migration batch, click Configure in the Status column or click Next in the lower right corner of the page.
- If MgC Agent is used, the Associate MgC Agent page is displayed. You need to associate your MgC Agent with the source servers.
- If SMS Agent is used, the Configure Target page is displayed. You need to configure the target servers for the source servers in the batch.
3. Associate the MgC Agent (Required Only When the MgC Agent Is Used)
- Configure server credentials.
The credentials you provide must have sufficient permissions, so the MgC Agent can collect necessary server details. The requirements for server credentials are as follows:
- Linux: root and its password
- Windows: administrator and its password
- On the Associate MgC Agent page, click Associate Credentials above the list of servers to be migrated to download the template for configuring credentials in batches. Open the template file, enter the credential information (username and password) of all the source servers, and save the file.
- Import the saved template file to the MgC Agent connected to MgC. After the import is successful, the system automatically synchronizes the credentials to MgC and associates them with the resources.

- For each source server in the list, click Configure in the MgC Agent column. The Configuration dialog box is displayed.
- Configure the parameters based on Table 6.
Table 6 Parameters for configuring migration readiness check | Parameter | Configuration |
| OS Type | Set this parameter based on the source server OS type. |
| MgC Agent | Select the MgC Agent installed in the source environment. |
| Access IP Address | Select the IP address for accessing the source server. It can be a public or private IP address. After the migration readiness check is passed, the IP address you specify here will be used for migration. |
| Port | Enter the accessible port of the source server. This port is used for deep collection and subsequent migration. - The port defaults to 5985 for Windows. You can change it to any port that is accessible on the source server.
- The port defaults to 22 for Linux. You can change it to any port that is accessible on the source server.
NOTE: To change the connection ports of source servers in batches, use the Change Port button above the list. |
| Credential | Select the server credential added to the MgC Agent. If batch credential association is performed, the system automatically fills in the credential, and you do not need to select it. |
- Click Confirm. The system checks whether the source server can be accessed using the information you provide and whether the server can be migrated. If Completed shows up in the Migration Readiness Check column, the source server can be migrated.
If the check fails, move the cursor to Check failed in the Migration Readiness Check column to view the failure cause. After rectifying the fault, click Check Again.

- After all the source servers pass the readiness check, click Next in the lower right corner of the page. The Configure Target page is displayed.
4. Configure Target
There are two methods for configuring target servers.
- Associating existing target servers
If you have ECSs on Huawei Cloud, you can associate them with source servers for receiving migrated data.
A target server must meet the following requirements:
- It must be stopped. If the target server is running, stop it first.
- It can be formatted. During the migration, the target server must be formatted, so it can receive data migrated from the source server.
- It can access the Internet if you are migrating over the Internet.
- On the Configure Target page, select Existing Server (Associate Directly).
- In the Target Region drop-down list, select the region where the existing target servers are located. For Project, the default IAM project in the selected region is used.
- Locate a source server and click Associate Target in the Operation column.
- Select the desired target server and click Confirm.
- Assessing and purchasing new target servers
The system automatically purchases target servers based on the configured specifications. However, if the source servers have dynamic disks, you need to purchase target Huawei Cloud ECSs in advance, and bind the source servers to the target servers.
- On the Configure Target page, select New Server (Assess & Purchase).
- Select a method for configuring target servers.
- Method 1: Generating target recommendations. You can choose to let the system recommend you right-sized Huawei Cloud servers based on the source server specifications. In the migration process, the system will automatically purchase target servers based on your settings.
- In the source server list, select the ones for which you want to generate target recommendations. Then click Generate Target Recommendations above the list.
- Configure an assessment policy based on Table 7.
Table 7 Settings used for computing target recommendations | Parameter | Description |
| AZ | Select an AZ for your target server. The system will provide a recommendation based on your selection. |
| Priority | |
| Preferences | Configure your preferences for target servers. The system will prioritize your preferences and try to match them first during the recommendation process. For details about how the system recommends appropriate target resources, see How Does MgC Generate Target Server Recommendations? - Server Types (Optional)
Select the server types you prefer. - Server Series (Optional)
Select the server series you prefer. The system will generate recommendations based on your preferred server types and series. NOTICE: If you select Display only series allowed on DeHs, the server series allowed on DeHs in the target region will be listed, and Server Types will be dimmed. - System Disk (Optional)
Select the system disk type you prefer. - Data Disk (Optional)
Select the data disk type you prefer. - Sizing Criteria
Choose the criteria that the system will use to generate server recommendations. If the source servers are from the SMS Agent source platform, this function is not supported. - If you select As-in on source, the system will recommend target servers with the same or similar CPU and memory capacities as the source servers.
- If you select Performance-based, you need to perform a performance collection for the source servers, and then set assessment parameters. The system will then recommend target servers with your desired CPU and memory capacity.
NOTICE: The more performance data is collected, the more accurate the recommendations are. It is recommended that the server performance data be collected for at least seven days. |
- Click Confirm. If Configured shows up in the Target Configuration column, the target recommendations are generated. You can check the recommended configurations in the next two columns.
- Method 2: Defining target server specifications in batches. You can manually configure target server specifications. Before proceeding with this method, carefully assess any associated risks. It is also essential to ensure that the chosen specifications meet your system requirements and compatibility standards.
- In the source server list, select the servers for which you want to manually configure target server specifications. Then, click Configure Target above the list or click Configure Target in the Operation column of a specific server. The Configure Target page is displayed on the right pane.
- On the Target Specifications page, select the target AZ. Servers under the AZ will be displayed. Then, select the target server specifications as required.
- (Optional) Apply images instantly. The system disk size of the target server must be greater than the minimum disk size (minDisk) required by the image. To configure images and system disk specifications for multiple servers, you can use the function of applying images instantly to apply the same image and system disk specifications to selected servers. During batch configuration, the system automatically verifies whether each server meets the minimum disk size requirement. If a server does not meet the requirement, the system automatically adjusts the system disk size. Data disk settings remain unchanged. This operation requires manual review. You are responsible for assessing any associated risks. Before applying an image, ensure that it meets your system requirements and compatibility expectations.
- Click Apply. The Apply Image Instantly page is displayed.
- The system automatically sets the system disk size based on the value of minDisk. You can also manually adjust the size. After confirming that the system disk specifications of all servers meet the requirements, click Confirm to apply the current image to all selected servers instantly.
- In the Target Disks area, select a storage type and size for each target server disk.
- Click Confirm. Manual will appear in the Target Configuration column.
- Method 3: Importing target server configurations. You can export the server records, configure target server flavors, disks, and images, and then import the records back. Some technical expertise is needed for this process.
- In the list of source servers, choose Export/Import Target Configuration > Export Target Configuration to download the server records as an Excel file to the local PC.
- Open the exported file. On the first sheet named servers, the blue columns (A to G) indicate the source server information, which does not need to be modified. The yellow columns (H to K) indicate the target server information, which needs to be configured.
- Configure the target server information (in columns H to K) according to Table 8.
Table 8 Parameters in columns H to K | Parameter | Configuration |
| flavor | Specify a flavor for each target server. The second sheet flavors lists the flavors in S (general-purpose) and C (computing-plus) server series available in the target region. Choose a proper flavor and copy the flavor name to this cell. NOTE: If a source server has been assessed, the recommended flavor is included in the exported file. If a source server has not been assessed, its flavor field is empty. |
| disks(name,osDisk,type,capacity;) | Enter the information about all disks. Separate multiple disks with semicolons (;). You must specify the name, function (system disk or not), type, and size for each disk. Separate these items with commas (,). Specify a disk size as a numeric value without a unit. The default unit is GiB. Example: /dev/sda,true,SAS,1024;/dev/sdb,false,SAS,2046 NOTE: If a source server has been assessed, the recommended disk specifications show up in the exported file. If a source server has not been assessed, the source disk specifications remain in this column, but the disk type changes to SAS by default. |
| image_type | Enter an image type. The options are: - public: public image
- private: private image
- shared: shared image
|
| image | Enter an image name. You can view all images available in the target region on the third sheet images. |
- After configuring a target server for each source server, save the Excel file. Return to the MgC console. Choose Export/Import Target Configuration > Import Target Configuration above the list of source servers.
- In the displayed dialog box, click Access OBS.
- Select a bucket and upload the Excel file to the bucket.
- After the upload is successful, return to the MgC console. In the Import Target Configuration dialog box, select the file stored in the OBS bucket from the drop-down list.
- Click Confirm to import the target server configurations.
- If the flavor field is empty in a row, this row will be ignored during the import.
- If the disk or image field is left empty in a row, the source server's disk and image information is used during the import.
- If the number in the disk field in a row is inconsistent with what the source server actually has, an error message is reported, indicating that the disk numbers are inconsistent.
- If in a row, the disk type conflicts with the flavor, an error message will be reported, indicating that the disk type is incorrect.
- (Optional) Configure the target network. If the target network has access restrictions or requires a transit node for communication, you can use the target transit IP address and port configuration function to specify the transit IP address and SSH port range (22 to 65535). The configuration information will be integrated into the migration task through the dynamic parameter transfer mechanism to ensure network path reachability and migration task continuity during the migration.
After a migration task is created, the transit IP address and SSH port cannot be changed.
- In the upper right corner of the source server list, enable Configure target network. After this function is enabled, the Transit IP Address and SSH Port columns are added to the list of source servers.
- In the Transit IP Address column, enter the IP address of the transit proxy server.
- In the SSH Port column, enter the migration port of the target server. It defaults to 22. If port 22 is occupied, you can use one from 22 to 65535.
The functions of the port are as follows:
- For Linux servers, this port is used to establish transmission channels and transmit data.
- For Windows servers, this port is used to establish transmission channels.
- (Optional) Configure a DeH to receive applications and data migrated from source servers. After the binding, the target server will be automatically created on the DeH you bound during the migration.
- In the upper right corner of the source server list, enable Use DeH.
- Select the source servers and choose DeH Configuration > Associate DeH above the list.
- Select the target DeH to be associated from the drop-down list and click Confirm. Associated will show up in the DeH column. You can click Details to view the associated DeH.
- Configure a target environment based on Table 9.
Table 9 Parameters for configuring a target environment | Parameter | Configuration |
| VPC | Select a VPC for the target servers from the drop-down list. For details about how to create a VPC, see Creating a VPC. - If the source IP address is 192.168.X.X, you are advised to create a VPC and a subnet that both belong to network range 192.168.0.0/16.
- If the source IP address is 172.16.X.X, you are advised to create a VPC and a subnet that both belong to network range 172.16.0.0/12.
- If the source IP address is 10.X.X.X, you are advised to create a VPC and a subnet that both belong to network range 10.0.0.0/8.
|
| Subnet | The subnet has to be in the same network segment as the VPC. |
| Security Group | The selected security group must: |
| Disk Encryption | - If this option is not selected, the system and data disks of target servers created during the migration will remain unencrypted.
- If this option is selected, the system and data disks of target servers created during the migration will be automatically encrypted.
NOTE: - This setting applies to all target servers newly created in the migration task. Their disks will be encrypted using the same key.
- Once a disk is created, the encryption attribute of the disk cannot be modified.
- Keys can be shared with accounts, not IAM users.
To enable disk encryption, you need to create an agency to authorize EVS to access KMS. If you have the right to grant the permissions, grant the KMS access permissions to EVS directly. Once the authorization succeeds, you no longer need to perform the authorization again. If you do not have the right to grant the permissions, contact a user with the Security Administrator permissions to grant you the right and then repeat the preceding operations. After the authorization is successful, configure the following parameters: - Select an existing key. Only enabled keys generated using the AES_256 encryption algorithm are supported.
Select a key from the drop-down list. You can select one of the following keys: - Default keys: After the KMS access permissions have been granted to EVS, the system automatically creates a default key and names it evs/default.
- Custom keys: You can choose an existing key or create a new one. For details about how to create a key, see Creating a Key.
- Enter a key ID
Enter the ID of a key shared from another user. Ensure that the key is in the target region. For details, see Creating a Grant. |
| Enterprise Project | Select the enterprise project you want to migrate to. The enterprise project default is selected by default. For details about enterprise projects, see What Is Enterprise Project Management Service? |
| Tags | You can add tags to the target servers automatically created by the system to facilitate resource management. Click Add Tag and enter a tag key and tag value. For details about tags and tag naming rules, see Tag Overview. To add the same tag to multiple servers or other types of resources, you can create a predefined tag on the TMS console and then select it for the servers or resources. This frees you from repeatedly entering tag keys and values. For details, see Creating Predefined Tags. |
- After configuring all the preceding parameters, click Next in the lower right corner of the page. The Configure Migration Parameters page is displayed.
5. Configure Migration Settings
- Configure migration settings based on Table 10.
Table 10 Migration settings | Area | Parameter | Description |
| Migration Network | Public | If you select Public, ensure that all target servers have EIPs bound. These EIPs will be used for the migration. |
| Private | If you select Private, configure Direct Connect connections, VPN connections, VPC peering connections, or subnets in the target VPC in advance to connect the source environment to the target environment. - If the source environment cannot access the Internet, enter the private IP address of the source proxy server and the port used by the proxy software.
- If the source proxy server cannot access the Internet, put the SMS-Agent installation package at a location where the source servers can access directly or over a proxy. You can download the SMS-Agent installation package from the SMS console.
|
| Source Settings | Install rsync on Source NOTE: If the source server is from the SMS Agent source platform, this function is not supported. | Linux migrations depend on rsync. If rsync is not installed on a source server, the server will fail to be migrated. - If this option is not selected, rsync will not be installed on the source servers.
- If this option is selected, rsync will be automatically installed on the source servers. The installation can succeed only if the source servers:
- Have Internet access. If a proxy server is required, ensure that the proxy settings are correctly set in /etc/yum.conf (for CentOS and Red Hat) or /etc/apt/apt.conf (for Ubuntu).
- Have outbound ports 80 (HTTP) and 443 (HTTPS) enabled by the firewalls and security groups.
- Have accessible software sources. You are advised to configure a source based on your location. Cross-country access to the official source may experience high latency and packet loss, which may result in download failures.
- Have sufficient CPU, memory, and I/O resources to prevent latencies or interruptions during installation.
|
| Target Settings | Start Target After Migration | - If this option is not selected, the target servers will be stopped after the migration is complete.
- If this option is selected, the target servers will be started after the migration is complete.
|
| Retain Private IP Address of Primary NIC | If this option is selected, the private IP addresses of the source servers will be retained on the target servers after the migration is complete. Enabling it may cause risks. You need to evaluate and take responsibility for any potential risks. For details, see How Do I Keep the Private IP Address of a Server Unchanged After the Migration? |
| Install ECS Password Reset Plug-in | If this option is selected, the system automatically installs the ECS password reset plug-in (CloudResetPwdAgent) on the target servers during the migration. With this plug-in, you can perform offline password reset for a running or stopped ECS. This operation does not depend on other services, and you do not need to enter the old password or log in to the ECS. For more information about the one-click password reset plug-in, see Scenarios of the One-Click Password Reset Plug-in. If the plug-in is not installed or becomes invalid after the migration, you need to reinstall it. For details, see Installing the One-Click Password Reset Plug-in on an Individual ECS. |
| Consistency Verification | Verify Data Consistency | - If this option is not selected, data consistency will not be verified after the full replication is complete. You can modify the verification policy after the incremental synchronization is complete.
- If this option is selected, the system will automatically verify data consistency after the full replication is complete. This is a quick verification, and only the file size and last modification time will be verified. You can modify the verification policy after the incremental synchronization is complete.
|
| Advanced Settings | Set Bandwidth Limit | - If this option is not selected, the migration traffic is not limited.
- If this option is selected, you can limit the bandwidth that can be used for migration based on the source bandwidth and service requirements.
CAUTION: Consider the migration scale to set an appropriate bandwidth limit. If too small a bandwidth is allocated to a task that includes 10 servers, migration tasks may preempt the limited bandwidth resource, and some servers may fail to be migrated. |
| Enable Quick Mode | Enable this option if incremental synchronization is not required. This option is disabled by default. If it is enabled, incremental synchronization is skipped and then subsequent steps are performed after full replication is complete in the migration task. Set this option based on your requirements. |
| Send SMN Notifications | Determine whether to get SMN notifications about the migration. You can configure Topic, Language, and Trigger Condition. Before enabling this function, create an SMN topic and subscribe to it. For details, see Publishing a Template Message. NOTE: You can only choose an SMN topic in the default IAM project of the region where you currently use MgC. To enable this function, you need to authorize MgC when the system prompts you. Select one or more trigger conditions. - Migration succeeded: A notification will be sent if all resources in the migration task are migrated.
- Migration failed: A notification will be sent if any resource in the migration task fails to be migrated.
- Manual checkpoint: A notification will be sent if all resources in the migration task are waiting for manual confirmation.
|
- After the configuration is complete, click Next in the lower right corner of the page. The Start Migration Task dialog box is displayed. The migration tasks have been created. Determine whether to start the migration immediately.
- If you want to start the migration immediately, click Confirm in the displayed dialog box. On the Migrate and Verify page, start the migration tasks.
- If you want to save the migration settings without starting the migration, click Cancel. The Migrate and Verify page is displayed. The migration tasks are in the Waiting status, and the migration has not started. To manually start the migration, click Run in the Batch Status card.

6. Execute Migration and Verification
On the Migrate and Verify page, you can view the status and progress of each migration task, as well as the migration progress of the resources involved. You can also perform the operations below on the resources in the tasks.
Table 11 Operations related to resources | Scenario | Operation |
| Checking migration details | Click a resource name. On the Resource Details page displayed on the right, check the basic information, migration status, and migration progress. |
| Checking a target server | After the step CreateTargetServer is completed for a resource, choose More > View Target Resource in the Operation column to review details about the target server. |
| Checking an SMS task | After the step StartUpAgent is completed for a resource, a migration task is automatically created on the SMS console. To check the details on the SMS task, click View Migration Task in the Operation column. |
| Resizing disks and partitions | When the workflow on a resource reaches the ResizeDiskPartition step, the system identifies whether the target server's disk capacity has been reduced. - If yes, go to the SMS console and resize disks and partitions for the target server. For details, see the Resize Disks and Partitions parameter in Configuring a Target Server. After the adjustment is complete, return to the task details page and choose More > Confirm in the Operation column to continue the migration.
- If no, choose More > Skip in the Operation column to skip this step and proceed with the subsequent migration steps.
|
| Pausing a resource migration | You can pause the migration of a single resource in a migration task. During the migration, when the resource reaches the full or incremental replication step, you can click Pause in the Operation column to pause the migration of the resource. To resume the migration, click Run in the Operation column. NOTICE: After the migration of a resource is paused, do not perform any operations on the corresponding migration task on the SMS console. |
| Repeating incremental synchronization | The StartSynchronization step can be repeated. When a resource reaches the BusinessValidation step and the resource status is Not confirmed, select the resource and click Run Previous Step above the resource list. Alternatively, choose More > Run Previous Step in the Operation column of the resource to repeat incremental synchronization. CAUTION: You are not advised to perform incremental synchronization on the SMS console. Otherwise, the migration task status on the MgC console may differ from that on the SMS console, causing abnormal task running. |
| Verifying services | When the workflow on a resource reaches the BusinessValidation step and there is no more incremental synchronization, verify services on the target server. After services pass the verification, click Confirm in the Operation column of the corresponding resource to enter the Complete cutover stage. |
| Switching traffic | The workflow moving to the Cutover step means that the target server has been verified and you can transfer services to the target server. After the switchover is complete, return to the task details page and click Confirm in the Operation column. The system automatically performs the subsequent SourceClear and MigrationTaskClear steps. |
When the migration status of all resources changes to Complete, click Next in the lower right corner of the page. The Migration Report page is displayed.
7. Generate a Migration Report
The Migration Report page displays a summary report of the migration journey, including the migration data overview, migration batches, and task information. After confirming that the resources in all migration batches have been migrated, click Complete in the lower right corner of the page to end the migration journey and return to the migration journey list.