Re: rsync start and enable for multiple solr instances within one tomcat

2007-09-21 Thread Bill Au
You are welcome. Bill On 9/21/07, Yu-Hui Jin <[EMAIL PROTECTED]> wrote: > > Bill, > > Thanks for the explanation. That helps my understanding on rsync and the > replication in general. > > > regards, > > -Hui > > On 9/20/07, Bill Au <[EMAIL PROTECTED]> wrote: > > > > The "solr" that you are refer

Re: rsync start and enable for multiple solr instances within one tomcat

2007-09-20 Thread Yu-Hui Jin
Bill, Thanks for the explanation. That helps my understanding on rsync and the replication in general. regards, -Hui On 9/20/07, Bill Au <[EMAIL PROTECTED]> wrote: > > The "solr" that you are referring to in your third question in the > name of the rsync area which is map to the solr data dire

Re: rsync start and enable for multiple solr instances within one tomcat

2007-09-20 Thread Bill Au
The "solr" that you are referring to in your third question in the name of the rsync area which is map to the solr data directory. This is defined in the rsyncd configuration file which is generated on the fly as Chris has pointed out. Take a look at rsyncd-start. snappuller rsync the index from

Re: rsync start and enable for multiple solr instances within one tomcat

2007-09-20 Thread Chris Hostetter
: So just to help my knowledge, where does this virtual setting of this "solr" : string happen? Should it be in some config file or sth? rsyncd-start creates an rsync config file on the fly ... much of it is constants, but it fills in the rsync port using a variable from your config. -Hoss

Re: rsync start and enable for multiple solr instances within one tomcat

2007-09-20 Thread Yu-Hui Jin
ok. Hoss. I think I'll believe you since nobody raised any issue running the script. And I'm about to try it out shortly with different solr home names. So just to help my knowledge, where does this virtual setting of this "solr" string happen? Should it be in some config file or sth? thanks,

Re: rsync start and enable for multiple solr instances within one tomcat

2007-09-20 Thread Chris Hostetter
: home we have named. However, there's still the last part of my question : that feels suspicious why the "solr" string is directly coded in the script : (unlike other cases they usually use ${solr_root} to get to specific dirs. : ) I pasted this line again below: sorry ... i didn't realize you

Re: rsync start and enable for multiple solr instances within one tomcat

2007-09-20 Thread Yu-Hui Jin
Thanks, Hoss. For the last question, yes I understand now it's referring to whatever solr home we have named. However, there's still the last part of my question that feels suspicious why the "solr" string is directly coded in the script (unlike other cases they usually use ${solr_root} to get to

Re: rsync start and enable for multiple solr instances within one tomcat

2007-09-20 Thread Chris Hostetter
: 1) config different port for each solr home dir (since they run on the same : host); you mean a differnet rsync port right? ... yes the scripts as distributed assume that each rsync daemon will be dedicated to a single solr "instance" .. the idea beaing that even if you have 12 Solr intances

Re: rsync start and enable for multiple solr instances within one tomcat

2007-09-20 Thread Yu-Hui Jin
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.) C

rsync start and enable for multiple solr instances within one tomcat

2007-09-19 Thread Yu-Hui Jin
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