Re: Deploying multiple ZooKeeper ensemble on a single machine

2015-04-08 Thread Zheng Lin Edwin Yeo
Thank you Swaraj and Jurgen for the information. I'll just stick to the one zoo.cfg for each instance. Now I have one root directory .../zookeeper where I create the 3 subdirectories for each of the instance (known as zookeeper1, zookeeper2 and zookeeper3), and each of them have their own zoo.cfg.

Re: Deploying multiple ZooKeeper ensemble on a single machine

2015-04-08 Thread Jürgen Wagner (DVT)
To be precise: create one zoo.cfg for each of the instances. One config file for all is a bad idea. In each config file, use the same server.X lines, but use a unique clientPort. As you will also have separate data directories, I would recommend having one root directory .../zookeeper where you c

Re: Deploying multiple ZooKeeper ensemble on a single machine

2015-04-08 Thread Swaraj Kumar
Hi Zheng, I am not sure if this command *"zkServer.cmd start zoo.cfg" * works in windows or not, but in zkServer.cmd it calls zkEnv.cmd where " *ZOOCFG=%ZOOCFGDIR%\zoo.cfg*" is set. So, if you want to run multiple instances of zookeeper, change zoo.cfg to your config file and start zookeeper. The

Re: Deploying multiple ZooKeeper ensemble on a single machine

2015-04-08 Thread Zheng Lin Edwin Yeo
Thank you nutchsolruser and Shawn. I've changed the clientPort to different port for each of the machine. It is able to work for my another setup, in which I have 3 different zookeeper folder, and each has its own configuration and all are using zoo.cfg. For that setup I can start the 3 servers in

Re: Deploying multiple ZooKeeper ensemble on a single machine

2015-04-07 Thread Shawn Heisey
On 4/7/2015 9:16 PM, Zheng Lin Edwin Yeo wrote: > I'm using SolrCloud 5.0.0 and ZooKeeper 3.4.6 running on Windows, and now > I'm trying to deploy a multiple ZooKeeper ensemble (3 servers) on a single > machine. These are the settings which I have configured, according to the > Solr Reference Guide

Re: Deploying multiple ZooKeeper ensemble on a single machine

2015-04-07 Thread nutchsolruser
Keeper-ensemble-on-a-single-machine-tp4198272p4198279.html Sent from the Solr - User mailing list archive at Nabble.com.

Deploying multiple ZooKeeper ensemble on a single machine

2015-04-07 Thread Zheng Lin Edwin Yeo
Hi, I'm using SolrCloud 5.0.0 and ZooKeeper 3.4.6 running on Windows, and now I'm trying to deploy a multiple ZooKeeper ensemble (3 servers) on a single machine. These are the settings which I have configured, according to the Solr Reference Guide. These files are under \conf\ directory (C:\Users