You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by "Fan, GaofengX" <ga...@intel.com> on 2014/12/03 03:21:37 UTC

do zookeeper allow dynamically add server?

I note that user need edit zoo.cfg to tell zookeeper the number of the servers before I start the zookeeper server.

server.1=x.x.x.x:2888:3888
server.2=x.x.x.x:2888:3888
server.3=x.x.x.x:2888:3888

Could I add the zookeeper server to the system when the system is running?

BRs
Gaofeng


Re: do zookeeper allow dynamically add server?

Posted by Flavio Junqueira <fp...@yahoo.com.INVALID>.
Note that this feature is only available from the 3.5 branch onwards. 
-Flavio 

     On Thursday, December 4, 2014 12:57 PM, Otis Gospodnetic <ot...@gmail.com> wrote:
   
 

 I believe you can, but need to update the list of all ZK nodes on all ZK
nodes.

Otis
--
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/


On Tue, Dec 2, 2014 at 9:21 PM, Fan, GaofengX <ga...@intel.com>
wrote:

> I note that user need edit zoo.cfg to tell zookeeper the number of the
> servers before I start the zookeeper server.
>
> server.1=x.x.x.x:2888:3888
> server.2=x.x.x.x:2888:3888
> server.3=x.x.x.x:2888:3888
>
> Could I add the zookeeper server to the system when the system is running?
>
> BRs
> Gaofeng
>
>


 
   

Re: do zookeeper allow dynamically add server?

Posted by Otis Gospodnetic <ot...@gmail.com>.
I believe you can, but need to update the list of all ZK nodes on all ZK
nodes.

Otis
--
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/


On Tue, Dec 2, 2014 at 9:21 PM, Fan, GaofengX <ga...@intel.com>
wrote:

> I note that user need edit zoo.cfg to tell zookeeper the number of the
> servers before I start the zookeeper server.
>
> server.1=x.x.x.x:2888:3888
> server.2=x.x.x.x:2888:3888
> server.3=x.x.x.x:2888:3888
>
> Could I add the zookeeper server to the system when the system is running?
>
> BRs
> Gaofeng
>
>

Re: do zookeeper allow dynamically add server?

Posted by craig w <co...@gmail.com>.
Not until zookeeper 3.5.0:
https://issues.apache.org/jira/browse/ZOOKEEPER-762

On Tue, Dec 2, 2014 at 9:21 PM, Fan, GaofengX <ga...@intel.com>
wrote:

> I note that user need edit zoo.cfg to tell zookeeper the number of the
> servers before I start the zookeeper server.
>
> server.1=x.x.x.x:2888:3888
> server.2=x.x.x.x:2888:3888
> server.3=x.x.x.x:2888:3888
>
> Could I add the zookeeper server to the system when the system is running?
>
> BRs
> Gaofeng
>
>


-- 

https://github.com/mindscratch
https://www.google.com/+CraigWickesser
https://twitter.com/mind_scratch
https://twitter.com/craig_links