Currently there is one main Solr instance installed in the DDB-Dev-Network: on ddb-di-05. This instance serves as the main search server for the develop and master backend deployments.
These instructions are only for updating this instance. Various prerequisites to running a solr instance are not covered as they have already been set up on this server.
To update this instance the following steps should be performed:
...
Code Block |
---|
language | bash |
---|
title | Download the new Solr version |
---|
linenumbers | true |
---|
|
wget https://mirror.synyx.de/apache/lucene/solr/X.Y.Z/solr-X.Y.Z.tgz
or if older version:
wget https://archive.apache.org/dist/lucene/solr/X.Y.Z/solr-X.Y.Z.tgz |
Code Block |
---|
language | bash |
---|
title | Check integrity of downloaded file |
---|
linenumbers | true |
---|
|
wget https://downloads.apache.org/lucene/solr/X.Y.Z/solr-X.Y.Z.tgz.sha512
sha512sum solr-X.Y.Z.tgz |
...
Code Block |
---|
language | bash |
---|
title | Change symlink to new installation |
---|
linenumbers | true |
---|
|
cd /opt
rm solr
ln -s solr-X.Y.Z solr |
Code Block |
---|
language | bash |
---|
title | Start new Solr server |
---|
linenumbers | true |
---|
|
service solr start |
Please check that the new Solr has startet without error by checking the web console: http://ddb-di-vm05.fiz-karlsruhe.de:8183/