zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Rimba <paul.ri...@gmail.com>
Subject Dynamic addition of server to a running cluster
Date Wed, 06 Jul 2011 00:35:33 GMT
Hey there,

is there any way to dynamically add a new server to a running cluster?

i tried searching on google and i found that this issue has not been fixed.(
https://issues.apache.org/jira/browse/ZOOKEEPER-762)


To my understanding, all the servers in a cluster must have the same
configuration(zoo.cfg).

If a new server wants to join an already running cluster, how does it get
the same configuration from the cluster before appending his own
server.x=host:port:electionport?

and how does every server get the updated configuration? What i did so far
is to upload it a znode, say /config/zoo.cfg and when there is a
change(NodeDatachanged),
every server gets the updated version (is this the right approach?)

thanks in advance

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