-
Book Overview & Buying
-
Table Of Contents
Neo4j Cookbook
By :
Many times, there will be a need to run multiple instances of Neo4j over a single machine.
In this recipe, you will learn about how to run multiple instances of Neo4j.
To get started with this recipe, install Neo4j by using the steps from the earlier recipes of this chapter.
Neo4j can handle only a single graph instance. To run multiple graph instances, you have to run multiple Neo4j servers over the same machine, as follows:
org.neo4j.server.database.location=data/graph.db
Change this path for each instance by setting different database paths for different instances. Also, for each instance, set different ports for the web console, which is shown in the following parameter:
org.neo4j.server.webserver.port=5678
./neo4j restart
Neo4j can handle only one instance at a time. In order to run multiple instances of Neo4j, we have to replicate the files and change the graph database directory of each instance.
To know more about the configuration options, check out http://neo4j.com/docs/stable/server-configuration.html.
Change the font size
Change margin width
Change background colour