We're running a Neo4j embedded instance (1.9.5) through TinkerPop Blueprints (2.5.0-SNAPSHOT). Is it possible to make the embedded instance the master in a HA cluster involving Neo4j servers and/or other embedded instances?
Asked
Active
Viewed 812 times
2 Answers
2
Any Neo4j instance in a cluster can be master unless it is configured with ha.slave_only=true
. Embedded and server mode share exactly the same capabilities with respect to clustering.
In case of embedded HA, you need to instantiate your GraphDatabaseService
instance using http://components.neo4j.org/neo4j-ha/stable/apidocs/org/neo4j/graphdb/factory/HighlyAvailableGraphDatabaseFactory.html and pass in the config options.
It's even possible to mix embedded and server instances in a cluster.

Stefan Armbruster
- 39,465
- 6
- 87
- 97
1
Maybe this example may help others that find this question:
https://github.com/Jotschi/neo4j-ha-example/tree/master
The example project shows how to setup neo4j embedded in HA mode.

Jotschi
- 3,270
- 3
- 31
- 52