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 One-stop Cross-AZ ECS Migration.
Preparations
- Prepare a HUAWEI ID or an IAM user that has the permissions to access MgC. For details, see Preparations.
- Create a migration project on the MgC console. For details, see Managing Migration Projects. Set Project Type to Application migration.
Step 1: Discover Servers in the Source AZ
- Sign in to the MgC console. In the navigation pane, under Project, select an application migration project from the drop-down list.
- In the navigation pane, choose Source Resources.
- Under Online Discovery, click Cloud Discovery.
Figure 1 Cloud platform discovery
- Configure the parameters listed in Table 1.
Table 1 Parameters for creating an Internet-based discovery task Region
Parameter
Description
Task Settings
Source Platform
Select Huawei Cloud.
Collection Method
- If you choose Credential, select the credential for accessing the source cloud platform. If the credential is not in the drop-down list, choose Create to add it. For details, see Managing Credentials.
- If you choose Agency, a cloud service agency is required to assign MgC the permissions required to access resources in your current account. For details about the agency permissions, see Cloud Discovery.
If the Agency Status is Agency not created, click Create Agency. On the displayed page, click OK.
NOTE:The AK/SK pair of the source account must be specified in the new credential.
Region
Select the region where the source servers are located. You can select multiple regions.
Resource Type
Select Servers from the drop-down list.
Basic Settings
Task Name
The default name format is <task type>-<current-time>. You can also specify a name.
Task Description (Optional)
Describe the task.
Application (Optional)
Select the application that you want to group the discovered resources into. If no applications are available, perform the following steps to create one:
- Click Create Application. Enter an application name and description.
- Configure Business Scenario and Environment, and set Region to the region that you want to migrate to.
- Click OK.
- Click OK. After the discovery task is created, the task center page is displayed, and MgC starts to automatically discover servers in the selected regions selected in step 4.
- If the task succeeds, return to the Source Resources page and view the list of discovered source resources.
- If the task fails, click the task name to view the data source that fails to be collected. Hover over to the collection status to view the failure cause.
Step 2: Group Servers as an Application
If the servers discovered have already been grouped into an application in step 4, skip this section and go to Step 3: Get Target Recommendations.
- On the Source Resources page, in the server list, select the servers to be added to the same application and choose Group as Application above the list.
- Select the application from the drop-down list. If no applications are 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: Get 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 servers to be assessed.
- Configure an 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 server types, server series, and disk types you prefer. Your preferences have the highest priority during the resource assessment.
- Click Confirm.
- In the application list on the Migration Solutions page, locate the application and click View Target Configurations in the Operation column.
In the Target Configurations area, you can view the specifications of Huawei Cloud servers recommended based on the source server specifications and your preferences. You can also review the estimated costs of recommended Huawei Cloud resources.
- (Optional) Click Modify Target Configuration in the Operation column to update the specifications, disk type, and disk storage for a target server.
- Modify the specifications and image for the target server.
- In the Disks area, locate a disk and click Modify Specifications in the Target Specifications column. You can 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.
- 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.
Step 4: Create a Cross-AZ Migration Workflow
After completing steps 1 to 3, 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