zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elastic search <elastic....@gmail.com>
Subject zk config 3.4.6
Date Mon, 07 Dec 2015 16:31:39 GMT
In zookeeper 3.4.6 how do i add and remove servers in zoo.cfg without
affecting the cluster availability.

For example
server.1=zoo1:2888:3888
server.2=zoo2:2888:3888
server.3=zoo3:2888:3888

Step 1  : Add 4th server in config
server.1=zoo1:2888:3888
server.2=zoo2:2888:3888
server.3=zoo3:2888:3888
server.4=zoo3:2888:3888

Step 2  : Remove 1st server in config
server.2=zoo2:2888:3888
server.3=zoo3:2888:3888
server.4=zoo3:2888:3888

Up until the old servers have been replaced
server.4=zoo2:2888:3888
server.5=zoo3:2888:3888
server.6=zoo3:2888:3888

As soon as the config change the servers become unusable . Please suggest

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message