Title: distributed architecture and data replication
Tags: architecture;orientdb;distributed
Question: I'm looking to implement a very simple distributed architecture; 2 Masters node on 2 workstations ; A fedora workstation and another fedora VM hosted on a Windows computer. 

I followed the installation procedure;  


copy the directory of the "databases" to the second station. 
start of first instance 
start of the second instance 


The instances start correctly. 

But a change on one side is not reflected on the other. 

I don't see what I could have forgotten... 



Here is another answer: this requires enabling, in the config/orientdb-server-config.xml file, the OHazelcastPlugin in each OrientDB.

The nodeName parameter is added with the node name and the enabled is set to true

```<handler class="...OHazelcastPlugin"&gt;
  <parameters&gt;
    <parameter value="node01" name="nodeName"/&gt;
    <parameter value="true"&gt; name="enabled"/&gt;
    ...
  </parameters&gt;
</handler&gt;
```

Also change, in the listener section, the port-range of the binary protocol to 2424-2430

In addition to configuring the config/hazelcast.xml file, disabling multicast and adding the tcp-ip section

```<network&gt;
  ...
  <join&gt;
    <multicast enabled="false"&gt;
    ....
    </multicast&gt;
    <tcp-ip enabled="true"&gt;
      <member&gt;IPnode01:2434</member&gt;
      <member&gt;IPnode02:2434</member&gt;
    </tcp-ip&gt;
```

With the above, you run the first node and later the second, so that the latter is synchronized with what the first has.


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2020:00:04/22/20', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<architecture><orientdb><distributed>', 'Title': 'distributed architecture and data replication', 'ViewCount': 37, 'id': 61371198, 'user_AboutMe': None, 'user_AccountId': 18331007.0, 'user_DisplayName': 'Ulysse', 'user_Reputation': 11.0, 'user_Views': 1.0, 'user_id': 13349544.0}}