Overview
This document describes how to migrate metadata from an open-source RabbitMQ cluster to a TDMQ for RabbitMQ cluster.
Prerequisites
You have exported the metadata file from open-source RabbitMQ.
Directions
Exporting the metadata from a self-built RabbitMQ cluster
2. In the left sidebar, choose Cluster Management > Cluster List. After the region is selected, click the ID of the target cluster to enter the basic information page of the cluster.
3. In the Web console access address module, view the username and password, and click the public network access address.
4. Use the username and password from the previous step to log in to the self-built open-source RabbitMQ console.
5. On the Overview tab page, click Export definitions, and enter the filename for download. Select All or a specific vhost for the Virtual host field and click Download broker definitions on the right to export the metadata file of all Vhosts or the specified vhost.
6. View the content of the exported metadata.
Importing Metadata into a Tencent Cloud RabbitMQ Cluster
1. Log in to the Tencent Cloud console, and click Migrate to Cloud .
2. On the Cloud Migration Task List page, click Create Task .
Target cluster: Select the target TDMQ for RabbitMQ cluster to which metadata is imported.
Task Type
All: Import all metadata from the open-source RabbitMQ cluster into the TDMQ for RabbitMQ cluster.
Specified Vhost: Import specified Vhost metadata from the open-source RabbitMQ cluster into the specified Vhost of the TDMQ for RabbitMQ cluster.
Metadata File: Select a local metadata file.
Note:
Importing the cluster name or admin password may disable some features. It is recommended that you remove such metadata fields.
3. Check the data to import on the preview page to ensure its accuracy. If there are any errors, modify the source cluster metadata format based on the error message.
4. Click Create Task . A task record is generated on the Cloud Migration Task List page.
5. Click View Details to view details of this migration task.
Was this page helpful?