Hey Ganesh, This was not for clustering.I do not think you would need clustering with solr cloud.With solr cloud when you create a collection from scratch it creates the data directories under solr home.Now if your drives are mounted as (/d/1,/d/2 etc) you would want to use all the storage available for indexes apart from any system resources.So we just created the collection and then shut down solr and used symlinks to point to all the mounts.
Thanks, Nishanth On Tue, Jan 6, 2015 at 11:29 AM, <ganesh.ya...@sungard.com> wrote: > Nishanth, > > 1. I understand you are implementing clustering for the web apps > which is running the same application on multiple different instances on > one or more machines. > > 2. If each of your web apps start pointing to the different index > directory, how it will switch to the next web App with different index if > search term is not found in the first index directory? > > 3. Or will the web app collect the result sequentially from all the > Index directories and will present the resulting collection to the user? > > > > Please share your thoughts > > > > Thanks > > G > > > > > > > > -----Original Message----- > From: Nishanth S [mailto:nishanth.2...@gmail.com] > Sent: Tuesday, January 06, 2015 12:17 PM > To: solr-user@lucene.apache.org > Subject: Re: Running Multiple Solr Instances > > > > Thanks a lot guys.As a begineer these are very helpful fo rme. > > > > Thanks, > > Nishanth > > > > On Tue, Jan 6, 2015 at 5:12 AM, Michael Della Bitta < > michael.della.bi...@appinions.com> wrote: > > > > > I would do one of either: > > > > > > 1. Set a different Solr home for each instance. I'd use the > > > -Dsolr.solr.home=/d/2 command line switch when launching Solr to do so. > > > > > > 2. RAID 10 the drives. If you expect the Solr instances to get uneven > > > traffic, pooling the drives will allow a given Solr instance to share > > > the capacity of all of them. > > > > > > > > > On 1/5/15 23:31, Nishanth S wrote: > > > > > >> Hi folks, > > >> > > >> I am running multiple solr instances (Solr 4.10.3 on tomcat > > >> 8).There are > > >> 3 physical machines and I have 4 solr instances running on each > > >> machine on ports 8080,8081,8082 and 8083.The set up is well up to > > >> this point.Now I want to point each of these instance to a different > > >> index directories.The drives in the machines are mounted as > > >> d/1,d/2,d/3 ,d/4 etc.Now if I define > > >> /d/1 as the solr home all solr index directories are created in > > >> /d/1 where as the other drives remain un used.So how do I configure > solr to > > >> make use of all the drives so that I can get maximum storage for > > >> solr.I would really appreciate any help in this regard. > > >> > > >> Thanks, > > >> Nishanth > > >> > > >> > > > >