Updated on 2024-12-19 GMT+08:00

Preparations

Before using OMS to migrate data, make preparations by referring to this section.

Registering a HUAWEI ID

Register a HUAWEI ID and enable Huawei Cloud services.

Real-name authentication is required for migrations to regions within the Chinese mainland.

Obtaining the Credentials for Accessing Azure

  • Obtain the storage account and key.
    1. On the Azure portal, click Storage accounts and select the storage account that owns the data you want to migrate.

    2. Under Security + network, choose Access keys. Your account access keys appear, as well as the complete connection string for each key.
    3. Select Show to show your access keys and connection strings and to enable buttons to copy the values.

      You can use either of the two keys to access Azure Storage, but in general it is a good practice to use the first key, and reserve the use of the second key for when you are rotating keys.

  • Obtain the share access signature.
    1. On the Azure portal, click Storage accounts and select the storage account that owns the data you want to migrate.

    2. Under Security & network, choose Shared access signature and set the mandatory parameters listed in Table 1 Setting parameters. Set other parameters as needed.
      Table 1 Setting parameters

      Parameter

      Configuration

      Allowed services

      Select at least Blob.

      Allowed resource types

      Select at least Container and Object.

      Allowed permissions

      Select at least Read and List. If you want to migrate archived objects, also select Write.

      Start and expiry date/time

      Ensure that the connection string does not become invalid during the migration.

    3. Click Generate SAS and connection string. The connection string, SAS token, and Blob service SAS URL are displayed. Click the copy icon next to the connection string to copy the connection string.

      You can use the connection string to access Azure Storage.

Obtaining an AK/SK Pair for Accessing Huawei Cloud

Creating a Destination OBS Bucket

Create an OBS bucket for storing the migrated data. For details, see Creating a Bucket.

Restoring Archive Data in the Source Bucket

You need to restore data of the Archive storage class before you migrate it. Otherwise, the migration will take a long time. For details about how to restore archived data in Azure Blob Storage, see Migrating Archived Data in Azure Blob Storage.

Perform the migration after all archive data is restored. Any data not restored will fail to be migrated.