因果集群配置有谁配过吗?
发布于 6 年前 作者 goodwater 3858 次浏览 来自 问答

请问有谁搭建过因果集群?能发下配置文件吗?或帮我看下还缺什么配置,我的一直连不上 dbms.mode=CORE causal_clustering.minimum_core_cluster_size_at_formation=3 causal_clustering.initial_discovery_members=172.16.247.135:5000,172.16.247.132:5000,172.16.247.136:5000

=========================================================================== 2018-08-06 07:04:42.324+0000 INFO ======== Neo4j 3.4.0 ======== 2018-08-06 07:04:42.347+0000 INFO Starting… 2018-08-06 07:04:43.501+0000 INFO Initiating metrics… 2018-08-06 07:04:43.596+0000 INFO My connection info: [ Discovery: listen=0.0.0.0:5000, advertised=172.16.247.136:5000, Transaction: listen=0.0.0.0:6000, advertised=172.16.247.136:6000, Raft: listen=0.0.0.0:7000, advertised=172.16.247.136:7000, Client Connector Addresses: bolt://172.16.247.136:7687,http://172.16.247.136:7474,https://172.16.247.136:7473 ] 2018-08-06 07:04:43.597+0000 INFO Discovering cluster with initial members: [172.16.247.132:5000, 172.16.247.136:5000] 2018-08-06 07:04:43.597+0000 INFO Attempting to connect to the other cluster members before continuing…

7 回复

causal_clustering.discovery_listen_address、causal_clustering.transaction_listen_address、causal_clustering.raft_listen_address 怎么配的?

@graphway 这三个我没有配,使用的是默认值 有什么问题吗? 2018-08-06 07:04:43.596+0000 INFO My connection info: [ Discovery: listen=0.0.0.0:5000, advertised=172.16.247.136:5000, Transaction: listen=0.0.0.0:6000, advertised=172.16.247.136:6000, Raft: listen=0.0.0.0:7000, advertised=172.16.247.136:7000,

是在不同服务器上可以不用变动。把3个服务器的neo4j.conf都发上来看看?

@graphway 请问下,如果有10个Read Replicas,多个查询请求访问集群时该怎么配置?请求随机分发到不同的任意一个Read Replicas 的负载均衡这块如何做?neo4j.conf也有相关的配置吗?还是需要自己做高并发读操作的负载均衡?谢谢

官网文档关于集群:https://neo4j.com/docs/operations-manual/current/ha-cluster/tutorial/setup-cluster/ 这个官网文档有问题,落下了东西。直接安装文档配置会报错误就是

Component 'org.neo4j.cluster.client.ClusterJoin@6a48a7f3’ was successfully initialized, but failed to start. Please see the attached cause exception "Conversation-response mapping:

总之就是通信异常 ,节点之间相互无法通信 然后尝试着不断修改 neo4j.conf ,并 监听 每个 节点的neo4j的输出日志

tail -f /opt/neo4j/logs/neo4j.log

最后发现 最关键的 其实是这两个 没有配置,需要到neo4j.conf中把下面两行的注释符号去掉

dbms.connector.bolt.enabled=true dbms.connector.bolt.listen_address=:7687

所有集群内neo4j restart . ok !

楼主,是怎么解决的啊

回到顶部