Hi Raghu, You are right that the cluster configuration is a static one. To deal with this problem, we usually suggest that you change your configs for every server and then re hup all of them at the same time (almost the same time I mean). The clients would lose connections to the servers but will reconnect and should regain their old sessions.
Also, their is an open jira on this: http://issues.apache.org/jira/browse/ZOOKEEPER-107 thanks mahadev On 3/13/09 4:46 PM, "rag...@yahoo.com" <rag...@yahoo.com> wrote: > > ZooKeeper gurus, > > Can I add servers dynamically to a ZooKeeper cluster? If I understand ZooKeepr > cluster correctly, each server should know about other servers in the cluster > during server start up. Does this mean that the cluster size is static once > the cluster is running and a new server can be added to the cluster only by > bringing down the cluster and restarting each server with the new server name > included in each server's configuration file? > > Thanks > Raghu > > > >