This step is only required if the Back Office environment and the Indexing environment are hosted on different servers.
To make sure that MongoDB IP address is correctly set, perform the following steps:
- Edit the following file:
- In the bindIp parameter, modify or add the following line:
Note: Ensure the line is not commented (remove '#').
- Restart MongoDB by running the following command:
systemctl restart mongod.service
Unless the server is hosted by AWS, it is recommended to use the IP address of the current server instead of 0.0.0.0, as in the following example: bindIp: 220.127.116.11
This configuration opens MongoDB connection to any machine capable of reaching "process" server (and not only "BO"). While it is highly recommended to operate a cluster of AIF/AFS/ABO machines behind a global fire-walling solution, "process" can be protected on its own.
This can be done for example using iptables as described in MongoDB Official Documentation.