Zookeeper-Solr中的部队领导人选举机制

时间:2018-07-25 12:30:42

标签: apache-zookeeper solrcloud

我们希望强制选举特定的Zookeeper节点为实时集群的领导者,但没有找到任何解决方案。您能帮上忙吗?

     Our current setup is with 5 nodes configured in multi region (for DR 
purpose). 2 in one region1 and 3 in another region2. Currently appilcations 
and backend services are pointing to region1, so the zookeeper leader is 
configured in this region. If any case of failure leader is switching to 
region2. In this case any write operation comes from region1 (since region1 
is our active region) will goes to region2 zookeeper leader node. This will 
case some delay in response, to avoid this we need to force elect leader on 
any of the node in region1. Could you please help us with any commands or 
steps to force elect any particular node to leader?

0 个答案:

没有答案