Hi Stijn, Thank you for sharing this. Would it at all be possible for you to update the parts of SolrCloud page that are incorrect and that you figured out or add anything new that's not on that page yet?
Thanks! Otis ---- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ ----- Original Message ---- > From: Stijn Vanhoorelbeke <[email protected]> > To: [email protected] > Sent: Fri, February 18, 2011 6:42:10 AM > Subject: Re: SolrCloud new.... > > > Hi, > > I'm busy doing the exact same thing. > I figured things out - all by myself - the wiki page is a nice 'fist view', > but doesn't goes in dept... > > Lets go ahead: > 1)Should i copy the libraries from cloud to trunk??? > 2)should i keep the cloud module in every system??? > > A: Yes, you should. > You should get yourself the latest dev trunk and compile it. > > The steps I followed: > + grap latest trunk & build solr > + backup all solr config files > + in dir tomcat6/webapps/ remove the dir 'solr' > + copy the new solr.war ( which you build in first step ) to tomcat6/webapps > + On your Solr_home/conf dir solrconfig.xml need to be replaced by a new one > ( you take from example dir of your build) -- some other config files ( like > schema.xml ) you may keep using the old ones. > + Adapt the new files to represent the old configuration > + restart tomcat and it will install new version of solr > > It seems the index isn't compatible - so you need to flush your whole index > and re-index all data. > And finally you have your solr system back with zookeeper integrated in > /admin zone :) > > > 3) I am not using any cores in the solr. It is a single solr in every > system.can solrcloud support it?? > > A: Actually you are using one cor - so gives no problem. > But be sure to check you have solr.xml file in your solr_home dir. > This file just mentions all cores - in your case just one core; > ( you can find examples of layout of this file easily on > http://wiki.apache.org/solr/CoreAdmin ) > > 4) the example is given in jetty.Is it the same way to make it in tomcat??? > > A: Right now - it is the same way. > You have to edit your /etc/init.d/tomcat6 startup script. In the start) > section you can specify all the JAVA_OPTS ( the ones the solrcloud wiki > mentions). > > Be sure to set following one: > export JAVA_OPTS="$JAVA_OPTS -DhostPort=8080" ( if tomcat runs on port 8080 > ) > > At first I didn't --> my zookeeper pointed to standard 8983 port, which > gave errors. > > > In the above I gave you a quick peak how to get the SolrCloud feature. > In above the Zookeeper is embedded in one of your solr machines. If you > don't want this you may place zookeeper on a different machine ( like I'm > doing right now). > > If you need more help - you can contact me. > Stijn Vanhoorelbeke, > > > -- > View this message in context: >http://lucene.472066.n3.nabble.com/SolrCloud-new-tp1528872p2526080.html > Sent from the Solr - User mailing list archive at Nabble.com. >
