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 AndrewSavory:
http://wiki.apache.org/solr/SolrCollectionDistributionScripts

The comment on the change is:
clarify rsyncd-start a little

------------------------------------------------------------------------------
     -V   output debugging info
  }}}
  
- Starts the rsyncd daemon on the master Solr server. The rsyncd daemon sets 
its port number to be the port number of the Solr server incremented by 10000 
if the environment variable '''rsyncd_port''' is not set in 
'''solr/conf/scripts/conf''' and the '''-p''' command line argument is not 
specified. For example, if the Solr server runs at port 7000, then its  rsyncd 
daemon runs at port 17000. The start script is synchronous. After starting the 
rsyncd daemon, it will attempt to connect to it for up to 15 seconds. The start 
script will exit with error code 2 if it fails to connect to the rsyncd daemon. 
Before starting the rsyncd daemon, it generates the configuration file 
'''solr/conf/rsyncd.conf''' which is in turn removed by '''rsyncd-stop''' at 
shutdown time.  The process ID of the rsyncd daemon is written into the file 
'''solr/logs/rsyncd.pid'''. Output of the rsyncd daemon is written into the 
file '''solr/logs/rsyncd.log'''.  All relative paths specified with the -d 
option
  start at the Solr root directory '''solr'''.
+ Starts the rsyncd daemon on the master Solr server. The rsyncd daemon sets 
its port number to be the port number of the Solr server incremented by 10000 
if the environment variable '''rsyncd_port''' is not set in 
'''solr/conf/scripts/conf''' and the '''-p''' command line argument is not 
specified. For example, if the Solr server runs at port 7000, then its  rsyncd 
daemon runs at port 17000. The start script is synchronous. After starting the 
rsyncd daemon, it will attempt to connect to it for up to 15 seconds. The start 
script will exit with error code 2 if it fails to connect to the rsyncd daemon.
+ 
+ Before starting the rsyncd daemon, this script generates the configuration 
file '''solr/conf/rsyncd.conf''' which is in turn removed by '''rsyncd-stop''' 
at shutdown time. The rsyncd.conf specifies a module that exports a directory 
tree via the daemon, which limits what can be accessed by rsync clients to the 
solr.home/data directory. See the 
[http://www.samba.org/ftp/rsync/rsyncd.conf.html rsyncd.conf] man page for more 
information on the format of this file.
+ 
+ The process ID of the rsyncd daemon is written into the file 
'''solr/logs/rsyncd.pid'''. Output of the rsyncd daemon is written into the 
file '''solr/logs/rsyncd.log'''.  All relative paths specified with the -d 
option start at the Solr root directory '''solr'''.
  
  == rsyncd-stop ==
  

Reply via email to