Neo4j 高可用集群安装
安装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 高可用集群安装的更多相关文章
- ActiveMQ 高可用集群安装、配置(ZooKeeper + LevelDB)
ActiveMQ 高可用集群安装.配置(ZooKeeper + LevelDB) 1.ActiveMQ 集群部署规划: 环境: JDK7 版本:ActiveMQ 5.11.1 ZooKeeper 集群 ...
- Redis Cluster 4.0高可用集群安装、在线迁移操作记录
之前介绍了redis cluster的结构及高可用集群部署过程,今天这里简单说下redis集群的迁移.由于之前的redis cluster集群环境部署的服务器性能有限,需要迁移到高配置的服务器上.考虑 ...
- Hadoop完全高可用集群安装
架构图(HA模型没有SNN节点) 用vm规划了8台机器,用到了7台,SNN节点没用 NN DN SN ZKFC ZK JNN RM NM node1 * * node2 * ...
- 基于zookeeper(集群)+LevelDB的ActiveMq高可用集群安装、配置、测试
一. zookeeper安装(集群):http://www.cnblogs.com/wangfajun/p/8692117.html √ 二. ActiveMq配置: 1. ActiveMq集群部署 ...
- 一、k8s介绍(第一章、k8s高可用集群安装)
作者:北京小远 出处:http://www.cnblogs.com/bj-xy/ 参考课程:Kubernetes全栈架构师(电脑端购买优惠) 文档禁止转载,转载需标明出处,否则保留追究法律责任的权利! ...
- 三、k8s集群可用性验证与调参(第一章、k8s高可用集群安装)
作者:北京小远 出处:http://www.cnblogs.com/bj-xy/ 参考课程:Kubernetes全栈架构师(电脑端购买优惠) 文档禁止转载,转载需标明出处,否则保留追究法律责任的权利! ...
- MHA高可用集群安装配置
4台服务器 192.168.136.128 主 192.168.136.129 从 192.168.136.130 从 192.168.136.131 管理服务器 一主2从,一管理,安装mysql并配 ...
- Hadoop 2.6.0+ZooKeeper+Hive HA高可用集群安装
http://blog.csdn.net/totxian/article/details/45248399
- 集群相关、用keepalived配置高可用集群
1.集群相关 2.keepalived相关 3.用keepalived配置高可用集群 安装:yum install keepalived -y 高可用,主要是针对于服务器硬件或服务器上的应用服务而 ...
随机推荐
- asp.net控件的Hyperlink控件
Asp.net控件: Hyperlink控件:Hyperlink控件又称为超链接控件,该控件在功能上跟Html的<a herf=””>控件相似,其显示的模式为超链接的形式. 注意: Hyp ...
- easyui-简单用法寄一些属性
Easyui 总结 优点: A.简单易用 继承 jQuery 简易使用特性,提供高度抽象接口,短期改善网站易用性. B.开源免费 采用 MIT & GPL 双协议授权,轻松满足自由产品至企业产 ...
- sql server聚合函数sum计算出来为空,怎样返回0
通常我们计算数据库中表的数据有几个常用的聚合函数 1.count : 计数 2.sum: 计算总和 3.avg: 取平均值 4.max: 取最大值 5.min: 取最小值 6.isnull: 当返回数 ...
- windows远程控制
windows+r 输入 mstsc 打开远程控制 首先,确定目标机器支持远程控制 问题解决: Win7远程桌面提示您的凭据不工作: http://jingyan.baidu.com/article ...
- sql和access中截取字符串的区别
一向对数据库不熟悉,今天又遇到简单而又被忽略的问题——字符串的截取. 在Excel处理数据过程中,我们常用substring,left,mid,right来截取字符:在.NET编程中,我们常用subs ...
- bootstrap 学习笔记
bootstrap作为当下的流行框架不知道它怎么能行呢? 之前也看过好多bootstrap的网上教程,可是发现光看真的记不住,说起来也真是忧桑~重点还是要自己做才是真正的印象深刻.后来我发现解析模板是 ...
- FileInputStream类
FileInputStream和FileOutPutStream类都是用来操作磁盘文件的.如果用户对文件读取需求比较简单,则可以使用FileInputStream类,该类继承InputStream类 ...
- 【读书笔记】iOS-Xcode知识-多线程
一,Xcode使用的调试器是GDB.GDB是GNU项目的一部分,它可以在很多不同的平台上使用.如果你愿意,可以通过命令行来运行它.GDB有着完善的文档系统,尽管它的文档有些难于理解并且网络上流传着好几 ...
- JAVA基础学习day20--IO流二-缓冲流、字节流
一.缓冲流 1.1.字符流的缓冲区 缓冲区的出现是为了提高IO的读写效率 对应类 BufferedReader BufferedWriter 缓冲区要结合流才可以使用 在流的基础上对流的功能进行了增强 ...
- iOS开源JSON解析库MJExtension
iOS中JSON与NSObject互转有两种方式:1.iOS自带类NSJSONSerialization 2.第三方开源库SBJSON.JSONKit.MJExtension.项目中一直用MJExte ...