-Re: rsync start and enable for multiple solr instances within one tomcat
Chris Hostetter 2007-09-20, 21:31
: 1) config different port for each solr home dir (since they run on the same
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
running on one servlet container port, you have 12 seperate rsync ports so
you can start/stop enable/disable them independently when doing index
: 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.)
correct, rsyncd-enable just sets the flag file so that rsyncd-start will
function ... the idea being that you can install rsyncd-start in such a
way that it will run whenever your port is startup, or whenever you box is
booted, but disable it from happening without removing the script from
: Can someone confirm my understanding? Does the #3 question suggests a
: hard-coded "solr" that shouldn't be?
solr/conf, solr/bin, solr/data, solr/logs ... all assume your solr home
directory is named "solr/", but that's not a requirement. It's a pretty
pervasive documentation shortcut that could be changed if osmeone wanted
to be systematic about it, but I don't think it's all that bad since
that's a decent "common case"