lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dilip.TS" <>
Subject RE: Solr replication
Date Tue, 18 Dec 2007 04:26:23 GMT
 I understand that the Rsync is a Unix/Linux daemon thread which needs to be
enable/run to achieve Solr Collection Distribution.
Do we have any similar support for the Solr Collection Distribution in the
Windows environment or
Do we need to write equivalent commands (in the form of batch files) which
will do the same steps as the shell scripts placed under solr/bin folder.

Thanks in advance.


 -----Original Message-----
From: Bill Au []
Sent: Tuesday, December 18, 2007 4:00 AM
Subject: Re: Solr replication

  Rsync is a Unix/Linux command.  I dont' know if that's available on
Windows.  All the distribution scripts were developed and tested under
Unix/Linux.  They may or may not work on Windows.  I don't know much about
Windows so if you are running on Windows that I am the wrong person to be
asking help.  You may want to use the mailing list to see if anyone is doing
collection distribution on Windows.

  Solr is accessed through HTTP so you just need to use HTTP (for example,
IE) on a Windows system to access a Solr server.


  On Dec 17, 2007 8:53 AM, Dilip.TS <> wrote:

    Hi Bill,

    I have a basic question (as im not an expert in unix).

    I understand that the rsync is a deamon thread (similar to services in

    Im not clear about what are the things/steps required to set up this
    deamon thread?
    (Dont mind asking this question againg since im not very much clear

    Does it mean that the SOLR servers(both master and slave) should be made
    running on a unix/linux machine only?

    How does a client (using Windows environment) able to access the SOLR
    running on Unix/Platform?

    Any links/references would be of great help.

    Thanks in advance.


    -----Original Message-----
    From: Bill Au [mailto:]
    Sent: Saturday, December 15, 2007 1:08 AM
    Subject: Re: Solr replication

    On Dec 14, 2007 7:00 AM, Dilip.TS <> wrote:

    > Hi,
    > I have the following requirement for SOLR Collection Distribution
    > Embedded Solr with the Jetty server:
    > I have different data folders for multiple instances of SOLR within
    > Same
    > application.
    > Im using the same SOLR_HOME with a single bin and conf folder.
    > My query is:
    > 1)Is is possible to have the same SOLR_HOME for multiple solr
    > and
    > still be able to
    >  achieve Solr Distribution?
    >  (As i understand that we need to have differnet rsync port for
    > solr instances)

    Yes, solr distribution will work for multiple solr instances even if
    all use the same SOLR_HOME.
    All the distribution scripts have a command line argument for specifying
    data directory.

    > 2)Can i get some more information about how to start this rsyncd
    > and
    >  which is the best way of doing it i.e. to start during system reboot
    > doing it manually?

    Please note that the rsyncd

    So it is best to configure the master server to run the rsyncd-start
    at system boot time.  If the rsync daemon has for some reasons been
    disabled, it will not be started automatically at system reboot even if
    is configured to do so.  If rsyncd is started manually, then one will
    to remember to start it every time the master server is rebooted.

    > 3)Let me know if my understanding is correct. We require 1 Master
    > and
    > a minimum of 1 slave server.
    >  The master server and the slave server cannot be running on the same
    > machine. Am i right?
    >  In the case of the SOLR Distribution, if the SOLR server acts as the
    > Master server
    >  then how about this slave server ? Is it the Application server which
    > calls the Master SOLR Server
    >  acts as slave server?

    Both the master and slave are SOLR servers.  Typically they are on
    It doesn't make sense (at least not to me) to have both of them on the

    > 4)I observe the file scripts.conf for master server:
    >    solr_port=8983
    >    rsyncd_port=18983
    >    +Enable and start rsync:
    >         rsyncd-enable; rsyncd-start
    >    +Run snapshooter:
    >         snapshooter
    >    Just to confirm is it mandatory that the solr master server should
    > the solr_port as 8983 only?

    It does not to be 8983.   That's just an example.

    > 5) How do we enable and start rsync? The link to
    > SolrCollectionDistributionScripts mentions about
    >   installing rsyncd daemon either during system boot time or by
    >   Which method is more preferrable?
    >   How do we achieve this as iam not clear on this?

    > 6) How do we setup crontab to run snappuller and snapinstaller
    > periodically?

    How to start rsyncd  at system boot time and setup crontab to run
    and snapinstaller depends on the OS that Solr is running on.

    > Regards,
    > Dilip TS
    > Starmark Services Pvt. Ltd.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message