Section | Parameter | Description |
N/A | 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 | The type of the source database. Select MongoDB. |
Access Method | The access method of the source database. Select Alibaba Cloud Instance. |
Instance Region | The region where the source 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 | The architecture in which the source instance is deployed. Select Sharded Cluster. |
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 | The ID of the source ApsaraDB for MongoDB instance. |
Authentication Database | The name of the authentication database that stores the database accounts and passwords of the source ApsaraDB for MongoDB instance. If you did not change the name of the authentication database before, the default value admin is used. |
Database Account | The database account of the source ApsaraDB for MongoDB instance. The account must have read permissions on the source database, the config database, the admin database, and the local database. |
Database Password | The password that is used to access the database. |
Shard account | The account that is used to access the shard nodes in the source ApsaraDB for MongoDB instance. Note If the source database is a self-managed MongoDB database, you must specify the information that is used to access the shards. |
Shard password | The password that is used to access the shard nodes in the source ApsaraDB for MongoDB instance. |
Destination 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.
|
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 | The type of the destination database. Select MongoDB. |
Access Method | The access method of the destination database. Select Alibaba Cloud Instance. |
Instance Region | 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 | The architecture in which the destination ApsaraDB for MongoDB instance is deployed. |
Instance ID | The ID of the destination ApsaraDB for MongoDB instance. |
Authentication Database | The name of the authentication database that stores the database accounts and passwords of the destination ApsaraDB for MongoDB instance. If you did not change the name of the authentication database before, the default value admin is used. |
Database Account | The database account of the destination ApsaraDB for MongoDB instance. The account must have the dbAdminAnyDatabase permission, the read and write permissions on the destination database, and the read permissions on the local database. |
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.
|