Category | Configuration | Description |
None | Task Name | The name of the DTS task. DTS automatically generates a task name. We recommend that you specify a descriptive name that makes it easy to identify the task. You do not need to specify a unique task name. |
Source Database | Select Existing Connection | The database that you want to use. You can choose whether to use an existing database based on your business requirements. If you select an existing database, DTS automatically populates the parameters for the database. If you do not select an existing database, you must configure the following database information.
|
Database Type | Select MongoDB. |
Access Method | Select Alibaba Cloud Instance. |
Instance Region | Select the region where the source ApsaraDB for MongoDB instance resides. |
Replicate Data Across Alibaba Cloud Accounts | This example is for synchronization between the same Alibaba Cloud account. Select No. |
Architecture | This example selects Replica Set. Replica Set: Achieves high availability and read/write splitting by deploying multiple nodes. For more information, see ReplicaSet architecture. Sharded Cluster: Provides three components: Mongos, Shard, and ConfigServer. You can freely choose the number and configuration of Mongos and Shard. For more information, see Sharded cluster architecture.
|
Migration Method | The method used to synchronize incremental data from the source database. Select a method based on your business requirements. Valid values: Oplog (recommended): This option is available if the oplog feature is enabled for the source database. Note By default, the oplog feature is enabled for both self-managed MongoDB databases and ApsaraDB for MongoDB instances. This feature allows you to synchronize incremental data at a low latency because of a fast log pulling speed. Therefore, we recommend that you select Oplog for the Migration Method parameter. ChangeStream: This option is available if change streams are enabled for the source database. For more information, see Change Streams. Note If the source database is an inelastic Amazon DocumentDB cluster, you can set the Migration Method parameter only to ChangeStream. If you select Sharded Cluster for the Architecture parameter, you do not need to configure the Shard account and Shard password parameters.
|
Instance ID | Select the instance ID of the source ApsaraDB for MongoDB. |
Authentication Database | Enter the name of the database to which the database account of the source ApsaraDB for MongoDB instance belongs. If it has not been modified, the default is admin. |
Database Account | Enter the database account of the source ApsaraDB for MongoDB instance. For permission requirements, see Permissions required for database accounts. |
Database Password | The password that is used to access the database. |
Encryption | Specifies whether to encrypt the connection to the source database. You can select Non-encrypted, SSL-encrypted, or Mongo Atlas SSL based on your business requirements. The options available for the Encryption parameter are determined by the values selected for the Access Method and Architecture parameters. The options displayed in the DTS console prevail. Note If the Architecture parameter is set to Sharded Cluster, and the Migration Method parameter is set to Oplog for the ApsaraDB for MongoDB database, the Encryption parameter SSL-encrypted is unavailable. If the source database is a self-managed MongoDB database that uses the Replica Set architecture, the Access Method parameter is not set to Alibaba Cloud Instance, and the Encryption parameter is set to SSL-encrypted, you can upload a certification authority (CA) certificate to verify the connection to the source database.
|
Destination Database | Select Existing Connection | The database that you want to use. You can choose whether to use an existing database based on your business requirements. If you select an existing database, DTS automatically populates the parameters for the database. If you do not select an existing database, you must configure the following database information.
|
Database Type | Select MongoDB. |
Access Method | Select Alibaba Cloud Instance. |
Instance Region | Select the region where the destination ApsaraDB for MongoDB instance resides. |
Replicate Data Across Alibaba Cloud Accounts | In this example, a database of the current Alibaba Cloud account is used. Select No. |
Architecture | This example requires selecting Sharded Cluster. |
Instance ID | Select the instance ID of the destination ApsaraDB for MongoDB. |
Authentication Database | Enter the name of the database to which the database account of the destination ApsaraDB for MongoDB instance belongs. If it has not been modified, the default is admin. |
Database Account | Enter the database account of the destination ApsaraDB for MongoDB. For permission requirements, see Permissions required for database accounts. |
Database Password | The password that is used to access the database. |
Encryption | Specifies whether to encrypt the connection to the destination database. You can select Non-encrypted, SSL-encrypted, or Mongo Atlas SSL based on your business requirements. The options available for the Encryption parameter are determined by the values selected for the Access Method and Architecture parameters. The options displayed in the DTS console prevail. Note If the destination database is an ApsaraDB for MongoDB instance and the Architecture parameter is set to Sharded Cluster, the Encryption parameter SSL-encrypted is unavailable. If the destination database is a self-managed MongoDB database that uses the Replica Set architecture, the Access Method parameter is not set to Alibaba Cloud Instance, and the Encryption parameter is set to SSL-encrypted, you can upload a CA certificate to verify the connection to the destination database.
|