lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dilip.TS" <dilip...@starmarksv.com>
Subject RE: Solr replication
Date Tue, 18 Dec 2007 04:26:23 GMT
Hi,
 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.

Regards,
Dilip.

 -----Original Message-----
From: Bill Au [mailto:bill.w.au@gmail.com]
Sent: Tuesday, December 18, 2007 4:00 AM
To: dilip.ts@starmarksv.com
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.

  Bill


  On Dec 17, 2007 8:53 AM, Dilip.TS < dilip.ts@starmarksv.com> 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
    Windows).

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

    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
Server
    running on Unix/Platform?

    Any links/references would be of great help.

    Thanks in advance.

    Regards
    Dilip




    -----Original Message-----
    From: Bill Au [mailto: bill.w.au@gmail.com]
    Sent: Saturday, December 15, 2007 1:08 AM
    To: solr-user@lucene.apache.org; dilip.ts@starmarksv.com
    Cc: hossman_lucene@fucit.org; yuhui.jin@gmail.com
    Subject: Re: Solr replication


    On Dec 14, 2007 7:00 AM, Dilip.TS <dilip.ts@starmarksv.com> wrote:

    > Hi,
    > I have the following requirement for SOLR Collection Distribution
using
    > Embedded Solr with the Jetty server:
    >
    > I have different data folders for multiple instances of SOLR within
the
    > 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
instances
    > and
    > still be able to
    >  achieve Solr Distribution?
    >  (As i understand that we need to have differnet rsync port for
different
    > solr instances)


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


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


    Please note that the rsyncd
    -CollectionDistributionScripts#head-1e6cdce516ecf1eb31bffceaccf2abeb72bd
ce81

    So it is best to configure the master server to run the rsyncd-start
script
    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
it
    is configured to do so.  If rsyncd is started manually, then one will
have
    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
Server
    > 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
different
    machines.
    It doesn't make sense (at least not to me) to have both of them on the
same
    machine.


    >
    > 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
have
    > 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
manually.
    >   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
snappuller
    and snapinstaller depends on the OS that Solr is running on.


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




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