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 高可用,主要是针对于服务器硬件或服务器上的应用服务而 ...
随机推荐
- Python入门版
一.前言 陆陆续续学习Python已经近半年时间了,感觉到Python的强大之外,也深刻体会到Python的艺术.哲学.曾经的约定,到现在才兑现,其中不乏有很多懈怠,狼狈. Python入门关于Pyt ...
- 你可以做一个更好的Coder为了自己的将来
小小的星辰 工作已经一年多了,时间真的好快啊!发现自己还是终于走出了当初的阴影!我可以快乐的做我自己了.这两年发现自己改变了很多!很庆幸,我可以不想你了!伤感的心情总会过去的.还记得曾经说过一句:“离 ...
- PHP OAuth2 Server库
想找比较正宗的库,查了蛮久的.最后在 oauth官方站上,看到PHP版本的相关链接. 发现都是php 5.3版本以上的环境,基于命名空间的写法编写的. 访问下面这个页面,难得,发现文档给出了5.2版本 ...
- jQuery使用ajaxStart()和ajaxStop()方法
ajaxStart()和ajaxStop()方法是绑定Ajax事件.ajaxStart()方法用于在Ajax请求发出前触发函数,ajaxStop()方法用于在Ajax请求完成后触发函数.它们的调用格式 ...
- Verilog学习笔记基本语法篇(十)········ 常用系统函数
$display 和 $write 任务 格式: $display (p1,p2,...,pn); $write (p1,p2,..,pn); 这两个函数和系统的任务作用是用来输出信息,即将参数p2到 ...
- mybatis中自建的类型别名
在使用mybatis过程中经常用到类型别名,除了我们自己新建的别名外,mybatis还自带了很多类型别名和java中的类型的映射,下面先看一个自建的别名的配置 <typeAliases> ...
- 使用PHP搭建书虫网站
年前开始了一个新项目,书虫项目的启动,项目组里面我是负责搭建网站的.以前听说过PHP的大名,就是没怎么看过,只能从一无所知开始了. 来自PHP手册的介绍:PHP, 即“PHP: Hypertext P ...
- [转载]拜占庭问题深入讨论 from http://bitkan.com/news/topic/14011
拜占庭将军问题深入探讨 了解过比特币和区块链的人,多少都听说过拜占庭将军问题,或听说过比特币(或区块链)的一个重要成就正是解决了拜占庭将军问题.但真正明白这个问题的人并不多,甚至知道这个问题实质的人都 ...
- C# Out 传值
public void Out(out int a, out int b) {//out相当于return返回值 //可以返回多个值 //拿过来变量名的时候,里面默认为空值 a=1; b=2; } s ...
- XML的解析方式(Java)
dom方式解析 根据XML的层级结构在内存中分配一个树形结构,把XML的标签.属性和文本都封装成对象 优点:如果很方便实现增删改操作 缺点:如果文件过大,会造成内存溢出 sax方式解析 采用事件驱 ...