The rsyncd-start scripts gets the data_dir path from the command line and create a rsyncd.conf on the fly exporting the path as the rsync module named "solr". The salves need the data_dir path on the master to look for the latest snapshot. But the rsync command used by the slaves relies on the rsync module name "solr" to do the file transfer using rsyncd.
Bill On Tue, Jun 10, 2008 at 4:24 AM, Jacob Singh <[EMAIL PROTECTED]> wrote: > Hey folks, > > I'm messing around with running multiple indexes on the same server > using Jetty contexts. I've got the running groovy thanks to the > tutorial on the wiki, however I'm a little confused how the collection > distribution stuff will work for replication. > > The rsyncd-enable command is simple enough, but the rsyncd-start command > takes a -d (data dir) as an argument... Since I'm hosting 4 different > instances, all with their own data dirs, how do I do this? > > Also, you have to specify the master data dir when you are connecting > from the slave anyway, so why does it need to be specified when I start > the daemon? If I just start it with any old data dir will it work for > anything the user running it has perms on? > > Thanks, > Jacob >