Help Center/ Migration Center/ Best Practices/ Storage Migration/ Performing a NAS-to-NAS Migration and Service Cutover
Updated on 2024-12-03 GMT+08:00

Performing a NAS-to-NAS Migration and Service Cutover

Overview

  • This solution is applicable to scenarios where source services must keep running during a NAS-to-NAS migration.
  • It involves multiple incremental migrations to ensure data accuracy, data consistency, and service continuity.
  • The supported source storage types include NAS_SMB, NAS_NFS_V3_MOUNT, NAS_NFS_V3_PROTOCOL, and NAS_GFS.
  • The supported target storage types include NAS_SMB and NAS_NFS_V3_MOUNT.

Notes

During the migration, the APIs of the source cloud platform will be called. These API calls might incur fees on the source platform, and you will be responsible for those fees according to the source billing structure.

Process

Step

Description

Preparations

  • Sign up for a HUAWEI ID, enable Huawei Cloud services, and top up your account.
  • Obtain the required permissions for the source and target accounts.
  • Obtain an AK/SK pair for the target account.
  • Create a migration project on the MgC console.
  • Create a migration cluster on the MgC console.
  • Prepare a file system in the target region.

Step 1: Create a Full Migration Workflow

Create a migration workflow on the MgC console to fully migrate source data.

Step 2: Create an Incremental Migration Workflow

Create a migration workflow and execute it multiple times to migrate incremental data.

Step 3: (Optional) Switch Gray Traffic

If possible, switch gray traffic to the target to verify service continuity and data consistency.

Step 4: Perform a Service Cutover

After multiple incremental migrations are complete, identify an optimal time window for the final incremental migration and the final service cutover.

Preparations

  • Preparing a Huawei account

    Before using MgC, prepare a HUAWEI ID or an IAM user that can access MgC and obtain an AK/SK pair for the account or IAM user. For details, see Making Preparations.

  • Creating a migration project

    Create a migration project on the MgC console. For details, see Managing Migration Projects.

  • Creating a migration cluster

    Create a dedicated migration cluster for this migration. For details, see Creating a Cluster.

  • Creating an SFS file system

    Create a file system for storing migrated data. For details, see Creating a File System.

Step 1: Create a Full Migration Workflow

  1. Sign in to the MgC console.
  2. In the navigation pane on the left, choose Migrate > Workflows. In the upper left corner of the page, select the migration project created in Preparations.
  3. Create a workflow to perform a full migration.

Step 2: Create an Incremental Migration Workflow

After the full migration is complete, create a workflow to perform incremental migrations. For this workflow, set Overwrite Existing to If older or different size and retain all other parameters as they were in the workflow created in step 1. After the configuration is complete, run this workflow to start an incremental migration.
Figure 1 Choosing how to overwrite existing files

Step 3: (Optional) Switch Gray Traffic

After the first incremental migration is complete, if possible, switch gray traffic to the target to verify services.

Step 4: Perform a Service Cutover

After completing multiple incremental migrations, schedule a window for the final service cutover. Stop services at the source, complete the last incremental migration, and transition service traffic to the target.