The high availability setup
Neo4j stores all the data on a single machine. This is important when it comes to fault tolerance or disaster recovery, especially in the case of scaling read-mostly applications.
In this recipe, you will learn how to configure the High Availability (HA) setup with Neo4j.
Getting ready
In order to get ready for this recipe, install the Neo4j Enterprise edition, as the HA feature only comes with Neo4j Enterprise editions. The following diagram shows the Neo4j HA architecture that comprises of three nodes:
How to do it...
You need to perform the following steps to create a 2-node HA setup. Before starting the actual configuration, let's check out various important configuration parameters in the HA setup. It is important to understand the various parameters and their meaning before starting the actual configuration. The following screenshot shows the various configuration parameters for Neo4j HA:
You can read up on the other parameters at http://docs.neo4j.org/chunked...