简体   繁体   English

AWS中的Neo4j HA集群

[英]Neo4j HA cluster in AWS

I have a Neo4j HA cluster setup in AWS with three EC2 instances ( One master and two slaves). 我在AWS中有一个Neo4j HA群集设置,其中包含三个EC2实例(一个主实例和两个从属实例)。 My application is configured in such a way that it communicates with the master node only. 我的应用程序以仅与主节点通信的方式进行配置。 Now, my question is, if master node fails, how my application will get connected to the new master node (any one from the two slaves)? 现在,我的问题是,如果主节点发生故障,我的应用程序将如何连接到新的主节点(两个从节点中的任何一个)?

Thanks, Debojit 谢谢,Debojit

You need to have a load balancer between your application and the Neo4j cluster. 您需要在应用程序和Neo4j群集之间有一个负载平衡器。 See the reference manual for a haproxy setup . 有关haproxy的设置,请参见参考手册

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM