Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Migration Center/ User Guide/ New Edition/ Migration Plans/ Creating a Server Migration Plan

Creating a Server Migration Plan

Updated on 2025-01-06 GMT+08:00

A server migration plan outlines the source servers to be migrated and the paired target servers. You can create a migration workflow on the top of a migration plan to implement batch migration. The following content describes how to create a server migration plan.

Preparations

Notes and Constraints

  • Only one migration workflow can be created for a migration plan.
  • A server can only be added to one migration plan.
  • A maximum of 100 servers can be added to a migration plan.

Procedure

  1. Sign in to the MgC console. In the navigation pane, under Project, select an application migration project from the drop-down list.
  2. In the navigation pane, choose Design > Migration Plans.
  3. Click Create Migration Plan in the upper right corner of the page.
  4. In the Server Migration card, click Configure Migration Plan.

  5. In the Basic Settings area, set parameters listed in Table 1.

    Table 1 Basic settings

    Parameter

    Configuration

    Migration Plan Name

    User-defined

    Description (Optional)

    Source Platform

    Select the cloud platform where the source servers are located.

    NOTICE:

    A migration plan can only include servers from the same platform.

    Target Region

    Select the region you want to migrate to.

  6. In the Source Servers area, click Add.

  7. Select the servers to be migrated together and click Confirm.

    CAUTION:
    • The source servers included in this plan will be migrated using the same migration workflow. The same migration settings, such as the VPC, subnet, and security group settings, will be applied to these source servers.
    • The selected servers must come from the source platform selected in step 4.

  8. Click Save and Next to go to the Check Source Servers phase.
  9. Configure server credentials. There are two methods for you to do this:

    • Manual addition: You can choose this method if you configure credentials for a small number of servers. For details, see Adding Resource Credentials.
    • Batch addition: You can choose this method if you configure credentials for a large number of servers.
      1. Click Associate Credentials above the list of source servers to download the template for batch configuring credentials. Open the template file, enter the credential information (username and password) of all servers in the current migration plan, and save the file.

      2. Import the saved template file to the MgC Agent you connected to MgC. The system automatically configures the MgC Agent and credentials for the servers.

    You can use Modify in the Operation column to update settings, such as Access IP Address, Access Port, MgC Agent, and Credential.

  10. Select all the servers and click Check Migration Readiness above the list. The system checks if the source servers are ready for migration.

    • If the Migration Readiness Check column displays a Completed status, the source server passes the check and is ready for migration.
    • If the Migration Readiness Check column displays a Check failed status and the failure cause is that certain source server information is missing, click Collect in the Deep Collection column to collect the server details.
    • If the Migration Readiness Check column displays a Check failed status and the failure cause is that the source server is unreachable, check whether the access information you provided is correct. If it is correct, check the migration readiness again.

  11. After Completed shows up in the Migration Readiness Check column for all the source servers, click Next to go to the optional phase Conduct Performance Collection.
  12. (Optional) Collect server performance data. The collected data can be used to get target server recommendations in the next step. A collection takes some time because performance data is sampled from source servers once every 5 minutes. You can determine whether to perform performance collection. For more constraints, see Precautions for performance collection. If you do not need to collect server performance data, click Next to go to the Configure Target phase.

    Select the source servers whose performance data needs to be collected and choose Performance Collection > Start above the list. Collecting will be displayed in the Performance Collection column

    After the performance data collection is complete, you can:

    • Click View Performance in the Operation column to view the collected server performance data.
    • Choose Performance Collection > Stop above the list to suspend performance data collection for servers.

  13. Configure target servers. You can use the following methods to complete this job:

    • Associating source servers with target servers: If you have cloud servers on Huawei Cloud, you can associate them with the source servers. Then in the migration workflow, these cloud servers will receive data and workloads migrated from the source servers. For requirements about your existing cloud servers (target servers), see Associating Source Servers with Target Servers.
      1. Locate a source server in the list, click Associate in the Target Association column.

      2. In the displayed dialog box, select the region and project where the existing cloud servers are located. If the source server's storage disks are overprovisioned, regardless of the quantity or space, you can choose an existing cloud server that precisely fits your needs to optimize resource utilization and save costs.
        NOTICE:
        • Ensure that the target server has an EIP bound.
        • Disk downsizing is only available for Linux, and the decreased sizes must be larger than the used sizes of the source disks.
        • In the cross-AZ migration scenario, only disk upsizing is supported. Even if you choose to downsize disks here, the settings will not be applied, and the system will create target disks as large as source disks.
      3. Click Confirm. After the association is complete, Associated shows up in the Target Association column. You can click Details to view the details of the associated target server. The system will automatically check whether the associated target server has downsized disks compared with the source server. If it does, Yes will be displayed in the Disk Downsized column. If it does not, No will be displayed.
    • Generating target server recommendations: You can choose to let the system recommend you rightsized Huawei Cloud servers based on the source server specifications. You can also manually adjust the recommended server specifications. In the subsequent migration workflow, the target servers will be automatically created based on the specifications configured here. Source servers with target servers associated will be skipped during the recommendation process.
      1. In the source server list, select the ones that you want to generate target server recommendations for and click Generate Target Recommendations above the list.
      2. Configure the policy used to compute target recommendations based on Table 2.
        Table 2 Settings used for computing target recommendations

        Parameter

        Description

        Priority

        • High performance

          MgC recommends target servers with optimal performance.

        • Low cost

          MgC recommends the most cost-effective target servers that meet your demands.

        Preferences

        Configure your preferences for target servers. Your preferences will be the first attempted to be matched during the recommendation. For details about how the system recommends appropriate target resources, see How Does MgC Generate Target Recommendations?

        • Server Types (Optional)

          Select the server types you prefer.

        • Server Series (Optional)

          Select the server series you prefer. The system will generate recommendations based on your preferred server types and series.

          NOTICE:

          If you select Display only series allowed on DeHs, Server Types will be dimmed, and the server series allowed on DeHs in the target region will be listed.

        • System Disk (Optional)

          Select the system disk type you prefer.

        • Data Disk (Optional)

          Select the data disk type you prefer.

        • Sizing Criteria

          Choose the criteria that the system will use to generate server recommendations.

          • If you select As-in on source, the system will recommend target servers with the same or as close CPU and memory capacity as the source servers.
          • If you select Performance-based, you need to perform a performance collection for the source servers, and then set assessment parameters. The system will then recommend target servers with your desired CPU and memory capacity.
            NOTICE:

            The more performance data is collected, the more accurate the recommendations are. The collection of server performance data should take no less than seven days.

      3. Click Confirm. If Success shows up in the Target Configuration column, the target recommendation is generated. You can check the recommended configuration in the next column

      4. (Optional) Modify target server specifications recommended by the system if needed.
        1. Locate a source server and click Modify Target Specifications in the Operation column.
        2. Modify the specifications and image for the target server.

        3. In the disk area, locate a disk and click Modify in the Target Specifications column to modify the disk type and capacity. Only disks on Linux target servers can be downsized if the paired source servers have over-provisioned storage resources. If you downsize a disk for the target server, the system will set Disk Downsized to Yes. The reverse also applies.
          NOTICE:
          • The system disk capacity ranges from 40 GB to 1,024 GB.
          • The data disk capacity ranges from 10 GB to 32,768 GB.
          • Disk downsizing is only available for Linux, and the decreased sizes must be larger than the used sizes of the source disks.
          • In the cross-AZ migration scenario, only disk upsizing is supported. Even if you choose to downsize disks here, the settings will not be applied, and the system will create target disks as large as source disks.

    • Configuring target server specifications: You can manually configure the same target server specifications for the source servers all at once.
      CAUTION:

      When selecting server specifications, it is crucial to ensure they meet your requirements. The system does not check whether they match the source servers. MgC does not assume responsibility for any issues arising from inappropriate server specifications.

      1. In the server list, select the source servers and click Configure Target Specifications above the list.
      2. Select the target server specifications and click OK. Then you can see Target Configuration changes to a Manual status.

    • Configuring an image for target servers: You can select an image to apply to all the target servers.
      CAUTION:

      When selecting an image, it is crucial to ensure it meets your requirements. The system does not check whether it matches the source servers. MgC does not assume responsibility for any issues arising from inappropriate images.

      1. In the server list, select the source servers and click Configure Image above the list.
      2. On the displayed page, choose an image type, an OS, and an OS version and click Confirm. If a target server has a system disk smaller than what defined in the image you choose, configuring the image will fail for that server.
    • Exporting and then importing target server configurations: You can export the target server configurations, modify or configure the server, disk, and image settings, and then import the updated configurations back. Some technical expertise is needed for this process.
      1. In the list of source servers, choose Export/Import Target Configuration > Export Target Configuration to download the server information to the local PC as an Excel file.

      2. Open the exported file. On the first sheet named servers, the blue columns (columns A to G) indicate the source server information, which does not need to be modified. The yellow columns (columns H to K) indicate the target server information, which needs to be configured.

      3. Configure the target server information (in columns H to K) according to Table 3.
        Table 3 Parameters in columns H to K

        Parameter

        Configuration

        flavor

        Enter the flavor name for the target server. The second sheet flavors lists the flavors of S- (general-purpose) and C- (computing-plus) series on sale in the target region. Choose a proper flavor and copy the flavor name to this cell.

        NOTE:

        If a source server has been assessed, the recommended flavor is included in the exported file. If a source server has not been assessed, its flavor field is empty.

        disks(name,osDisk,type,capacity;)

        Enter the information about all disks. Separate multiple disks with semicolons (;). You must specify the name, function (system or not), type, and size for each disk. Separate these items with commas (,). Please keep in mind that the disk size is a number without unit. The default unit is GiB.

        Example: /dev/sda,true,SAS,1024;/dev/sdb,false,SAS,2046

        NOTE:

        If a source server has been assessed, the recommended disk specifications show up in the exported file. If a source server has not been assessed, the source disk specifications are used, except the disk type. The target disk type defaults to SAS.

        image_type

        Enter the image type. The options are:

        • public: public image
        • private: private image
        • shared: shared image

        image

        Enter the image name. You can view all available images in the target region on the third sheet images.

      4. After configuring the target server information for all source servers, save the Excel file. Return to the MgC console. Choose Export/Import Target Configuration > Import Target Configuration above the list of source servers.

      5. In the displayed dialog box, click Access OBS to go to the OBS page.

      6. Select a bucket and upload the Excel file to the bucket.
      7. After the upload is successful, return to the MgC console. In the Import Target Configuration dialog box, select the file stored in the OBS bucket from the drop-down list.
      8. Click Confirm to import the target server configurations.
        NOTE:
        • If the flavor parameter is empty in a row, this row will be ignored during the import.
        • If the disk or image parameter is left empty in a row, the source server's disk and image information is used during the import.
        • If the number in the disk field of a row is inconsistent with what the source server actually has, an error message is reported, indicating that the disk numbers are inconsistent.
        • If in a row, the disk type conflicts with the flavor, an error message is displayed, indicating that the disk type is incorrect.
    • Associating source servers with DeHs if you want to migrate to Huawei Cloud DeH. Then after you create a migration workflow for this plan, the system will provision the recommended target servers on the DeHs.
      1. In the source server list, select the ones to be associated with a DeH.
      2. Choose DeH Configuration > Associate DeH above the list.
      3. Select the target DeH to be associated from the drop-down list and click Confirm. Associated will show up in the DeH column. You can click Details to view the associated DeH.

  14. Perform subsequent operations as needed.

    • Create a server migration workflow.

      Click Create Workflow to create a migration workflow. For more information, see 5.

    • Only save the migration plan.
      Click Confirm to save the migration plan. Then you can:
      • Click Design in the Operation column to modify the migration plan.
      • Click Create Workflow in the Operation column to create a server migration workflow to migrate the source servers included in the migration plan. For more information, see 5.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback