Help Center/ Migration Center/ Best Practices/ Server Migration/ Migrating Servers Across AZs on Huawei Cloud
Updated on 2024-10-21 GMT+08:00

Migrating Servers Across AZs on Huawei Cloud

Scenario

This section describes how to use MgC to migrate a large number of servers between AZs within a region of Huawei Cloud. For a small-scale, single-batch migration of fewer than 30 servers, see Migrating Servers Across AZs on Huawei Cloud.

Preparations

Step 1: Discovers Servers in the Source AZ

  1. Sign in to the MgC console.
  2. In the navigation pane on the left, choose Research > Application Discovery. Select a migration project in the upper left corner of the page.
  3. In the upper right corner of the page, choose Discover > Over Internet.
  4. Configure the parameters listed in Table 1.

    Table 1 Parameters for creating an Internet-based discovery task

    Region

    Parameter

    Description

    Mandatory

    Task Basics

    Task Name

    Enter a task name.

    Yes

    Task Description

    Describe the task.

    No

    Task Settings

    Source Platform

    Select Huawei Cloud.

    Yes

    Credential

    Select the credential of the source account. If no credential is available, choose Create to create a credential by referring to Adding a Credential.

    NOTE:

    The AK/SK pair of the source account must be specified in the new credential.

    Yes

    Region

    Select the region where the source servers are located. You can select multiple regions.

    Yes

  5. Enable cloud platform collection, select Servers from the Resource Type drop-down list.
  6. (Optional) Group the servers to be discovered as an application.

    • If an application is available, select the application from the Application drop-down list.
    • If no application is available, click Create Application. In the displayed dialog box, enter an application name and description, select Cross-AZ migration for Business Scenario, select the target region and AZ, and click OK.

  7. Click OK. After the discovery task is created, MgC starts to automatically discover servers in the selected regions selected in Step 4.

    • On the Application Discovery page, click the Resources tab and click the number in the Server row.
    • On the Application Discovery page, in the Discovery Task card, click View next to Total tasks. If the task status is Failed, click View in the Operation column to view the data source that failed to be collected. You can move the cursor to the collection status of the data source to view the failure cause. After handling the failure causes, you need to delete the collection item and add it again if you still want to collect this item.

Step 2: Group Servers as an Application

If the servers discovered have already been grouped into an application inStep 6, skip this section and go to Step 3: Getting Target Recommendations.

  1. In the Servers list of the Resources page, select the servers to be added to the same application and choose Resource Management > Manage Application Association in the upper left corner.
  2. Select the application from the drop-down list. If no application is available, click Create Application. In the displayed dialog box, enter an application name and description, select Cross-AZ migration for Business Scenario, select the target region and AZ, and click OK. For details, see Creating an Application
  3. Click OK. You can view the application name in the Application column of these servers.

Step 3: Getting Target Recommendations

  1. On the Migration Solutions page, click Assess in the Target Configuration card.
  2. In the Select Application drop-down list, select the application into which the source servers have been grouped.
  3. In the Select Resources area, select the resources to be assessed in the application.
  4. Configure the assessment policy based on Table 2.

    Table 2 Settings used for computing target recommendations

    Parameter

    Description

    Target Region

    Select the region you want to migrate to.

    Assessment Policy

    Select Cross-AZ migration and select the target AZ.

    Priority

    • High performance

      MgC recommends target resources based on your performance requirements.

    • Low cost

      MgC recommends target resources based on your cost requirements.

    Preferences

    You can select ECS types, CPU types, and disk types you prefer. The configured advanced options have the highest priority during the resource assessment.

  5. Click OK.
  6. In the application list on the Migration Solutions page, locate the applications and click View Target Configurations in the Operation column.

    In the Target Configurations area, you can view the specifications of Huawei Cloud resources recommended based on the source resource specifications and your selected preferences. It also gives you the ability to estimate the cost of running on Huawei Cloud. In addition, you can modify the recommended target configurations.

Step 4: Creating a Cross-AZ Migration Workflow

After step 1 to step 3 are complete, create a cross-AZ migration workflow.