Offline Migration

Last updated: 2020-07-14 17:01:22

    Scenario

    Service Migration is a platform developed by Tencent Cloud to help enterprises migrate operating systems, applications, and application data from a source server to a Cloud Virtual Machine (CVM) or Cloud Block Storage (CBS). It helps meet enterprise needs for cloudification, cross-cloud migration, cross-account or cross-region migration, and hybrid cloud deployment.

    Service migration includes offline migration and online migration. Offline migration includes:

    Prerequisites

    Offline migration is supported by Cloud Object Storage (COS). Make sure your region is supported by COS.
    For more information on regions supported by COS, see Regions and Access Domain Names.

    Preparations

    • Currently, Tencent Cloud service migration supports qcow2, vpc, vmdk, and raw image formats. We recommend using the compressed image format to reduce transmission and migration time.
    • The COS region where images are uploaded to must be the same as where the CVM you want to migrate to is located.
    • During offline migration, the size of the uploaded image file cannot be greater than the capacity of the disk you want to migrate to. If the size of the image file is 50 GB, the system disk must be at least 50 GB.
    • Offline migration does not support snapshot (filename similar to *-00000*.vmdk).
    • Create an image for the server that needs to be migrated as instructed in the image creation documentation.
    • Upload the created image file to COS.
      • Because image files are large in size, upload using the browser may fail. We recommend using the COSCMD tool to upload images. For more information, see COSCMD.
      • If images exported from other cloud platforms are compressed packages (such as .tar.gz files), you can upload them directly to COS.
    • Obtain the COS address of the uploaded image.
      In the COS console, locate the image file you just uploaded and view its information to obtain the file link.
    • Prepare the CVM or CBS to be migrated to.
      Click here to purchase a CVM >>.
      Click here to view CBS purchase instructions >>.

    Directions

    Offline instance migration

    1. Log in to the CVM console and click Service Migration in the left sidebar.
    2. Click Create an instance migration task.
    3. Complete the preparation steps as prompted, and click Next.
    4. Select the region, enter configuration information such as the task name, COS link, and CVM instance to be migrated to. Then, click Complete to create a migration task.
      Return to the offline data migration management page to check the task progress.
      • COS file must be configured with public read/private write permissions. For more information, see Setting Object Access Permission.
      • The system disk capacity of the instance you want to migrate to cannot be less than the size of the uploaded image file. Otherwise, the task will fail.

    Offline data migration

    1. Log in to the CVM console and click Service Migration in the left sidebar.
    2. Click Create a data migration task.
    3. Complete the preparation steps as prompted, and click Next.
    4. Select the region, enter configuration information such as the task name, COS link, and cloud disk to be migrated to. Then, click Complete to create a migration task.

      The capacity of the CBS disk you want to migrate to cannot be less than the size of the uploaded image file. Otherwise, the task will fail.

    FAQs

    For more information, see About Service Migration.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help