Create the mongo.conf.json Configuration File - Fluid Topics - 3.8

Install Fluid Topics on Multiple Servers

Fluid Topics
Technical Notes

This file is required on the server hosting the Indexing environment.

The servers hosting MongoDB must be declared to enable writing and reading on the MongoDB databases.

For more information on data storage in a Fluid Topics environment, see Data Storage.

It is recommended to have several MongoDB servers to store Fluid Topics data. This way, if one is off, the other one(s) can be used.

  1. Create the following file:

    As antidot user


    If necessary run the following command to create the "-" directory:

    As antidot user

    mkdir /usr/local/afs7/Fluid-Topics/conf/-

  2. Add the following lines:

    "hosts": [
    {"hostname": "$MONGO_DB_HOST"}

    Where $MONGO_DB_HOST is the hostname of the server hosting the MongoDB Environment. Default hostname is "localhost".

One "hostname" parameter is required for each unique server.

In our example, add the following lines:

"hosts": [
{"hostname": "mong01"},
{"hostname": "mong02"},
{"hostname": "mong03"}

For these modifications to be taken into account, it is mandatory to restart the Fluid Topics server by running the following command:

As root user

systemctl restart fluidtopics