Server Migration Center (SMC) allows you to migrate incremental data from servers to Alibaba Cloud. You can specify the time interval between incremental migration operations. Incremental migration reduces the service downtime and the total duration of cutover. This topic describes how to migrate incremental data from a server.
Procedure
Step 1: Perform the full migration
After you import the information about a migration source, perform migration configuration. You do not need to stop the services that are running on the source server. For more information about the operations for different migration scenarios, see the following topics:
When you perform the migration configuration, turn on Automatic Incremental Synchronization. Configure the following parameters related to automatic incremental migration:
Automatic Incremental Synchronization: specifies whether to enable automatic incremental migration. Turn on this switch.
Synchronization Interval: the time interval between two consecutive incremental migration operations. For example, if Synchronization Interval is set to 1 hour, the next incremental synchronization will start 1 hour after the completion of the current incremental synchronization. You can specify a time interval in the range of one hour to seven days.
Maximum Reserved Images: the maximum number of images that can be retained during incremental migration. Valid values: 1 to 10. An image is generated for each incremental migration operation. If the total number of images exceeds the upper limit, the earliest unused image is deleted.
View the migration results.
If the migration progress is 100%, the first full migration is completed and a full image is generated. Each time the migration is completed, the real-time status of the migration is Waiting to wait for the arrival of the next frequency cycle and continue to migrate incremental data.
NoteYou can perform the following operations based on your business requirements:
Verify the migration result: You can click
in the Actions column of the migration source, and use this image to create an Elastic Compute Service (ECS) instance for verification.Modify the synchronization interval: You can click
in the Actions column of the migration source to modify the synchronization interval as prompted. The modification will take effect after the next incremental synchronization ends, not immediately.Stop the migration task: You can click
in the Actions column of the migration source to stop the migration task as prompted.Cancel the incremental migration task: You can click
in the Actions column of the migration source to cancel the incremental migration task as prompted.
Step 2: Stop the services on the source server and run an incremental migration task
Stop the services on the source server during off-peak hours, and then run the incremental migration job again.
The image generated for each incremental migration operation is a full image of the source server at a specific point in time. The image contains the incremental data at the point in time of migration and all earlier migrated data.
After automatic incremental synchronization or manual incremental synchronization starts, data comparison is performed firstly. The data comparison speed is related to the disk I/O capacity and is not limited to the network bandwidth. Therefore, the comparison time is affected by the disk I/O capacity and the amount of disk data. After the data comparison is completed, the incremental data is transmitted, and the time spent in the incremental data transmission phase is affected by the incremental data size and network bandwidth. For more information, see Estimate the time required for migration and test the data transfer speed.
Log on to the source server and stop the services on the source server.
In the SMC console, manually run the incremental migration job or wait for the job to automatically run.
Perform incremental migration automatically.
After the first incremental migration is completed, SMC automatically performs the incremental migration and generates a new image at the corresponding time point based on the value of Synchronization Interval that you set.
Perform incremental migration manually.
In the Actions column of the destination migration source, click Manual Incremental Synchronization. In the displayed dialog box, click OK.
Step 3: Complete incremental migration
After the last incremental migration operation is complete, perform the following steps to complete incremental migration.
On the OS Migration page, find the migration job that you want to manage and click Complete Incremental Synchronization in the Actions column.
In the Run Incremental Job dialog box, click OK.
You can also select Perform One Last Synchronization in the Run Incremental Job dialog box to perform the last incremental migration operation.
On the Server Migration page, view the status of the created job.
The amount of time required for data transmission is subject to factors such as the data size of the migration source and network bandwidth. Wait until the migration job is complete.
After you complete incremental migration, no more incremental migration operations are automatically performed and you cannot manually run the migration job. If you click Complete Incremental Synchronization and confirm the completion by accident but still need to migrate incremental data, you can create an incremental migration job again.