zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Song <heven...@gmail.com>
Subject Re: If i update my conf/zoo.cfg config, must i restart my zk server?
Date Wed, 30 Nov 2011 01:51:19 GMT
Thanks Ted, I also met the same problem. Your solution sounds so good.

>From Davy

2011/11/29 Ted Dunning <ted.dunning@gmail.com>

> To expand on that FAQ, the detailed process should be to
>
> - configure the new servers
>
> - update the configuration on the old servers
>
> - restart each old server one at a time
>
> - start the new servers
>
> - have your applications reconnect with the full set of servers in the
> connection string.  This can be done whenever you like.
>
> Your clients will receive a disconnect message when the server that they
> are talking to is restarted, but they should reconnect immediately and
> transparently.  You may have a problem if your applications don't handle
> transient disconnections properly.
>
>
>
> On Tue, Nov 29, 2011 at 3:10 AM, pubudu gunawardena <pubudupg@gmail.com
> >wrote:
>
> > On Tue, Nov 29, 2011 at 1:08 PM, nileader <nileader@gmail.com> wrote:
> > >
> > > hi, all.
> > >
> > > If i update my conf/zoo.cfg config, must i restart my zk server?
> > >
> > > In my case, we have 3 servers in production environment, now, we want
> to
> > > upgrade to 5 server.
> >
> > Take a look at http://wiki.apache.org/hadoop/ZooKeeper/FAQ#A6 where it
> > says
> > how to upgrade ZooKeeper.
> > >
> > >
> > > Any problem will happen if a kill one of three servers.
> > >
> > >
> > > *--nileader@gmail.com*
> >
> >
> >
> >
> > --
> > Thanks,
> > Pubudu
> >
>

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