Hi Eileen,

Thanks for the reply.

I am using SolrCloud with external ZooKeeper ensemble.
The service can be started, but the connection to Solr is intermittent. It
will keep losing connection with Solr, and after which, Solr is not
functioning.

Any idea on this issue?

Regards,
Edwin


On Wed, 14 Aug 2019 at 15:53, Eileen Mosch <eileen.mo...@logiball.de> wrote:

> Hi Edwin,
>
> yes, it's possible. We already use Solr as service created with nssm.exe
> and it works fine.
>
> Example command:
> nssm install mySolrService path/to/solr/bin/solr.cmd "start -f -c -z
> "zkInstance:2181" -p 8983 -s "path/to/store/solr/data" -m 4g"
>
> Good luck!
>
> Regards,
> Eileen
>
> -----Ursprüngliche Nachricht-----
> Von: Zheng Lin Edwin Yeo <edwinye...@gmail.com>
> Gesendet: Mittwoch, 14. August 2019 04:46
> An: solr-user@lucene.apache.org
> Betreff: Running Solr as a service
>
> Hi,
>
> Is there anyway that we can run Solr as a service, and allow it to start
> automatically during the startup of the system?
>
> I have tried to set up the service by using nssm, but it only works for
> ZooKeeper and not Solr.
>
> I am using Solr 8.2.0.
>
> Regards,
> Edwin
>

Reply via email to