Creating a Cross-AZ Server Migration Plan
Preparations
- Prepare a HUAWEI ID or an IAM user that has the permissions to access MgC. For details, see Preparations.
- Create an application migration project.
- Source servers have been discovered and their details have been collected. For details, see "Online Discovery" or "Manually Adding Resources" in Resource Discovery.
Constraints
- Migration plans can be created only in the AP-Singapore and TR-Istanbul regions.
- Only one migration workflow can be created for a migration plan.
- A migration plan can only include source servers from the same platform.
- A server can only be included in one migration plan.
- A migration plan can include a maximum of 100 servers.
Step 1: Create a Migration Plan
- 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 Migration Plans (NEW).
- Click Create Migration Plan.
- Set migration plan parameters based on Table 1.
- Click Confirm. The migration plan for cross-AZ batch server migration is created, and the Select Source Resources page is displayed.
Step 2: Select Source Resources
- In the Server Selection area, from the Source Region drop-down list, select the region where the source servers are located. Then, select the AZ where the source servers are located.
- In the resource list, click Add.
- Select the source servers to be migrated together and click Confirm.
- Confirm that every server in the list needs to be migrated, and click Next to open the Configure Target page.
Step 3: Configure Target Servers
- On the Configure Target page, select the target AZ. After the target AZ is selected, the system automatically configures target servers that match the specifications of their paired source servers.
If no matching server or disk specifications are available in the target AZ, automatic target configuration will fail. To fix this issue, you can:
- Go to the next step and manually configure target servers.
- Remove the source servers from the list.
- (Optional) Manually configure target server specifications. Before proceeding with this operation, carefully assess any associated risks. It is also essential to ensure that the chosen specifications meet your system requirements and compatibility standards.
- In the list of servers to be migrated, click Configure Target in the Operation column.
- In the Target Specifications area, select the target server specifications as required.
- In the Target Disks area, select a storage type and size for each target server disk.
- Click Confirm. Manual will appear in the Target column.
- Confirm that all source servers have their targets configured, and click Verify in the Quota Verification area to check whether the resource quotas in your account in the target region can meet the request. If the request can be met, click Next to configure migration settings.
Step 4: Configure Migration Settings
- Configure migration settings based on Table 2.
Table 2 Migration settings Area
Parameter
Description
Network Settings
Retain Source Network Settings
This option is selected. The VPC and subnet settings of the source servers will be retained after the migration, but their IP addresses will not.
Migration Settings
Create Target Immediately
This option is selected. After the migration is started, the system will create backups and images for the source servers, and immediately use those images to create target servers.
Stop Target After Creation
- If this option is selected, target servers will be stopped after being created.
- If this option is not selected, target servers will be started after being created.
Stop Source Before Incremental Backup
- If this option is selected, the source servers will be stopped before they are incrementally backed up. This ensures data consistency as high as possible.
- If this option is not selected, the source servers remain started when they are backed up.
Create System Disk Image
- If this option is selected, the system will create system disk images for source servers. These images can be used to reinstall the OS for the paired target servers.
- If this option is not selected, no system disk images will be created.
Advanced Settings
Delete Intermediate Resources
If this function is enabled, intermediate resources generated during the migration, such as backups, snapshots, and images, will be deleted after the service cutover is complete.
Retain Primary NIC IP Address
This option can be selected only if both Stop Target After Creation and Stop Source Before Incremental Backup are selected.
If this option is selected, the private and public IP addresses bound to the primary NICs on source servers will be retained on target servers, and random private IP addresses will be allocated to source servers. If a rollback is needed, it has to be performed manually.
Send SMN Notifications
Determine whether to get SMN notifications about the migration workflow. You can configure Topic, Language, and Trigger Condition.
Before enabling this function, create an SMN topic and subscribe to it. For details, see Publishing a Template Message.
NOTE:You can only choose an SMN topic in the default IAM project of the region where you currently use MgC.
To enable this function, you need to authorize MgC when the system prompts you.
Select one or more trigger conditions.
- Migration succeeded: A notification will be sent if all resources in the migration workflow are migrated.
- Migration failed: A notification will be sent if any resource in the migration workflow fails to be migrated.
- Manual checkpoint: A notification will be sent if all resources in the migration workflow are waiting for manual confirmation.
- Click Next to open the Confirm page.
Step 5: Confirm the Configurations
After performing steps 1 to 4, check the resource and migration settings on the Confirm page. To update the settings, click Previous to return to the corresponding stage for modification.
Step 6: Perform Follow-Up Operations
After confirming that the configurations are correct, perform follow-up operations as required.
- If you want to start the migration immediately, click OK to start the workflow and view the workflow details.
- If you want to save the migration workflow without starting the migration, click Cancel. The migration workflow will move to a Waiting status, and the migration has not started yet. To run the workflow, click Run in the Operation column to manually start the migration.
For more information about migration workflows, see Creating a Cross-AZ Server Migration Workflow.
- Click Design in the Operation column to update the migration plan.
- Click Create Workflow in the Operation column to create a cross-AZ migration workflow on the top of the plan. For details, see Creating a Cross-AZ Server 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