The migration template contains preset parameters for a migration job. When you create a migration job, the migration job is automatically configured based on the migration template. This increases the migration efficiency. This topic describes how to configure the migration template.
Limits
The migration template applies only to server migration jobs.
Procedure
Log on to the SMC console.
In the left-side navigation pane, click Migration Template.
On the Migration Template page, click Modify Template. If you configure the migration template for the first time, skip this step.
On the page that appears, configure parameters based on your business requirements.
You can configure parameters in the Basic Parameters, Network Configuration, Incremental Data Configuration, and Advanced Settings sections. The following table describes the parameters.
Section
Parameter
Description
Basic Parameters
Destination Region
The Alibaba Cloud region to which you want to migrate your source server. For more information about regions, see Regions and zones.
Migration Test
Specifies whether to enable the migration test feature.
Execution Method
The mode in which the migration job is run. Select an execution method based on whether Migration Test is turned on.
When Migration Test is turned on
Test Only: The system performs only the migration test. After the migration test is complete, you must manually start the server migration job.
Test and Migrate: The system performs the migration test. After the migration test is complete, if no test items are in the Critical state, the system automatically starts the server migration job. This is the default value.
When Migration Test is turned off
Migrate Now: The migration job starts immediately after it is created. This is the default value.
Migrate Later: The migration job automatically starts at the specified time after it is created.
NoteThe earliest time that you can specify to run a migration job is 10 minutes after the job is created.
Create Only: After the migration job is created, you must click Start Migration Job in the Actions column to manually start the migration job.
Network Configuration
Network Type
The type of network that is used to migrate data from the source server to the intermediate instance. By default, data is migrated over the Internet. During the migration, SMC creates an intermediate instance that connects to a vSwitch in a VPC. If you select Public Network, a public IP address is assigned to the intermediate instance.
Public Network (default value)
SMC migrates data to the intermediate instance over the Internet. If you select Public Network, make sure that the source server can access the Internet. You can determine whether to specify a VPC and a vSwitch based on your business requirements.
If you specify a VPC and a vSwitch, SMC creates an intermediate instance that connects to the specified VPC and vSwitch.
If you do not specify a VPC or vSwitch, SMC creates an intermediate instance that connects to the VPC and vSwitch automatically created by the system.
VPC
SMC migrates data to the intermediate instance over a VPC. If you select VPC, you must specify a VPC and a vSwitch and make sure that the source server can connect to the VPC.
NoteIf your server in a data center, your VM, or your third-party cloud server can connect to a VPC, we recommend that you select this network type to migrate data. Compared with migration over the Internet, migration over a VPC is more efficient and stable. You can use VPN Gateway, Express Connect, or SAG to connect a migration source to a VPC. For more information, see Connect a data center to a VPC.
Transmission Speed Limit
The maximum network transfer speed during the migration. Unit: Mbit/s. If you set the Compression Ratio parameter to a value greater than 0, the actual network transfer speed, which is the transfer speed of compressed data, is lower than the speed displayed in the Real-time Migration Status column.
Transmission Compression Ratio
The compression ratio of the data to be migrated. Set the compression ratio based on your business requirements.
If the bandwidth is limited, a high compression ratio improves the transmission efficiency.
If a high bandwidth is available, we recommend that you do not compress data. Data compression consumes CPU resources of the migration source.
Valid values: 0 to 10. Default value: 7. A value of 0 indicates that data is not compressed.
Incremental Data Configuration
Automatic Incremental Synchronization
Specifies whether SMC automatically synchronizes incremental data of the migration source to Alibaba Cloud.
ImportantTurn on Automatic Incremental Synchronization if you want to migrate a workgroup.
Synchronization Interval
The interval at which SMC automatically synchronizes incremental data to Alibaba Cloud. Valid values: 1 hour to 7 days.
Maximum Retained Images
The maximum number of retained images. Valid values: 1 to 10.
Advanced Settings
Checksum Verification
Specifies whether to enable checksum verification. This feature enhances the verification of data consistency between the migration source and the destination server. However, this may slow down data transmission.
License Type
The license type. Valid values:
Alibaba Cloud: the Microsoft license provided by Alibaba Cloud. For more information, see the What Windows Server licenses does Alibaba Cloud support? section of the "FAQ" topic. This is the default value.
BYOL: SMC allows you to bring your own license (BYOL). You can bring your own Microsoft license or register with Red Hat Cloud Access. For more information, see the Is BYOL supported when I migrate servers by using SMC? section of the "FAQ" topic.
Image Check
Specifies whether to enable the image check feature. The image check feature checks whether an image is valid and whether the image can be used to create full-featured ECS instances. You can use the image check feature when you create a server migration job or an agentless migration job for a VMware VM.
This feature helps you identify potential issues in images or ECS instances after the migration job is complete, and provides solutions to the identified issues. This helps you improve the success rate of starting ECS instances.
For more information, see Configure image check.
Migration Job Tag
The tags that you want to specify for the migration job. Each tag contains a key and a value. You can use tags to query and manage migration jobs.
Click Save Template.
If you want to modify the migration template, click Modify Template on the Migration Template page.
References
After the migration template is configured, a server migration job is automatically configured based on the migration template when you create the migration job.
For more information about how to migrate a server, see Migrate a server.
For more information about how to migrate multiple servers at a time, see Migrate multiple servers.