Is it work?

I'm using orientDB 2.0.12. 
when I config like this only using first ip address(127.0.0.1) and make 
OStorageException(cannot create a connection)
(127.0.0.1 server is stoped and 127.0.0.2 is activate)


new OrientGraph("remote:127.0.0.1/test;127.0.0.2/test", "test", "test")



2015년 7월 28일 화요일 오후 4시 31분 22초 UTC+9, l.garulli 님의 말:
>
> Hi,
> You could use a non documented feature about passing multiple addresses 
> separated by ";". Example:
>
> "127.0.0.1:2480/test;192.168.1.2:2480/test;192.168.1.3:2480/test"
>
> OrientDB will try to connect by following the given order.
>
>
> Best Regards,
>
> Founder & CEO
> OrientDB <http://orientdb.com/>
>
>
> On 28 July 2015 at 02:34, 김제준 <[email protected] <javascript:>> wrote:
>
>> Thank you Luigi.
>>
>> It's working correctly!
>>
>> 2015년 7월 24일 금요일 오후 5시 49분 26초 UTC+9, Luigi Dell'Aquila 님의 말:
>>>
>>> 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] <javascript:>.
>> 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.

Reply via email to