安装neo4j高可用集群,抓图安装过程

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 #—~/neo4j-

conf/neo4j.properties:

Unique server id for this Neo4j instance

can not be negative id and must be unique

ha.server_id = 

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:

online_backup_server = 127.0.0.1:

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:

List of other known instances in this cluster

ha.initial_hosts = 127.0.0.1:,127.0.0.1:,127.0.0.1:

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=

High Availability

https port (for all data, administrative, and UI access)

org.neo4j.server.webserver.https.port=

HA - High Availability

SINGLE - Single mode, default.

org.neo4j.server.database.mode=HA

Neo4j instance #—~/neo4j-

conf/neo4j.properties:

Unique server id for this Neo4j instance

can not be negative id and must be unique

ha.server_id = 

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:

online_backup_server = 127.0.0.1:

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:

List of other known instances in this cluster

ha.initial_hosts = 127.0.0.1:,127.0.0.1:,127.0.0.1:

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=

https port (for all data, administrative, and UI access)

org.neo4j.server.webserver.https.port=

HA - High Availability

SINGLE - Single mode, default.

org.neo4j.server.database.mode=HA

Neo4j instance #—~/neo4j-

conf/neo4j.properties:

Unique server id for this Neo4j instance

can not be negative id and must be unique

ha.server_id = 

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:

online_backup_server = 127.0.0.1:

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:

List of other known instances in this cluster

ha.initial_hosts = 127.0.0.1:,127.0.0.1:,127.0.0.1:

conf/neo4j-server.properties

database location

High Availability

org.neo4j.server.database.location=data/graph.db

http port (for all data, administrative, and UI access)

org.neo4j.server.webserver.port=

https port (for all data, administrative, and UI access)

org.neo4j.server.webserver.https.port=

HA - High Availability

SINGLE - Single mode, default.

org.neo4j.server.database.mode=HA

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 ~]$

Neo4j 高可用集群安装的更多相关文章

  1. ActiveMQ 高可用集群安装、配置(ZooKeeper + LevelDB)

    ActiveMQ 高可用集群安装.配置(ZooKeeper + LevelDB) 1.ActiveMQ 集群部署规划: 环境: JDK7 版本:ActiveMQ 5.11.1 ZooKeeper 集群 ...

  2. Redis Cluster 4.0高可用集群安装、在线迁移操作记录

    之前介绍了redis cluster的结构及高可用集群部署过程,今天这里简单说下redis集群的迁移.由于之前的redis cluster集群环境部署的服务器性能有限,需要迁移到高配置的服务器上.考虑 ...

  3. Hadoop完全高可用集群安装

    架构图(HA模型没有SNN节点) 用vm规划了8台机器,用到了7台,SNN节点没用   NN DN SN ZKFC ZK JNN RM NM node1 *     *         node2 * ...

  4. 基于zookeeper(集群)+LevelDB的ActiveMq高可用集群安装、配置、测试

    一. zookeeper安装(集群):http://www.cnblogs.com/wangfajun/p/8692117.html  √ 二. ActiveMq配置: 1. ActiveMq集群部署 ...

  5. 一、k8s介绍(第一章、k8s高可用集群安装)

    作者:北京小远 出处:http://www.cnblogs.com/bj-xy/ 参考课程:Kubernetes全栈架构师(电脑端购买优惠) 文档禁止转载,转载需标明出处,否则保留追究法律责任的权利! ...

  6. 三、k8s集群可用性验证与调参(第一章、k8s高可用集群安装)

    作者:北京小远 出处:http://www.cnblogs.com/bj-xy/ 参考课程:Kubernetes全栈架构师(电脑端购买优惠) 文档禁止转载,转载需标明出处,否则保留追究法律责任的权利! ...

  7. MHA高可用集群安装配置

    4台服务器 192.168.136.128 主 192.168.136.129 从 192.168.136.130 从 192.168.136.131 管理服务器 一主2从,一管理,安装mysql并配 ...

  8. Hadoop 2.6.0+ZooKeeper+Hive HA高可用集群安装

    http://blog.csdn.net/totxian/article/details/45248399

  9. 集群相关、用keepalived配置高可用集群

    1.集群相关 2.keepalived相关 3.用keepalived配置高可用集群 安装:yum install keepalived -y   高可用,主要是针对于服务器硬件或服务器上的应用服务而 ...

随机推荐

  1. Python基础:新式类的属性访问

    一.概述 二.准备工作 1.讨论对象 2.名词解释 三.实例绑定的属性访问 1.获取属性 一般规则 参考源码 示例验证 2.设置属性 一般规则 参考源码 示例验证 3.删除属性 一般规则 参考源码 示 ...

  2. linux2.4.18内核定时器的使用

    Linux2.4下驱动中定时器的应用 我的内核是2.4.18的.Linux的内核中定义了一个定时器的结构: #include<linux/timer.h> struct timer_lis ...

  3. 内核移植和文件系统制作(3)Ramdisk简介和常见问题

    一,Ramdisk简介: Ramdisk是一种基于内存的虚拟文件系统(并非一个实际的文件系统),它将一部分固定大小(这个大小在编译内核的make menuconfig时配置)的内存当作硬盘一个分区来使 ...

  4. u-boot中nandflash初始化流程分析(转)

    u-boot中nandflash初始化流程分析(转) 原文地址http://zhuairlunjj.blog.163.com/blog/static/80050945201092011249136/ ...

  5. C语言回滚(一)

    //用循环计算输入的字符数 #include<stdio.h> #include<string.h> #include<stdlib.h> int main(){ ...

  6. Verilog学习笔记设计和验证篇(三)...............同步有限状态机的指导原则

    因为大多数的FPGA内部的触发器数目相当多,又加上独热码状态机(one hot code machine)的译码逻辑最为简单,所以在FPGA实现状态机时,往往采用独热码状态机(即每个状态只有一个寄存器 ...

  7. Java final static abstract关键字介绍

    一,抽象类:abstract 1,只要有一个或一个以上抽象方法的类,必须用abstract声明为抽象类; 2,抽象类中可以有具体的实现方法; 3,抽象类中可以没有抽象方法; 4,抽象类中的抽象方法必须 ...

  8. PHP异常与错误处理机制

    先区别一下php中错误 与 异常的概念吧 PHP错误:是属于php程序自身的问题,一般是由非法的语法,环境问题导致的,使得编译器无法通过检查,甚至无法运行的情况.平时遇到的warming.notice ...

  9. PHP imagecopyresampled 参数图示

  10. 每一个成功的程序员的身后都有一个--------Parse

    相信好多同行都用过Parse,而正是因为Parse给我们的开发带来的极大的便利,才有了项目从零开始,到正式上线仅仅用上不到两周的时间,现在Swift还在迅速的发展,很快就会占有大量的市场,现在就就结合 ...