Database Reference
In-Depth Information
Figure 11.5. Sample Neo4j HA cluster setup with 1 master and 2 slaves
Within a Neo4j HA cluster, each database instance is self-sufficient when it comes to the
logic required to coordinate and communicate with other members of the cluster. When an
HA database instance starts up, the first thing it will try to do is establish a connection to
its configured cluster. The neo4j.properties file contains the various properties controlling
the HA configuration (all prefixed with ha* ), including the property listing the initial set
of other members belonging to the cluster— ha.initial_hosts ).
If the cluster doesn't exist upon startup, meaning this is the first machine to attempt a con-
nection to the cluster, then this process will take care of establishing the initial cluster, in-
stalling this instance as the master.
 
Search WWH ::




Custom Search