Started from scratch:
1. Downloaded version 1.7.4
2. Started server node1 in distributed mode (dserver)
3. Copied node1 directory as node2 
4. changed nodeName in orientdb-dserver-config.xml on both nodes giving 
different names.
5. Started node2
    Both nodes see each other. I see in the console for one node:
    


*Members [2] {        Member [10.32.10.72]:2434 this        Member 
[10.32.10.72]:2435    }*

    And on the console of another node:
    


*Members [2] {        Member [10.32.10.72]:2434        Member 
[10.32.10.72]:2435 this    }*

they are definitely talk to each other. Except one of the nodes gave me an 
error:

2014-07-02 12:12:56:234 WARN [node2]->[[node1]] requesting deploy of 
database 'GratefulDeadConcerts' on local server... [OHazelcastPlugin]
2014-07-02 12:32:56:266 WARN [node2] timeout (1200001ms) on waiting for 
synchronous responses from nodes=[node1] responsesSoFar=[] request=id=0 
from=n
ode2 task=deploy_db [OHazelcastDistributedDatabase]
*Exception in thread "main" 
com.orientechnologies.orient.server.distributed.ODistributedException: 
Error on sending distributed request against database 
'GratefulDeadConcerts' to nodes [node1]*
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:194)
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.sendRequest(OHazelcastPlugin.java:364)
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installDatabase(OHazelcastPlugin.java:813)
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installNewDatabases(OHazelcastPlugin.java:767)
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:191)
        at 
com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:720)
        at 
com.orientechnologies.orient.server.OServer.activate(OServer.java:241)
        at 
com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:32)
Caused by: 
com.orientechnologies.orient.server.distributed.ODistributedException: No 
response received from any of nodes [node1] for request id=0 from
=node2 task=deploy_db
        at 
com.orientechnologies.orient.server.distributed.ODistributedResponseManager.getFinalResponse(ODistributedResponseManager.java:395)
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.waitForResponse(OHazelcastDistributedDatabase.java:422)
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:191)
        ... 7 more


Even though right above that I see a log message saying that 
GratefulDatabase distributed configuration sees 2 nodes:

2014-07-02 12:12:56:216 INFO updated distributed configuration for 
database: GratefulDeadConcerts:
----------
{
  "version":2,
  "autoDeploy":true,
  "hotAlignment":false,
  "readQuorum":1,
  "writeQuorum":2,
  "failureAvailableNodesLessQuorum":false,
  "readYourWrites":true,"clusters":{
    "internal":null,
    "index":null,
    "*":{
  "servers":["<NEW_NODE>","node1","node2"]
}
    }
}
When I try to add or remove something from one node on that database 
nothing happens to another one. 
Nothing gets replicated on database level.
Can someone please tell me what I am doing wrong? 
I am not trying anything fancy with replication. This is just a basic 
replication task.
I tried replication in some earlier versions (don't remember now which one 
) and it worked. Now I can't make it work.
We are trying to implement OrientDb for the one of our company product and 
if replication is not going to work we would have to look for something 
else.
Please let me know if I am doing something wrong.

Thank you.
-galina
    

-- 

--- 
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