Migrating the System and Data Partitions of a Windows Server to the Separate Disks of a Huawei Cloud ECS
Overview
A Huawei Cloud ECS consists of one system disk and several data disks, as shown in Figure 1. An on-premises server may have the system partition and other partitions located on the same disk, as shown in Figure 2.
You can use SMS to easily migrate the system partition (volume C) of the on-premises server to the system disk of the ECS, and other partitions (volumes D and E) to the data disks of the ECS.
Procedure
- Obtain an AK/SK pair for the account you are migrating to. For details, see How Do I Create an AK/SK Pair for an Account?
If you are migrating to the account of an IAM user, you need to obtain the required permissions and 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 SMS Agent on the source server to be migrated. For details, see How Do I Install the Agent on Source Servers?
- Go to the Agent installation directory, for example, C:\SMS-Agent-PyX\config, and modify the configuration file disk.cfg as follows:
[vol_mount_modify] D=2 E=2
D=2 and E=2 indicate that volumes D and E will be migrated to the second disk, a data disk on the ECS.
- Run the SMS Agent and enter the AK/SK pair obtained in 1.
After the Agent has started, it reports source server details to SMS, so SMS can check whether the server can be migrated.
- Log in to the SMS console using the account you are migrating to. Choose Servers from the navigation pane and view the source server in the server list.
- Create and run a migration task for migrating the source server. For details, see Configuring the Target Server, Starting a Full Replication and Launching the Target Server.
After the migration is complete, the target server has a system disk and a data disk which are separated from each other.
After the migration is complete, the target server uses the same login credentials as the source server.
- (Optional) Synchronize incremental data from the source ECSs to the target ECSs by using the Sync option on the SMS console.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot