Hi, right now you cannot explicitly define multiple URLs, so the application will initially connect to a single node. After that, your client will receive from the remote node the list of all the existing nodes in the network; after a failure your client will be able to redirect calls to other active nodes seamlessly.
The only problem here is with node discovery: if the node you are connecting to goes off-line before you connect, you will not be able to establish the initial connection. To solve this problem, we suggest to use a DNS in front of OrientDB. Regards Luigi 2015-07-24 10:35 GMT+02:00 김제준 <[email protected]>: > Hi there~ > > I'm working on distribute mode. > When I connect db in java it has single url. > ex( new OrientGraph(url, id, pw) > > Can I config multiple url and it support failover like If node1 dead send > request to node2 automatically. > > > > > -- > > --- > 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. > -- --- 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.
