For my version in Solr-5.0.0, I use this command to start:

java -DzkHost=localhost:2181,localhost:2182,localhost:2183 -jar start.jar

For my setup, the 3 zookeeper servers are running on the same machine, but
you can replace the 'localhost' to your server IP addresses, and also
replace the ports accordingly.

Regards,
Edwin


On 28 April 2015 at 02:13, Timothy Potter <thelabd...@gmail.com> wrote:

> Can you try defining the ZK_HOST in bin\solr.in.cmd instead of passing
> it on the command-line?
>
> On Mon, Apr 27, 2015 at 12:10 PM, Erick Erickson
> <erickerick...@gmail.com> wrote:
> > What version of Solr are you using? 4.10.3? 5.1?
> >
> > And can we see the full output of your attempt to start Solr? There
> > might be some more informative bits above the help response.
> >
> > Best,
> > Erick
> >
> > On Mon, Apr 27, 2015 at 9:49 AM, Stephan Schubert
> > <stephan.schub...@sick.de> wrote:
> >> Hi everyone,
> >>
> >> how is it possible to start solr with an external set of zookeeper
> >> instances (quorum of 3 servers) on a windows server (2008R2)?
> >>
> >> From the wiki I got (
> >>
> https://cwiki.apache.org/confluence/display/solr/Setting+Up+an+External+ZooKeeper+Ensemble
> >> )
> >>
> >> bin\solr restart -c -p 8983 -z
> >> samplehost1:9983,samplehost2:9983,samplehost3:9983 -m 6g
> >>
> >> But this seems not to work on windows. After I start this command, the
> >> start skript prints out the help option only. With only one zookeeper
> >> Instance it works. Any suggestions?
> >>
> >> Regards
> >>
> >> Stephan
> >> ------------------------------------
> >> Solr Version: 5.1
> >>
> >> SICK AG - Sitz: Waldkirch i. Br. - Handelsregister: Freiburg i. Br. HRB
> >> 280355
> >> Vorstand: Dr. Robert Bauer (Vorsitzender)  -  Reinhard Bösl  -  Dr. Mats
> >> Gökstorp  -  Dr. Martin Krämer  -  Markus Vatter
> >> Aufsichtsrat: Gisela Sick (Ehrenvorsitzende) - Klaus M. Bukenberger
> >> (Vorsitzender)
>

Reply via email to