-Re: Dynamic addition of server to a running cluster
Alexander Shraer 2011-07-06, 00:55
There's currently no automated way toadd/remove servers. This is ZK-107.
I'm currently implementing this feature, but it will take some time till its in. In the meanwhile there is a "rolling restart" method people use, that someone else (Ted?) would explain better than me. The procedure you describe doesnt work - it doesnt affect the quorums usedinternally by ZK which are determined when a server first starts and also keep in mind that servers can reboot and go back to using the old config file when restarted.
Sent from mobile
On Jul 5, 2011, at 8:36 PM, "Paul Rimba" <[EMAIL PROTECTED]> wrote:
> 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.(
> To my understanding, all the servers in a cluster must have the same
> 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
> 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
> every server gets the updated version (is this the right approach?)
> thanks in advance