Scenario 1: Reusing old data Scenarios This is a practical upgrade scenario, which is to reuse the old version of the data, ZK cluster topology, configuration files are unchanged, only the startup program is the latest version.
Reference article: Zookeeper cluster is how to upgrade to a new version of
Scenario 2: Re-establish the data scheme the idea is to stop the service on a follower machine, then add a new version of ZK (
ZK's data directory is empty ), The new ZK is then started, and the new ZK synchronizes the data from the old cluster. Afterwards operates another follower ZK, which finally operates the ZK of the leader. The program is also practiced.
Scenario 3: The Copy data scheme is basically consistent with the reusable old data programme. The idea is the previous ZK cluster topology is unchanged, and the solution is different from the data file is not reused, but copy the previous data file, is also available.
ZK reference Documentation: A preliminary exploration of zookeeper zookeeper experience of zookeeper operation and maintenance
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.