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
- Prepare a Huawei account or an IAM user that can access MgC. For details, see Preparations.
- Create a migration project on the MgC console.
Step 1: Discovers Servers in the Source AZ
- Sign in to the MgC console.
- In the navigation pane on the left, choose Research > Application Discovery. Select a migration project in the upper left corner of the page.
- In the upper right corner of the page, choose Discover > Over Internet.
- 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
- Enable cloud platform collection, select Servers from the Resource Type drop-down list.
- (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.
- 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.
- 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.
- 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
- Click OK. You can view the application name in the Application column of these servers.
Step 3: Getting Target Recommendations
- On the Migration Solutions page, click Assess in the Target Configuration card.
- In the Select Application drop-down list, select the application into which the source servers have been grouped.
- In the Select Resources area, select the resources to be assessed in the application.
- 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
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.
- Click OK.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot