Operating systems supported by the online migration tool include but are not limited to the following (32-bit or 64-bit):
|Amazon Linux AMI|
|Red Hat 7/8|
If both your source server and destination CVM can access the public network, you can use the public network migration mode.
In the current public network migration mode, the source server calls Tencent Cloud APIs through the Internet to initiate a migration request, and transfers data to the destination CVM to complete the migration. The public network migration scenario is shown below:
If your source server or destination CVM is located in a private network or Virtual Private Cloud (VPC), the source server cannot directly establish a connection with the destination CVM through the Internet. In this case, you can use the private network migration mode of the tool. You need to establish a connection between the source server and the destination CVM through VPC peering connection, VPN connections, Cloud Connect Network, or Direct Connect.
go2tencentcloud.zip is decompressed, it contains the following files:
|go2tencentcloud-linux.zip||The migration zip for Linux system.|
|readme.txt||Directory overview file.|
|release_notes.txt||Migration tool change log.|
go2tencentcloud-linux.zip is decompressed, it contains the following files:
|go2tencentcloud_x64||Executable program of the migration tool for the 64-bit Linux operating system|
|go2tencentcloud_x32||Executable program of the migration tool for the 32-bit Linux operating system|
|user.json||User information in a migration.|
|client.json||Configuration file of the migration tool.|
|rsync_excludes_linux.txt||rsync configuration file, which excludes files and directories that do not need to be migrated in the Linux system.|
The configuration files cannot be deleted. You must store them under the same folder as the go2tencentcloud executable program.
The user.json configuration file is described as below:
|SecretId||String||Yes||Secret ID for your account to access APIs. For more information, see Access Key.|
|SecretKey||String||Yes||Secret key for your account to access APIs. For more information, see Access Key.|
The client.json configuration file is described as below:
|Client.Extra.IgnoreCheck||Bool||No||The default value is
|Client.Extra.Daemon||Bool||No||The default value is
|Client.Net.Proxy.Ip||String||No||The default value is empty. In the private network migration Scenario 3, the IP address of the network proxy needs to be configured.|
|Client.Net.Proxy.Port||String||No||The default value is empty. In the private network migration Scenario 3, the port of the network proxy needs to be configured.|
|Client.Net.Proxy.User||String||No||The default value is empty. In the private network migration Scenario 3, if your network proxy needs to be verified, configure the username of the network proxy.|
|Client.Net.Proxy.Password||String||No||The default value is empty. In the private network migration Scenario 3, if your network proxy needs to be verified, configure the password of the network proxy.|
Except for the above parameters, other configuration items in the
client.jsonfile usually don't need to be entered.
This file is used to exclude files on the Linux source server or configuration files under specified directories that do not need to be migrated. By default, the rsync_excludes_linux.txt file already excludes the following directories and files. Do not delete or modify the existing configurations.
/dev/* /sys/* /proc/* /var/cache/yum/* /lost+found/* /var/lib/lxcfs/* /var/lib/docker-storage.btrfs/root/.local/share/gvfs-metadata/*
To exclude other directories or files, append them to the rsync_excludes_linux.txt file. For example, to exclude all content on the data disk attached to
/mnt/disk1, configure the rsync_excludes_linux.txt file as follows:
/dev/* /sys/* /proc/* /var/cache/yum/* /lost+found/* /var/lib/lxcfs/* /var/lib/docker-storage.btrfs/root/.local/share/gvfs-metadata/* /mnt/disk1/*
||Prints help information.|
||Checks the source server|
||Configures the log file name, which is
||Configures the logging level. Valid values:
||Prints the version number.|