NEO4J Cluster Environment Construction

Source: Internet
Author: User
Tags neo4j

Introduction: neo4j It is the current mainstream map database. It itself provides a high-availability clustering solution. This article will attempt to establish a high availability neo4j environment around it.

1. Is this a map database?

The key to the graphics library (graphic database) problem is the use of computers, lines, and data sets.

The graphical database describes the graphical descriptions in maps and other types of plans as basic elements such as points, lines, and polygons. These graphical elements are set up in data structures (usually topological data structures).

Contains two levels: the first level is a topological coding data collection, composed of descriptive points, lines, polygons and other graphical elements of the relationship between data files, including polygon files, segment files, node files and so on. Inter-file links are interconnected by associated data items. The second level encodes the data collection for the coordinates. It consists of a coordinate file describing the spatial position of each graphic element.

The graph database is the main form of organizing the digitized data of vector structure map in geographic information system.

2. neo4j Brief Introduction

NEO4J is now the mainstream of a graph database, compared to the traditional relational database. It can make query and retrieval based on interpersonal social network class at high speed; it provides the cypher language at the same time to facilitate the operation and query of the graph database, which is similar to the SQL language.

3. Neo4j can be built with high environment

System environment: Ubuntu 14.04, JDK 1.7

3.1 Download neo4j Enterprise version number

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

3.2 Decompressionneo4jEnterprise Version number

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

MV Neo4j-enterprise-2.0.4-unix neo4j

3.3 Copy 3 version numbers to the /opt folder

sudo cp-fr neo4j/opt/neo4j1

sudo cp-fr neo4j/opt/neo4j1

sudo cp-fr neo4j/opt/neo4j1

3.4 Changing configuration information for neo4j1

Neo4j.properties

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvymx1zwhlyxj0mja=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">

Neo4j-server.properties

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

Neo4j.properties

Neo4j-server.properties


3.6 Change the configuration information of the NEO4J3 to make sure it is with 1. Port 2 does not conflict

Neo4j.properties

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvymx1zwhlyxj0mja=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">

Neo4j-server.properties

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvymx1zwhlyxj0mja=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">

3.7 System Boot ( based on neo4j1)

3.8 Management Interface Execution diagram (http://ip:7474)

 

4. Summary

The high-availability scenario here is the use of synchronization between multiple nodes to achieve so-called high availability. The data between the nodes is exactly the same.

A highly available scenario is only in its commercial version number. For many other information, please visit its official website.


Copyright notice: This article Bo Master original article. Blog, not reproduced without consent.

NEO4J Cluster Environment Construction

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.