Neo4j 高可用集群安装
2014-01-15 20:52
183 查看
安装neo4j高可用集群,抓图安装过程
http://www.ibm.com/developerworks/cn/java/j-lo-neo4j/
Step1.下载neo4j商业版并解压,复制为neo4j01,neo4j02,neo4j03
Step2.修改neo4j.properties 文件和neo4j-server.properties文件,
按照neo4j manual上面的要求修改即可.
View Code
Step3:启动
[student@NameNode ~]$ neo4je03/bin/neo4j start
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Using additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
Starting Neo4j Server...WARNING: not changing user
HA instance started in process [7462]. Will be operational once connected to peers. See /home/student/neo4je03/data/log/console.log for current status.
[student@NameNode ~]$ jps
7475 Jps
7462 Bootstrapper
[student@NameNode ~]$
![](https://oscdn.geek-share.com/Uploads/Images/Content/202010/31/3792e411f1b6186e09d3790d947ef1c8.png)
http://www.ibm.com/developerworks/cn/java/j-lo-neo4j/
Step1.下载neo4j商业版并解压,复制为neo4j01,neo4j02,neo4j03
Step2.修改neo4j.properties 文件和neo4j-server.properties文件,
按照neo4j manual上面的要求修改即可.
The following settings should be configured for each Neo4j installation. Neo4j instance #1—~/neo4j-01 conf/neo4j.properties: Unique server id for this Neo4j instance can not be negative id and must be unique ha.server_id = 1 IP and port for this instance to bind to for communicating data with the other neo4j instances in the cluster. ha.server = 127.0.0.1:6363 online_backup_server = 127.0.0.1:6366 IP and port for this instance to bind to for communicating cluster information with the other neo4j instances in the cluster. ha.cluster_server = 127.0.0.1:5001 List of other known instances in this cluster ha.initial_hosts = 127.0.0.1:5001,127.0.0.1:5002,127.0.0.1:5003 conf/neo4j-server.properties database location org.neo4j.server.database.location=data/graph.db http port (for all data, administrative, and UI access) org.neo4j.server.webserver.port=7474 High Availability 424 https port (for all data, administrative, and UI access) org.neo4j.server.webserver.https.port=7484 HA - High Availability SINGLE - Single mode, default. org.neo4j.server.database.mode=HA Neo4j instance #2—~/neo4j-02 conf/neo4j.properties: Unique server id for this Neo4j instance can not be negative id and must be unique ha.server_id = 2 IP and port for this instance to bind to for communicating data with the other neo4j instances in the cluster. ha.server = 127.0.0.1:6364 online_backup_server = 127.0.0.1:6367 IP and port for this instance to bind to for communicating cluster information with the other neo4j instances in the cluster. ha.cluster_server = 127.0.0.1:5002 List of other known instances in this cluster ha.initial_hosts = 127.0.0.1:5001,127.0.0.1:5002,127.0.0.1:5003 conf/neo4j-server.properties database location org.neo4j.server.database.location=data/graph.db http port (for all data, administrative, and UI access) org.neo4j.server.webserver.port=7475 https port (for all data, administrative, and UI access) org.neo4j.server.webserver.https.port=7485 HA - High Availability SINGLE - Single mode, default. org.neo4j.server.database.mode=HA Neo4j instance #3—~/neo4j-03 conf/neo4j.properties: Unique server id for this Neo4j instance can not be negative id and must be unique ha.server_id = 3 IP and port for this instance to bind to for communicating data with the other neo4j instances in the cluster. ha.server = 127.0.0.1:6365 online_backup_server = 127.0.0.1:6368 IP and port for this instance to bind to for communicating cluster information with the other neo4j instances in the cluster. ha.cluster_server = 127.0.0.1:5003 List of other known instances in this cluster ha.initial_hosts = 127.0.0.1:5001,127.0.0.1:5002,127.0.0.1:5003 conf/neo4j-server.properties database location High Availability 425 org.neo4j.server.database.location=data/graph.db http port (for all data, administrative, and UI access) org.neo4j.server.webserver.port=7476 https port (for all data, administrative, and UI access) org.neo4j.server.webserver.https.port=7486 HA - High Availability SINGLE - Single mode, default. org.neo4j.server.database.mode=HA
View Code
Step3:启动
[student@NameNode ~]$ neo4je03/bin/neo4j start
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Using additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
Starting Neo4j Server...WARNING: not changing user
HA instance started in process [7462]. Will be operational once connected to peers. See /home/student/neo4je03/data/log/console.log for current status.
[student@NameNode ~]$ jps
7475 Jps
7462 Bootstrapper
[student@NameNode ~]$
![](https://oscdn.geek-share.com/Uploads/Images/Content/202010/31/3792e411f1b6186e09d3790d947ef1c8.png)
![](https://oscdn.geek-share.com/Uploads/Images/Content/202010/31/62fcc9f5b3261b3fc193dd781efbf534.png)
相关文章推荐
- neo4j安装
- neo4j在linux下的安装
- 在ubuntu上安装neo4j图形数据库(3.2.0 Community Edition)
- neo4j安装教程(适合零基础技术人员)
- 在ubuntu上安装neo4j图形数据库(3.2.0 Community Edition)
- Neo4j安装
- Neo4j 学习笔记 2:安装
- 在Windows环境中安装Neo4j
- neo4j安装与示例
- ISCSI环境部署高可用集群安装配置实例(DS300+Qlogic4010+landercluster)
- Kali Linux 2017 安装BloodHound后无法启动neo4j解决方案
- Ubuntu 下 Neo4j单机安装和集群环境安装
- Neo4j 第一篇:在Windows环境中安装Neo4j
- Hadoop2.6(NN/RM)高可用集群安装与部署
- ActiveMQ 高可用集群安装、配置(ZooKeeper + LevelDB)
- JMS之——ActiveMQ高可用集群安装、配置(基于ZooKeeper + LevelDB的伪集群)
- neo4j入门教程-(安装、配置)
- neo4j安装配置入门教程
- ubuntu下neo4j的安装
- hadoop2.7.3 HA高可用集群安装