Ok, I should correct myself. For #1, I think we need to 1) config different port for each solr home dir (since they run on the same host); 2) run rsync-start script under each of the solr home's bin dir. (btw, just to make clear, we should run rsync-start after rsync-enable that I understand.)
Can someone confirm my understanding? Does the #3 question suggests a hard-coded "solr" that shouldn't be? Thanks, -Hui On 9/19/07, Yu-Hui Jin <[EMAIL PROTECTED]> wrote: > > Hi, there, > > So we are using the Tomcat's JNDI method to set up multiple solr instances > within a tomcat server. Each instance has a solr home directory. > > Now we want to set up collection distribution for all these solr home > indexes. My understanding is: > > 1. we only need to run rsync-start once use the script under any of the > solr home dirs. > 2. we need to run each of the rsync-enable scripts under the solr home's > bin dirs. > 3. the twiki page at > http://wiki.apache.org/solr/SolrCollectionDistributionScripts keeps > refering to solr/xxx. Is this "solr" the example solr home dir? If so, > would it be hard-coded in any of the scripts? For example, I saw in > snappuller line 226 (solr 1.2): > > ${stats} rsync://${master_host}:${rsyncd_port}/solr/${name}/ > ${data_dir}/${name}-wip > > Is the above "solr" a hard-coded solr home name? If so, it's not desirable > since we have multiple solr homes with different names. If not, what is > this "solr"? > > > thanks, > > -Hui -- Regards, -Hui