Migration with Dual-Write
Scenarios
This section describes how to migrate data using OMS and dual-write. This practice ensures zero service interruption.
The migration process is as follows:
- Before migration, configure your services to write data to both the source and destination buckets. This is to ensure that incremental data is written to both buckets.
- Perform a full migration of source data with OMS. During the migration, OMS automatically identifies objects with the same name at the source and destination and overwrites those at the destination based on configured policy. For details about overwriting policies, see How Does Migration Affect Data in the Destination Bucket?
- After the full migration and service verification are complete, switch services to Huawei Cloud and stop writing data to the source bucket.
OMS makes API calls to the object storage service on the source platform during the migration. These API calls may generate fees on the source platform and you will be responsible for those fees based on those source platform billing structures.
Prerequisites
- You have registered a HUAWEI ID and enabled Huawei Cloud services.
- You have obtained the AK/SK pairs and required permissions for the source and destination platform accounts.
- The source platform account needs the permissions for:
- Listing buckets
- Obtaining bucket locations
- Listing objects
- Obtaining object metadata
- Obtaining object content
For details about how to obtain these permissions, see Source Permissions.
- The destination platform account needs the permissions for:
- Listing buckets
- Obtaining bucket locations
- Listing objects
- Obtaining object metadata
- Obtaining object content
- Listing uploaded parts
- Restoring archive objects
For details about how to obtain these permissions, see Destination Permissions.
- The source platform account needs the permissions for:
- You have created at least one bucket on OBS.
Procedure
- Log in to the management console.
- Click in the upper left corner and select the desired region.
- Click Service List. Under Migration, click Object Storage Migration Service.
The Object Storage Migration Service page is displayed.
- Create a migration task or migration task group to migrate the source data.
- If there is more than 3 TB of data or more than 5 million objects to migrate, create a migration task group. For details, see Creating a Migration Task Group.
- If there is not a lot of source data, create a migration task. For details, see Creating a Migration Task.
- After the migration and service verification, switch services to Huawei Cloud and stop writing data to the source bucket.
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