I have used the NSSM method from the link mentioned by Shawn to set up
zookeeper as a service. Just follow the same steps and point it to the
zookeeper startup script, but leave the Arugment field empty.
Regards,
Edwin
On 23 March 2016 at 22:02, Shawn Heisey wrote:
> On 3/23/2016 6:30 AM, manohar c wrote:
> >Can you please provide me steps for set up multiple solr clouds
> with
> > zookeeper in windows machines. I am using solr 5.4.1 and zookeeper 3.4.6
>
> Solr doesn't come with an installation method for Windows. Although
> Solr will run on Windows, and we include a start script for Windows,
> exactly how to install Solr and run it at boot time is left up to the
> user. We do have a lot of interest for including a Windows installation
> option, but none has been written yet. There is an enhancement issue
> already filed, with some ideas:
>
> https://issues.apache.org/jira/browse/SOLR-7105
>
> We *will* get there, it is just going to take some time.
>
> Because Solr is an open source project, most of the people associated
> with the project also prefer open source operating systems. Those
> operating systems are free, unlike Windows, which adds a significant
> cost to each server that runs it. The *client* operating systems from
> Microsoft are typically cheaper, but Microsoft has intentionally
> crippled the client operating systems so they don't run server workloads
> very well. It is my opinion that Linux is a far better environment for
> Solr than Windows Server, even if you ignore the cost considerations.
> That's all I'm going to say on that subject -- the "Windows vs. Open
> Source" debate usually devolves into a flamewar.
>
> A number of people around the Internet have described ways to run Solr
> 5.x as a service on Windows.
>
> Here's one of them:
>
> http://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/
>
> There should also be instructions out there for running zookeeper as a
> service. Although Solr does have the ability to run with zookeeper
> embedded, we strongly recommend that you use an external zookeeper for
> production.
>
> Zookeeper is a separate program from Solr. It is included in Solr, but
> we cannot provide full support for it.
>
> Thanks,
> Shawn
>
>