Solr on Openshift
All configuration parameters available in /opt/solr/bin/solr.in.sh within the image can be overridden using environment variables by
Take a look at the sample config used in the tests to see available properties.
In our Openshift environment a persistent volume is mounted from a Gluster cluster. The mount contains a
and Solr won't have access to it. Unfortunately, Solr can't deal with that. To get it working anyway, the volume is mounted
/persist and the data directory is a subdirectory of it (
/persist/index_data). This way
/persist/.trashcan) is no longer
in Solr's data directory.
Lock File Removal
The lock file is currently removed during startup to avoid already-locked errors.