On 2/17/2016 11:37 AM, Binoy Dalal wrote:
> At my project, we aren't that big on directory and user set up but the fact
> that services can be started and stopped automatically on server reboots
> and ensuring single running copies of the service is of significance.
> Now currently we are running Solr 4.4 but pretty soon we're going to
> upgrade to Solr 4.10.4.
> If I'm not wrong, the install scripts that set everything up ship with Solr
> 5.x. In this case, how do I set up my solr instances to behave like
> services created by the scripts in 5.x?
> I understand that this would entail setting up the init scripts and
> environment variables, and I do not have a lot of experience with those, so
> it'll be great if you can just walk me through it.

The "bin/solr" script was introduced in version 4.10, but I think the
service install script did not appear until 5.0.

Between 4.10 and 5.0, Solr's directory structure and the start/install
scripts underwent a fairly extensive reorganization.  Further
reorganization and improvements have happened in later 5.x releases. 
Getting the init script working properly with 4.x will involve a lot of
work to figure out what is different in 4.x and adjust the script. 
There's no formal documentation that you can look at to describe what
those differences are.  The work was handled in multiple Jira issues,
and some of it may not be documented at all, other than commits to the
source code repository.

Thanks,
Shawn

Reply via email to