We host solr on TOMCAT.
To tackle reboot. We start solr by starting Tomcat in init and using a small
script (called by the tomcat rc.d script)
kept at the  "../SOLRHOME" which does the CHDIR and starts catalina. This
works perfectly for multiple indexes
hosting too.

//Vikalp

On Wed, Aug 13, 2008 at 11:22 PM, Jon Drukman <[EMAIL PROTECTED]> wrote:

> Jason Rennie wrote:
>
>> On Tue, Aug 12, 2008 at 8:49 PM, Jon Drukman <[EMAIL PROTECTED]> wrote:
>>
>>  1. How do people deal with having solr start when system reboots, manage
>>> the log output, etc.  Right now I run it manually under a unix 'screen'
>>> command with a wrapper script that takes care of restarts when it
>>> crashes.
>>>  That means that only my user can connect to it, and it can't happen when
>>> the system starts up... But I don't see any other way to control the
>>> process
>>> easily.
>>>
>>>
>> We use daemontools.  Restarts solr whenever it goes down (for whatever
>> reason) and directs output to a set of rotated log files.  Very handy for
>> a
>> production environment.  A bit tricky to set, but solid once you have it
>> in
>> place.
>>
>> http://cr.yp.to/daemontools.html
>>
>
> *facepalm*
>
> Duh.  I should have thought of that.  I'm a big fan of djbdns so I'm quite
> familiar with daemontools.
>
> Thanks!
>
> -jsd-
>
>

Reply via email to