Skip to content

Multi node Configuration

ARIbemoss edited this page May 26, 2017 · 20 revisions

WiKiHome | Installation Guide | Get Started | Developer Resources | BEMOSS™ Team


Multi-node Configuration

BEMOSS™ can be scaled using multiple nodes. While a BEMOSS™ node can be hosted on a virtual machine or a real machine, multiple BEMOSS™ nodes can be hosted on multiple virtual machines on the same computer, multiple virtual machines on different computers, virtual machines, and real machines, or any combinations of Ubuntu system. The only requirement is that all machines that host BEMOSS™ node need to be on the same network.

To get started, all the nodes information can be edited in the 'multinode_data.json' file under BEMOSS™ main directory, as shown below:

The one listed as the first entry of "known nodes" list is the core BEMOSS™, others, therefore, become BEMOSS™ nodes. Usually, it is best to use the most powerful machine as the core, and less powerful ones as nodes. Also, it is not recommended to run more than one core on the same network. Once it is decided which machine is the core, and which machine(s) is the node(s), you can configure both the information of core and node(s) in the 'multinode_data.json' file.

If you have not configured PostgreSQL for multi-node during BEMOSS™ installation, please follow the instruction here.

Step 1. Configuring the Core
Please navigate to BEMOSS™ main folder, find the 'multinode_data.json' and open it using a text editor. Then, modify the "know_nodes" entry by appending all the BEMOSS™ nodes' information to the end of the list, as shown below. All the BEMOSS™ core and nodes information should be included in this entry. And please make sure information of the BEMOSS™ core as the first element and keep "this_node" as the name of BEMOSS™ core

Step2. Configuring the Nodes
Similar to the core, please navigate to BEMOSS™ main folder, find 'multinode_data.json' and open it using a text editor. Keep the content of "know_nodes" as exactly the same as what you did for BEMOSS™ core's 'multinode_data.json' file. And modify "this node" entry into the name of BEMOSS™ that you are operating at.


In order to make the Email and SMS notifications working, a valid Gmail address needs to be set up for the nodes as well. This allows all email notifications to be sent through this email address. Please follow the instruction here to set up email notification.

Step 3. Configuring cassandra
If you did not use the same cassandra cluster name, username and password during the installation in all nodes and the core, as instructed in the installation, then it needs to be set properly now. For this, please go to BEMOSS™ main folder and delete cassandra_settings.txt from both the BEMOSS™ core and the BEMOSS™ node. After this, when you run BEMOSS™, it should ask you for database parameters again. This time, please make sure to use same parameters for all nodes and the core.


[Back to WikiHome]

Clone this wiki locally