@baris One related question. I am aiming to make the system fault tolerant so if one of the servers go down, the other one can still server users. In this case, how would I go configuring redis in the NodeBB config file?
Currently redis is running on server 1 only and server 2's NodeBB config has it's server 1's IP for redis.
mutahar ali
Posts
-
Clustering on two machines -
Clustering on two machinesHave successfully completed my setup. Thanks!
-
Clustering on two machines@baris Thanks alot! That clears up a lot of confusion.
Also, I wasn't able to find a guide on how to create a MongoDB replica for my nodebb database. If it's not too much trouble, could you explain the steps at a high level? Any direction would be highly appreciated.
Thanks again for the help!
-
Clustering on two machinesHi,
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!
-
Admin Invites and Registration QueueIs there a way to enable registration queue but make it so that user's registering with admin invites are able to register bypassing registration queue and admin approval? Since it would only make sense since the admins are the ones who invited the user.
Many thanks!