0
根据文档(https://neo4j.com/docs/operations-manual/current/tutorial/highly-available-cluster),我正在设置Neo4j HA群集,但Neo4j似乎没有应用HA配置。如何解决Neo4j HA集群问题?
我可以浏览到Neo4j浏览器,并且我的数据库处于活动状态,但是:play sysinfo显示'High Availability'='Not enabled'和Cluster ='No cluster'。
我也不能远程登录到集群端口(5001):
[email protected]:~$ telnet localhost 5001
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
[email protected]:~$
在的Neo4j的HA的配置是:
# Unique server id for this Neo4j instance
# can not be negative id and must be unique
ha.server_id=2
# List of other known instances in this cluster
ha.initial_hosts=neo4j-prod-1:5001,neo4j-prod-2:5001,neo4j-prod-3:5001
# HA - High Availability
# SINGLE - Single mode, default.
dbms.mode=HA
我开始用下面的命令的容器,其路由通信在群集端口(5001)到容器上:
/usr/bin/docker run \
--publish=7474:7474 --publish=7687:7687 --publish=5001:5001 \
--volume=/var/lib/neo4j/data:/data \
--volume=/var/lib/neo4j/logs:/logs \
--volume=/var/lib/neo4j/conf:/conf \
neo4j:3.0
它看起来像Ne o4j没有加载HA配置 - 我应该在哪里看下一个?