Apache Solr

Logrotate configuration file for Apache Solr on RHEL5

I'm running Solr using Jetty and logging to /var/log/solr.log.

This log is growing so I added a logrotate entry at /etc/logrotate.d/solr as follows:

# Logrotate file for /var/log/solr.log
/var/log/solr.log {
   rotate 5
   compress
   size 10M
   weekly
   postrotate
     /sbin/service solr restart
   endscript
}

Since this is a new file, the SELinux security context is off for /etc/logrotate.d/solr:

Solr Multicore with Drupal Apachesolr Module

Sometimes a picture is worth a thousand words. Here's Apache Solr in a multicore setup with two cores, one named hhpn and one named picdinfo. I thought this setup was nice because it allows one site to use the schema from the apachesolr 6.x-1.2 release and one site to use the schema from the 6.x-2.x-dev branch.

References:

http://drupal.org/node/484800
http://janaksingh.com/blog/apachesolr-search-drupal-centos-107

Subscribe to RSS - Apache Solr