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.
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
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
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
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
Keeper-ensemble-on-a-single-machine-tp4198272p4198279.html
Sent from the Solr - User mailing list archive at Nabble.com.
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