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

Install Fluid Topics on Multiple Servers

Product
Fluid Topics
FT_Version
3.8
Platform
RHEL
Category
Technical Notes
language
English

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

    /usr/local/afs7/Fluid-Topics/conf/-/mongo.conf.json

    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"}
]
}