hi .   i am using neo4j 2.0.

for clustering i use : HighlyAvailableGraphDatabase

GraphDatabaseService _graphDb = new 
HighlyAvailableGraphDatabaseFactory().newHighlyAvailableDatabaseBuilder(DB_PATH)
.setConfig(getHAConfig()).newGraphDatabase();

and config are : 

# Unique server id for this Neo4j instance
# can not be negative id and must be unique
ha.server_id = 1
 
# IP and port for this instance to bind to for communicating data with the
# other neo4j instances in the cluster.
ha.server = 192.168.1.217:6363
 
# IP and port for this instance to bind to for communicating cluster 
information
# with the other neo4j instances in the cluster.
ha.cluster_server = 192.168.1.217:5001
 
# List of other known instances in this cluster
ha.initial_hosts = 192.168.1.217:5001,192.168.1.12:5001


for second server : 

# Unique server id for this Neo4j instance
# can not be negative id and must be unique
ha.server_id = 2
 
# IP and port for this instance to bind to for communicating data with the
# other neo4j instances in the cluster.
ha.server = 192.168.1.12:6363
 
# IP and port for this instance to bind to for communicating cluster 
information
# with the other neo4j instances in the cluster.
ha.cluster_server = 192.168.1.12:5001
 
# List of other known instances in this cluster
ha.initial_hosts = 192.168.1.12:5001,192.168.1.217:5001


then i create two node from first server.
and try to access from second and get error : 

Timeout waiting for cluster to elect master
at 
org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.beginTx(HighlyAvailableGraphDatabase.java:204)
at 
org.neo4j.kernel.TransactionBuilderImpl.begin(TransactionBuilderImpl.java:39)
at 
org.neo4j.kernel.InternalAbstractGraphDatabase.beginTx(InternalAbstractGraphDatabase.java:896)


then i check this error found following solution : 

http://docs.neo4j.org/chunked/snapshot/arbiter-instances.html

but not found which properties i set in neo4.config to mention about 
arbiter server.


-- 
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/d/optout.

Reply via email to