Migrating the System and Data Partitions of a Windows Server to a HUAWEI CLOUD ECS
Overview
A HUAWEI CLOUD ECS has an independent system disk and data disks as shown in Figure 1. By contrast, a disk on a physical server may be divided into a system partition and other partitions.
This following describes how to migrate the system partition (C) and other partitions (D and E) of the disk shown in Figure 2 to the system and data disks of a HUAWEI CLOUD ECS, respectively.
Procedure
- Obtain the AK/SK pair of the HUAWEI CLOUD account you migrate to.
- If you use an account for migration, see How Do I Create an AK/SK Pair for an Account?
- If you use an IAM user under this account for migration, you need to assign the required permissions to the IAM user and create an AK/SK pair for the IAM user. For details, see How Do I Create an AK/SK Pair for an IAM User?
- Install the Agent on a source ECS. For details, see How Do I Install the Agent on Source Servers?
- Before starting the Agent, go to the Agent installation directory, for example, C:\SMS-Agent-Py?\config. Modify configuration file disk.cfg as follows:
[volmap] D=2 E=2
D=2 and E=2 indicate that both partitions D and E will be migrated to the second disk, a data disk, on the ECS.
- Double-click SMS-Agent and enter the AK/SK pair obtained in 1 to start the Agent.
After the Agent is started successfully, it automatically reports information about the source server to SMS. SMS automatically checks whether the source server can be migrated.
- After the Agent is started, log in to the SMS console using the account you migrate to. In the server list on the Servers page, view information about the source ECS.
- Create a migration task for the source server. For details, see Configuring the Target Server, Starting a Full Replication, and Launching the Target Server. After the migration task is complete, the target ECS has an independent system disk and data disk.
After the migration is complete, you can log in to the target ECS using the username and password of the source server.


Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.