Help Center> Server Migration Service> Best Practices> Migrating the System and Data Partitions of a Windows Server to a HUAWEI CLOUD ECS

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.

Figure 1 HUAWEI CLOUD ECS
Figure 2 Physical server

Procedure

  1. Obtain the AK/SK pair of the HUAWEI CLOUD account you migrate to.
  2. Install the Agent on a source ECS. For details, see How Do I Install the Agent on Source Servers?
  3. 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.

  4. 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.

  5. 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.
  6. 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.