安装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. NopCommerce中的单例

    项目中经常会遇到单例的情况.大部分的单例代码都差不多像这样定义: internal class SingletonOne { private static SingletonOne _singleto ...

  2. (转) 关于在IE6下 无法跳转问题

    之前在项目,用到超链接,在ie下没有问题,但是到了ie6,居然发现点击事件不起作用, 真不可思议,以前都没注意到,后来网上搜了下,问题就出在这个void(0)上!现把网上的资料整理了下. <a  ...

  3. Winform中的窗体一些常用属性

    Winform窗体的常用窗体属性 1)窗体全屏显示 this.DesktopBounds = Screen.GetWorkingArea(this);  //全屏显示桌面 注:可以放在初始化方法中,也 ...

  4. activiti 工作流

    1. 工作流的概念 工作流(Workflow),就是“业务过程的部分或整体在计算机应用环境下的自动化”,它主要解决的是“使在多个参与者之间按照某种预定义的规则传递文档.信息或任务的过程自动进行,从而实 ...

  5. Python基础(一),Day1

    python的安装 python2.x与3.x的部分区别 第一个python程序 变量 字符编码 注释 格式化字符串 用户输入 常用的模块初始 if判断 循环语句 作业 1.python的安装 可以在 ...

  6. 将HTML5封装成android应用APK文件的几种方法(转)

    作为下一代的网页语言,HTML5拥有很多让人期待已久的新特性.HTML5的优势之一在于能够实现跨平台游戏编码移植,现在已经有很多公司在移动 设备上使用HTML5技术.随着HTML5跨平台支持的不断增强 ...

  7. Sass学习之路(3)——Sass编译

    Sass的编译也是在我们使用Sass的时候必须要经过的一个步骤,因为".sass"和".scss"文件并不能直接使用<link>标签引用,最终其实还 ...

  8. ASP.NET页面动态添加js脚本

    有时我们需要生成自己的JavaScript代码并在运行时动态添加到页面,接下来我们来看一下如何将生成的JavaScript代码动态添加到ASP.NET页面. 为了添加脚本,要将自定义的脚本在一个字符串 ...

  9. mysql innoDB 挂了的临时解决方案

    Mysql InnoDB: Error: checksum mismatch by Mattias Hemmingsson on December 23, 2013 in Linux • 6 Comm ...

  10. 同步推是如何给未越狱的IOS设备安装任意IPA的?

    工作准备: 1. 准备一台MAC 2. 拥有一份299企业证书, 然后按照下面步骤操作: 1. 把xxxx.ipa改成xxx.zip, 解压缩得到Payload文件夹 2. 替换Payload里的em ...