HI!

I have the same question

Thanks in advance

On Mon, Oct 12, 2009 at 1:55 PM, Pieter Steyn <pieter...@gmail.com> wrote:

> Sorry for the hijack, but s replication necessary when using a cluster
> file-system such as GFS2.  Where the files are the same for any
> instance of Solr?
>
>
> On Mon, Oct 12, 2009 at 8:36 PM, Dan Trainor <dtrai...@toolbox.com> wrote:
> > On 10/12/2009 10:49 AM, Chaitali Gupta wrote:
> >>
> >> Hi,
> >>
> >> How should we setup masI ter and slaves in Solr? What configuration
> files
> >> and parameters should we need to change and how ?
> >>
> >> Thanks,
> >> Chaitali
> >
> > Hi -
> >
> > I think Shalin was pretty clear on that, it is documented very well at
> > http://wiki.apache.org/solr/SolrReplication .
> >
> > I am responding, however, to explain something that took me a bit of time
> to
> > wrap my brain around in the hopes that it helps you and perhaps some
> others.
> >
> > Solr in itself does not replicate.  Instead, Solr relies on an underlying
> > rsync setup to keep these indices sync'd throughout the collective.  When
> > you break it down, its simply rsync with a configuration file making all
> the
> > nodes "aware" that they participate in this configuration.  Wrap a cron
> > around this between all the nodes, and they simply replicate raw data
> from
> > one "master" to one or more slave.
> >
> > I would suggest reading up on how snapshots are preformed and how the log
> > files are created/what they do.  Of course it would benefit you to know
> the
> > ins and outs of all the elements that help Solr replicate, but its been
> my
> > experience that most of it has to do with those particular items.
> >
> > Thanks
> > -dant
> >
> >
>



-- 
  There are two ways of constructing a software design: One way is to make
it so simple that there are obviously no deficiencies, and the other way is
to make it so complicated that there are no obvious deficiencies. The first
method is far more difficult.  -C. A. R. Hoare

  Any fool can write code that a computer can understand. Good programmers
write code that humans can understand. - Martin Fowler

Reply via email to