Connection to MongoDB
This data source type is available for agents on Linux/Unix/Windows if the agent could load the necessary access modules/driver software and the use of this type is included in the installed RDRS license.
The necessary connection parameters for accessing the
data source are displayed after clicking the button
:
The following is an example to define a MongoDB connection:

- Host name: The host name to be utilized for establishing the connection. Can be added to the list of hosts by pressing the green + button.
- Port: The port number of the MongoDB connection specified in the host name field. If not specified, the default value is 27017.
- Hosts: A list of hosts, if more than one is specified, a replica set name is required.
- Replicaset: The name of the replica set if used, optional parameter.
- Loopback database: The name of the database in which the loopback prevention collection is placed. Transactions with session ids written in this collection will be sorted out when performing a cdc replication.
- Login database: The name of the database to be used for login. Only used if a username is specified.
- Username: The user name to be used for login. Only specify if the mongodb installation uses accounts. Otherwise it will result in a connection failure to specify one.
- Password: The password to be used to sign up with the specified username.
- Apply: To apply the changes.
To configure RDRS access to MongoDB, refer Configuring MongoDB access.