Skip to content
andreasronge edited this page Dec 28, 2012 · 26 revisions

Introduction

Neo4j.rb (any of the neo4j-core, neo4j-wrapper and neo4j gems) can be used in a HA Cluster. The Neo4j HA Cluster can also be useful as a development tool. By using HA cluster you can have write support for the rails console, or use the Neo4j Server Admin UI to monitoring and debugging the graph database.

The Neo4j HA documentation. Please check the license for neo4j-enterprise (different to neo4j-community).

Rails Console with Write Support

Using the Neo4j Server Admin

Follow the instruction above for using rails console with write support.

  • Download the neo4j-enterprise from here.
  • Unpack the file.
  • Edit the conf/neo4j.properties file
ha.server_id=3
ha.initial_hosts=localhost:5001,localhost:5002,localhost:5003
ha.server=localhost:6003
ha.cluster_server=localhost:5003
ha.pull_interval=1
  • Edit the conf/neo4j-server.properties
# Uncomment this line:
org.neo4j.server.database.mode=HA
Clone this wiki locally