Hi;
I am testing replication.
Using one computer:
Node1:
Database is under directory *orientDB_v1.7_node1*
Created database as remote:localhost/remoteIDManager on node1.
Started from the console in distributed mode.
Node2:
Copied database under directory : *orientDB_v1.7_node2.*
Started from the console in distributed mode.
Both nodes see each other - I checked form the console.
Inserted record in first node:
*insert into IDM_version (version) values (1)*
Inserted record 'IDM_Version#14:0{version:1} v1' in 0.008000 sec(s).
Switched to the console of the node2. Connected to the database.
Note : from both console connect string is the same:
*connect remote:localhost/remoteIDManager admin admin*
So far everything looks good.
Now I kill (stop) first node from the first console.
Run :
*SELECT FROM IDM_version*
on the second node (second console) and getting nothing.
Nothing been replicated into second node from the first one?
All configurations are default, except I changed nodeName from the random
number :
-
<parameters>
-
<parameter name="enabled" value="true"/> <parameter
name="configuration.db.default"
value="${ORIENTDB_HOME}/config/default-distributed-db-config.json"/>
<parameter
name="configuration.hazelcast"
value="${ORIENTDB_HOME}/config/hazelcast.xml"/> <parameter
name="conflict.resolver.impl"
value="com.orientechnologies.orient.server.distributed.conflict.ODefaultReplicationConflictResolver"/>
<parameter name="sharding.strategy.round-robin"
value="com.orientechnologies.orient.server.hazelcast.sharding.strategy.ORoundRobinPartitioninStrategy"/>
-
*<parameter name="nodeName" value="node_Server1"/> *
-
</parameters>
Replication is a deal breaker for our project.
- What I am doing wrong?
Thanks.
-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.