Yes that would require us to fiddle with system level settings to create 
TXT record . It would be nice if OrientGraphFactory can take 1 or more than 
1 urls as seed nodes , so that we can pass all the nodes in the cluster 
upfront. So that initial seeding happens with multiple urls using java 
client itself rather than we creating DNS entry and using that entry in our 
remoteurl setting.

something like 


new OrientGraphFactory(url1, url2, ... )

-Thanks
Rajesh
 

On Thursday, April 30, 2015 at 5:12:19 PM UTC-7, Amir Khawaja wrote:
>
> 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.

Reply via email to