At first, possibly my question is very stupid, but

Assume I have two OrientDB servers configured in distributed mode. For 
example there are corresponding URL's:

orientdb.node1.com
orientdb.node2.com

Also there is TestDistributedDatabase on both nodes.
And I have DNS configured properly (like described in the topic 
https://github.com/orientechnologies/orientdb/wiki/Distributed-Configuration#load-balancing).
Let say mydomain.com.

So what is the way to connect cluster?

Is it correct?
new OrientGraphFactory("remote:mydomain.com/TestDistributedDatabase", 
username, password).getTx()


What would be if I do 
new OrientGraphFactory("remote:orientdb.node1.com/TestDistributedDatabase", 
username, password).getTx()
?
This way I connect specific node and as I understand can play with data on 
it, but what if I create new vertex, will it be replicate on the 
orientdb.node2.com 
?

Thanks in advance!

-- 

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