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-scriptThen 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