start solr cloud at boot time

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

start solr cloud at boot time

Chuming Chen
Hi All,

Is there any bash script that can start a solr cloud at boot time?

Thanks,

Chuming
Reply | Threaded
Open this post in threaded view
|

Re: start solr cloud at boot time

Shawn Heisey-2
On 9/13/2018 9:25 AM, Chuming Chen wrote:
> Is there any bash script that can start a solr cloud at boot time?

  Use the service installer script.  This will install an init script
and set it up so it starts at boot.

https://lucene.apache.org/solr/guide/7_4/taking-solr-to-production.html#run-the-solr-installation-script

Then you edit the include script (which gets the name
/etc/default/solr.in.sh by default) to tell it about your ZK setup,
change the heap size, and other settings.

Thanks,
Shawn