Hi,
We have successfully deployed NodeBB on 1 machine with 3 NodeBB processes on the same machine at different and using nginx to load balance between the 3. We are using MongoDB as the database, and have also setup redis for inter-process communication.
Now we plan to add another machine to further increase user capacity. Both machines will have 3 NodeBB processes each. We have the following questions:
- Do we start the NodeBB processes on the machine 2 and have the same redis server in the config so the processes can communicate?
- Do we set isCluster to true?
- How do we make a MongoDB replica? Do we add the IPs of both mongo instances in the config file of nodebb on both machines?
Any help will be appreciated. Thanks!