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 repo icon:

The following is an example to define a MongoDB connection:


defining MongoDB connection
Perform the following steps:
  1. 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.
  2. Port: The port number of the MongoDB connection specified in the host name field. If not specified, the default value is 27017.
  3. Hosts: A list of hosts, if more than one is specified, a replica set name is required.
  4. Replicaset: The name of the replica set if used, optional parameter.
  5. 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.
  6. Login database: The name of the database to be used for login. Only used if a username is specified.
  7. 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.
  8. Password: The password to be used to sign up with the specified username.
  9. Apply: To apply the changes.

To configure RDRS access to MongoDB, refer Configuring MongoDB access.