Project

General

Profile

Task #2951

Story #2948: Rollout 1.0.1 to Production

Modify cn-dataone-solr.prerm and solr's web.xml

Added by Robert Waltz almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Robert Waltz
Category:
Support Operations
Start date:
2012-06-15
Due date:
% Done:

100%

Milestone:
CCI-1.0.1
Product Version:
*
Story Points:
Sprint:

Description

/var/lib/dpkg/info/cn-dataone-solr.prerm will delete the solr search index.

Remove core home dirs

#rm -rf /usr/share/solr/d1-cn-index
#rm -rf /usr/share/solr/d1-cn-log

Restore original solr.xml config

mv /usr/share/solr/solr.xml.bak /usr/share/solr/solr.xml

Remove core data dirs

#rm -rf /var/lib/solr/data/d1-cn-index
#rm -rf /var/lib/solr/data/d1-cn-log

once staging is upgraded, we can test before rolling out to production,

but production file should be modified to remove the rm of the directories so as not to delete indexes.

The directories should be backed up somewhere before installation, just in case.

/usr/share/solr/WEB-INF/web.xml will need modification at this point as well.

for the filter with the name 'D1SolrAuthorizationFilter' change the url-pattern to read:

            <url-pattern>/d1-cn-log/select</url-pattern>
            <url-pattern>/d1-cn-log/select/</url-pattern>
            <url-pattern>/d1-cn-log/select/*</url-pattern>

on each of the machines


Related issues

Duplicated by Infrastructure - Task #2946: Prevent index and config loss on dataone-cn-solr upgrade on patch update Closed 2012-06-15

History

#1 Updated by Robert Waltz almost 12 years ago

  • Subject changed from Modify cn-dataone-solr.prerm to Modify cn-dataone-solr.prerm and solr's web.xml

#2 Updated by Robert Waltz almost 12 years ago

  • Status changed from New to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)