Zookeeper - upgrade from standalone to quorum

白昼怎懂夜的黑 提交于 2019-12-24 08:39:05

问题


Currently I have a standalone ZK instances used in a test system. But this test system has become production system and i would like to upgrade from 1 ZK instance to 3 without compromising availability of the SolrCloud system that ZK is overseeing.

From what i've read upgrading from 3 to 5 and so on is pretty easy using rolling restarts, but haven't found any info on going from standalone (1 instance) to 3.

Does anyone have any insight on this (anyone who might have tried it)? Thanks!


回答1:


I managed to do it after all by stopping node 1, updating configuration to know of all other servers and then creating the myid files for each node. Then i restarted node 1 and started node 2,3,4 and everything went just fine.



来源:https://stackoverflow.com/questions/20067560/zookeeper-upgrade-from-standalone-to-quorum

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!