【发布时间】:2016-01-12 06:13:43
【问题描述】:
我正在尝试创建一个带有两个实例的 neo4j 集群,其中的配置是
http://neo4j.com/docs/stable/ha-setup-tutorial.html
我尝试了很多东西,但是当我在 initial_hosts 条目中添加另一个 IP 并重新启动服务器时它无法运行。
当我运行命令 neo4j.bat
INFO Write transactions to database disabled
INFO Initiating metrics..
INFO Attempting to join cluster of [IP of my pc:5001, ip of another pc:5001]
服务器已启动,但当我点击 localhost:7474 时,它无法正常工作。
我的其他配置在我的电脑中:
neo4j.properties
ha.cluster_server=my IP on my machine:5001
ha.server=IP of my pc:6363
ha.server_id=1
online_backup_server=ip of my pc:6366
neo4j-server.properties
org.neo4j.server.database.mode=HA
org.neo4j.server.webserver.address=0.0.0.0
我也启用了日志属性
org.neo4j.server.http.log.config=conf/neo4j-http-logging.xml
但没有创建日志文件。
【问题讨论】:
-
也通过github.com/MicTech/neo4j-ha-configuration链接,但没有任何效果..
标签: neo4j