You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2006/04/10 21:22:28 UTC

[Solr Wiki] Update of "SolrDistributionStatusStats" by BillAu

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by BillAu:
http://wiki.apache.org/solr/SolrDistributionStatusStats

------------------------------------------------------------------------------
  
  == Distribution Status/Stats ==
  
- The file `logs/snappuller.status` on the slave machine contains the status
+ The file '''solr/logs/snappuller.status''' on the slave Solr server contains the status
- and stats of the current or most recent invocation of snappuller.
+ and stats of the current or most recent invocation of '''snappuller'''.
  
- A copy of this file is scp back to the master whenever it changes.  On the master
+ A copy of this file is scp back to the master Solr server whenever it changes.  
+ The directory on the master Solr server containing the status files of all the slaves is defined by the environment variable '''master_status_dir''' in the configuration file '''solr/conf/scripts.conf''' or  specified in the '''snappuller''' command line option '''-S'''.
- machine, the status files of all the slaves are in the directory
- `logs/clients`.  The name of the file itself contains the uname of
- the slave as the suffix (for example, snappuller.status.machine.domain.com).
+ The name of the file itself contains the uname of the slave as the suffix (for example, snappuller.status.machine.domain.com).
  
  Here is a summary of what the snappuller status file contains for various situation:
  
- === no snapshot on slave ===
- file does not exist
+ === no snapshot available on master server in the data directory ===
+ {{{
+ no snapshot svailable on master <host> in directory <dir>
+ }}}
  
  === rsync in progress ===
  {{{
@@ -41, +42 @@

  
  == Snapshot In Use ==
  
- The file `logs/snapshot.current` on the slave machine contains the name of
+ The file '''solr/logs/snapshot.current''' on the slave Solr server contains the name of
  the snapshot being used as the live index currently.
  Name of snapshot is in the following format:
  
- `snapshot.YYYYMMDDhhmmss`
+ '''snapshot.''yyyymmddHHMMSS'''''
+ 
+ where '''''yyyymmddHHMMSS''''' is the timestamp of when the snapshot was taken.
  
  The name of the snapshot corresponds to the name of the directory
  holding all the segments.
  
- A copy of this file is scp back to the master whenever it changes.  On the master
+ A copy of this file is scp back to the master Solr server whenever it changes.
- machine, the status files of all the slaves are in the directory
+ The directory on the master Solr server containing the status files of all the slaves is defined by the environment variable '''master_status_dir''' in the configuration file '''solr/conf/scripts.conf''' or  specified in the '''snappuller''' command line option '''-S'''.
- `logs/clients`.  The name of the file itself contains the uname of
+ The name of the file itself contains the uname of
  the slave as the suffix (for example, snapshot.current.machine.domain.com).