Re: solr init.d script

2010-11-09 Thread Lance Norskog
As many solrs as you want can open an index for read-only queries. If you have a shared disk with a global file system, this could work very well. A note: Solr sessions are stateless. There is no reason to run JBoss Solr in fail-over mode with session replication. On Tue, Nov 9, 2010 at 12:25 PM,

Re: solr init.d script

2010-11-09 Thread Nikola Garafolic
On 11/09/2010 07:00 PM, Israel Ekpo wrote: Yes. I recommend running Solr via a servlet container. It is much easier to manage compared to running it by itself. On Tue, Nov 9, 2010 at 10:03 AM, Nikola Garafolic wrote: But in my case, that would make things more complex as I see it. Two jboss

Re: solr init.d script

2010-11-09 Thread Israel Ekpo
Yes. I recommend running Solr via a servlet container. It is much easier to manage compared to running it by itself. On Tue, Nov 9, 2010 at 10:03 AM, Nikola Garafolic wrote: > I have two nodes running one jboss server each and using one (single) solr > instance, thats how I run it for now. > >

Re: solr init.d script

2010-11-09 Thread Israel Ekpo
I think it would be a better idea to load solr via a servlet container like Tomcat and then create the init.d script for tomcat instead. http://wiki.apache.org/solr/SolrTomcat#Installing_Tomcat_6 On Tue, Nov 9, 2010 at 2:47 AM, Eric Martin wrote: > Er, what flavor? > > RHEL / CentOS > > #!/bin/

Re: solr init.d script

2010-11-09 Thread Nikola Garafolic
I have two nodes running one jboss server each and using one (single) solr instance, thats how I run it for now. Do you recommend running jboss with solr via servlet? Two jboss run in load-balancing for high availability purpose. For now it seems to be ok. On 11/09/2010 03:17 PM, Israel Ekp

Re: solr init.d script

2010-11-09 Thread Nikola Garafolic
Sorry, forgot to mention, Centos. Thanks. I have very similar script to this Centos one and I am missing status portion of the script. On 11/09/2010 08:47 AM, Eric Martin wrote: Er, what flavor? RHEL / CentOS #!/bin/sh # Starts, stops, and restarts Apache Solr. # # chkconfig: 35 92 08 # de

RE: solr init.d script

2010-11-08 Thread Eric Martin
Er, what flavor? RHEL / CentOS #!/bin/sh # Starts, stops, and restarts Apache Solr. # # chkconfig: 35 92 08 # description: Starts and stops Apache Solr SOLR_DIR="/var/solr" JAVA_OPTIONS="-Xmx1024m -DSTOP.PORT=8079 -DSTOP.KEY=mustard -jar start.jar" LOG_FILE="/var/log/solr.log" JAVA="/usr/bin/ja