Configure SystemLink to access a remote Mongo database to enhance scalability and fault
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.
Launch NI SystemLink Server Configuration.
Under NI SystemLink Service Manager, click
Under Configuration, choose whether you want to connect
using parameters or a custom connection string.
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.
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
Refer to the MongoDB documentation for more information about connecting to
remote MongoDB instances using replica sets.