Create a Neo4j Cluster Environment

Source: Internet
Author: User
Tags neo4j

Create a Neo4j Cluster Environment

Introduction: Neo4j is currently the mainstream graph database. It also provides highly available cluster solutions. This article will try to build a highly available Neo4j environment.

1. What is graph database?

Graphic database is a set of data stored in the same row as certain data on the basic elements of vertices, wires, and images on a computer.

Graph databases describe graphs on maps and other types of plans as basic elements, such as points, lines, and surfaces. These graphic elements are usually structured based on certain data (topology data) A set of created data. There are two layers: the first layer is a collection of topology-encoded data, which is composed of data files that describe the relationship between points, lines, surfaces, and other graphic elements, including polygon files, line segment files, and node files. Files are connected by correlated data items. The second level is a set of coordinate encoded data, which is composed of coordinate files describing the spatial location of each graphic element. The graphic database is the main form of organizing the digital data of the vector structure map in the geographic information system.

2. Introduction to Neo4j

Neo4j is currently a mainstream graph database. Compared with traditional relational databases, it can quickly query and search based on social networks; it also provides the cypher language to facilitate operations and queries on Graph databases. The Query Language is similar to the SQL language.

Neo4j generates test data

How Neo4j runs

Neo4j High Availability Configuration

Neo4J graph database practice series

Graph database practice series (1)-introduction and installation of Neo4J

Graph database practice series (II) -- Neo4J Spatial Data Storage

Graph database practice series (iii) -- REST integration of Neo4j Spatial

3. neo4j can be built in a highly available Environment

System Environment: Ubuntu 14.04, JDK 1.7

3.1 download neo4j enterprise

Wget http://dist.neo4j.org/neo4j-enterprise-2.0.4-unix.tar.gz

3.2 decompress neo4j Enterprise Edition

Tar xvfz neo4j-enterprise-2.0.4-unix.tar.gz

Music neo4j-enterprise-2.0.4-unix neo4j

3.3 copy three versions to the/opt directory

Sudo cp-fr neo4j/opt/neo4j1

Sudo cp-fr neo4j/opt/neo4j1

Sudo cp-fr neo4j/opt/neo4j1

3.4 modify the configuration information of neo4j1

Neo4j. properties

Neo4j-server.properties

 

3.5 modify the configuration file of neo4j2 to ensure that it does not conflict with other

Neo4j. properties

Neo4j-server.properties


3.6 modify the configuration information of neo4j3 to ensure that it does not conflict with Port 1 and 2.

Neo4j. properties

Neo4j-server.properties

3.7 system startup (based on neo4j1)

3.8 management interface runtime diagram (http: // ip: 7474)

 

4. Summary

The high availability solution is to use synchronization between multiple nodes to achieve high availability. The data between each node is exactly the same. The high availability solution is only available in its commercial version. For more information, visit the official website.

Neo4j details: click here
Neo4j: click here

This article permanently updates the link address:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.