Hi,

For a project I am running a LAMP cluster (master and multiple slaves). Solr is 
running inside Jetty. To make things easy in terms of server management, all 
servers are configured the same way, and one server just acts as the MySQL 
master.

As for Solr the only data changes happen over night. So the idea is that we 
will update the MySQL database on a single server. Then we will update the Solr 
index on that server. Once this is completed and some sanity checks pass we 
will take update the slaves one by one. With MySQL we can just copy the data 
files and hot swap them.

For Solr the idea is also just copy the index files into a new directory and 
then use http://wiki.apache.org/solr/CoreAdmin#RELOAD after updating the config 
file (I assume its not possible to hot swap like with MySQL).

With this approach we can time the deployment of the new data to each slave 
perfectly. Plus if we run into any issues we can also easily rollback by just 
swapping the data around again.

I would appreciate any comments you guys might have on this concept.

regards,
Lukas Kahwe Smith
m...@pooteeweet.org



Reply via email to