Table Of Contents

Connecting to a Remote Mongo Database

Last Modified: September 17, 2021

Configure SystemLink to access a remote Mongo database to enhance scalability and fault tolerance.

Before you begin, contact your database administrator to determine the port and login credentials you need to use to connect to a remote Mongo database. Refer to MongoDB documentation or the SystemLink Operations Handbook on GitHub for more information on installing and setting up a Mongo database.
  1. Launch NI SystemLink Server Configuration.
  2. Under NI SystemLink Service Manager, click NoSqlDatabase.
  3. Under Configuration, choose whether you want to connect using parameters or a custom connection string.
  4. If you want to connect using parameters, click Connect to an externally managed server using parameters and specify the following information:
    • Host—The name of the Mongo server.
    • Port—The port this connection will use. The most common port is 27017.
    • The username and password you use to connect to the Mongo database.
  5. If you want to connect using a custom connection string, click Connect to an externally managed server using a connection string and enter it in the Custom connection string textbox. Refer to the MongoDB documentation for more information about connecting to remote MongoDB instances using replica sets.
  6. Click Apply.

Recently Viewed Topics