Hi. You can't specify multiple URLs. You can create a DNS entry as discussed here (https://github.com/orientechnologies/orientdb-docs/wiki/Distributed-Configuration#load-balancing). Failing that option, you have to use your own static field with multiple factories and round-robin between the two if that is what you are looking to achieve with multiple connections.
Amir. On Thursday, April 30, 2015 at 6:44:51 PM UTC-5, Rajesh Shetty wrote: > > Bottom line if there is any way to sepecify more than one seed urls during > factory creation ? > > On Tuesday, April 14, 2015 at 11:10:46 AM UTC-7, Rajesh Shetty wrote: >> >> >> Hi, >> >> Right now I know only see one url that I can specify in OrientGraphFactory >> for the connection to server. Question is >> >> > How do I specify list of urls for all the nodes in the cluster using >> > OrientGraphFactory >> ? >> > How does java client really works with multiple nodes in a cluster , as >> far as figuring out which node to talk to to get the data? - Any >> documentation on that ? >> >> -Thanks >> Rajesh >> > -- --- 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.
