Let me be clear again. My servers I have configured them to HA mode. Let my
servers point to some db. Now how can I use that db in embedded and modify
?? So that they get reflected in all dbs.

"They will get copied from your servers, and will then be updated as
changes occur."

This is wat not happening to me. On creating embedded instance, wat db path
shld I give? Pls clear my doubt



On Thu, Jan 23, 2014 at 2:19 PM, Rickard Öberg <
[email protected]> wrote:

> On 1/23/14, 16:30 , Kalidhakani J wrote:
>
>> In my servers I have given the path as data/graph.db
>> my properties file(neo4jServer.properties) has the following values,
>>
>> ha.server_id=1
>> ha.initial_hosts=192.168.9.1:5001
>> <http://192.168.9.1:5001>,192.168.9.2:5002
>> <http://192.168.9.2:5002>,192.168.9.3:5003 <http://192.168.9.3:5003>
>>
>>
>> I started my servers. Then for creating HIghlyAvailableGraphDatabase, I
>> used the following code,
>>
>> GraphDatabaseService graphDb = new
>> HighlyAvailableGraphDatabaseFactory().newHighlyAvailableDatabaseBuil
>> der("<SERVER_PATH>/data/graph.db").loadPropertiesFromFile("
>> neo4jServer.properties").newGraphDatabase();
>>
>>
>> When i try to run the code it is showing me the above exception I
>> mentioned.
>>
>>
>> My requirement is I have to modify the DB that is running in the server
>> through embedded highly available graph database.
>>
>> Help me.
>>
>
> It's not possible to do the above. Each instance needs to own its database
> files. The correct thing to do is to have the embedded instance also be a
> HA instance with its own database files. They will get copied from your
> servers, and will then be updated as changes occur.
>
> Would that be an ok scenario for you?
>
> /Rickard
>
> --
> Rickard Öberg
> Developer
> Neo Technology
> Twitter: @rickardoberg, Skype: rickardoberg
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" 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/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" 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/groups/opt_out.

Reply via email to