[
https://issues.apache.org/jira/browse/TINKERPOP-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15334498#comment-15334498
]
stephen mallette commented on TINKERPOP-939:
--------------------------------------------
Just for future reference, in case there's a need to test again. You can open
three Gremlin Console instances and then paste one of these in each:
{code}
conf = new BaseConfiguration()
conf.setProperty('gremlin.neo4j.directory','/tmp/neo4j.server1')
conf.setProperty('gremlin.neo4j.conf.ha.server_id','1')
conf.setProperty('gremlin.neo4j.conf.ha.initial_hosts','localhost:5001\\,localhost:5002\\,localhost:5003')
conf.setProperty('gremlin.neo4j.conf.ha.cluster_server','localhost:5001')
conf.setProperty('gremlin.neo4j.conf.ha.server','localhost:6001')
graph = Neo4jGraph.open(conf)
conf = new BaseConfiguration()
conf.setProperty('gremlin.neo4j.directory','/tmp/neo4j.server2')
conf.setProperty('gremlin.neo4j.conf.ha.server_id','2')
conf.setProperty('gremlin.neo4j.conf.ha.initial_hosts','localhost:5001\\,localhost:5002\\,localhost:5003')
conf.setProperty('gremlin.neo4j.conf.ha.cluster_server','localhost:5002')
conf.setProperty('gremlin.neo4j.conf.ha.server','localhost:6002')
graph = Neo4jGraph.open(conf)
conf = new BaseConfiguration()
conf.setProperty('gremlin.neo4j.directory','/tmp/neo4j.server3')
conf.setProperty('gremlin.neo4j.conf.ha.server_id','3')
conf.setProperty('gremlin.neo4j.conf.ha.initial_hosts','localhost:5001\\,localhost:5002\\,localhost:5003')
conf.setProperty('gremlin.neo4j.conf.ha.cluster_server','localhost:5003')
conf.setProperty('gremlin.neo4j.conf.ha.server','localhost:6003')
graph = Neo4jGraph.open(conf)
{code}
> Neo4jGraph should support HighAvailability (Neo4jHA).
> -----------------------------------------------------
>
> Key: TINKERPOP-939
> URL: https://issues.apache.org/jira/browse/TINKERPOP-939
> Project: TinkerPop
> Issue Type: Improvement
> Components: neo4j
> Affects Versions: 3.1.0-incubating
> Reporter: Marko A. Rodriguez
> Assignee: stephen mallette
> Fix For: 3.1.3
>
>
> We should support Neo4j HA in the {{Neo4jGraph}} distribution.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)