You can use the MSE Sync migration tool to easily synchronize services registered in Serverless App Engine (SAE) or Enterprise Distributed Application Service (EDAS) to a Microservices Engine (MSE) Nacos registry. This topic describes how to migrate services from a built-in SAE or EDAS registry to an MSE Nacos registry.
Prerequisites
An MSE Nacos instance is created. For more information, see Create a Nacos engine.
The MSE Sync tool is deployed. For more information, see Migration solution based on MSE Sync.
Limits
If the MSE Sync tool breaks down, the synchronization is interrupted. Therefore, we recommend that you deploy the MSE Sync tool on at least two nodes. After the migration process starts, you must complete the migration at the earliest opportunity.
The networks among the SAE or EDAS built-in registry, MSE Sync, and MSE Nacos registry are interconnected.
Migration procedure
Step 1: Obtain the SAE or EDAS namespace
EDAS
Log on to the EDAS console.
In the left-side navigation pane, choose .
On the Microservices Namespace page, view the ID of the namespace.
SAE
Log on to the SAE console.
In the left-side navigation pane, click Namespaces. In the top navigation bar, select a region.
On the Namespaces page, view the TID of the namespace. TID indicates the ID of the namespace.
Step 2: Create a migration task
In the navigation pane on the left of the MSE Sync tool, click Cluster Configuration. Then, click New Cluster. In the New Cluster dialog box, add the ID, AccessKey ID, and AccessKey secret of the namespace that you obtained in Step 1. You must set the Region parameter to the region where the EDAS or SAE namespace resides. Then, click OK.
Click New Cluster again to add the information about the destination Nacos registry. Set Cluster Type to NACOS and enter the related information. If authentication is not enabled for the purchased MSE Nacos registry, you do not need to specify the AccessKey ID, AccessKey secret, username, and password parameters. Then, click OK.
In the navigation pane on the left, click Synchronization Tasks. On the Service Synchronization page, click New Sync. In the dialog box that appears, select the SAE or EDAS cluster that you created for the source cluster, select the MSE Nacos cluster for the destination cluster, and configure the synchronization mode and synchronization type. The services in the namespace of the source cluster are automatically queried. Select the services that you want to synchronize and click OK.
View the synchronized service names on the Service Synchronization page.
Step 3: Verify the synchronization result
Log on to the MSE console, and select a region in the top navigation bar.
In the left-side navigation pane, choose Microservices Registry > Instances.
On the Instances page, click the name of the instance.
In the navigation pane on the left, choose Service Management > Services to check whether the service data is synchronized.