update your default_distributed_config_db.json file as below on all servers 
. 




{
    "autoDeploy": true,
    "hotAlignment": false,
    "executionMode": "asynchronous",  
    "readQuorum": 1,
    "writeQuorum": 2,
    "failureAvailableNodesLessQuorum": false,
    "readYourWrites": true,
    "clusters": {
        "internal": {
        },
        "index": {
        },
        "*": {
            "servers" : [ "node1", "node2","node3","node4"]                 
               
        }
    }
}



note: remeber that node1,node2,node3,node4 are the node names. 



and also update hazelcast.xml file as below on all the servers . 


<?xml version="1.0" encoding="UTF-8"?>
<hazelcast
xsi:schemaLocation="http://www.hazelcast.com/schema/config 
hazelcast-config-3.0.xsd"
xmlns="http://www.hazelcast.com/schema/config"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<group>
<name>orientdb</name>
<password>orientdb</password>
</group>
<network>
<port auto-increment="false">2434</port>
<join>
<multicast enabled="false">
<multicast-group>235.1.1.1</multicast-group>
<multicast-port>2434</multicast-port>
</multicast>
                        <tcp-ip enabled="true">
                                <member>172.16.2.149:2434</member> 
                                <member>172.16.1.151:2434</member>
                                 <member>172.16.2.150:2434</member> 
                                <member>172.16.2.152:2434</member> 
                      </tcp-ip>
</join>
</network>
<executor-service>
<pool-size>16</pool-size>
</executor-service>
</hazelcast>



note : remeber that in above configuration 
172.16.2.149,172.16.2.152,172.16.2.153,172.16.1.151 are ip addresses of the 
server's.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to