Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate stats_solr and any of its code #7817

Closed
8 tasks done
Tracked by #5143 ...
cdrini opened this issue Apr 21, 2023 · 0 comments
Closed
8 tasks done
Tracked by #5143 ...

Deprecate stats_solr and any of its code #7817

cdrini opened this issue Apr 21, 2023 · 0 comments
Assignees
Labels
Lead: @cdrini Issues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed] Type: Refactor/Clean-up Issues related to reorganization/clean-up of data or code (e.g. for maintainability). [managed]

Comments

@cdrini
Copy link
Collaborator

cdrini commented Apr 21, 2023

A subtask of #5143
A continuation of #4426

  1. @cdrini Gzip the following directories:
    • /var/lib/solr
    • /etc/solr
      time tar -czf /1/solr-backups/stats-solr-$(date +%Y-%m-%d).tar.gz /var/lib/solr /etc/solr
  2. @cdrini Confirm gzip can be rehydrated / write docs
  3. Upload ol-dev1:/opt/stats-solr-backup to a private IA item
  4. Stop solr's tomcat server ; confirm no one is using it in a weird indirect way -- sudo /etc/init.d/tomcat6 stop
  5. Stop the process_stats cron jobs from running, by commenting them out on ol-home and ol-home0, and restart the crons on each.
  6. Remove process_stats.py, loanstats.py and anything else. There should be no refs to stats_solr. Remove stats_solr as part of our migration to ol-home0 #7902
  7. Remove the config from olsystem, and the cron lines in olsystem.
    • internetarchive/olsystem#180
    • internetarchive/olsystem#183
@cdrini cdrini added Type: Refactor/Clean-up Issues related to reorganization/clean-up of data or code (e.g. for maintainability). [managed] Lead: @cdrini Issues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed] labels Apr 21, 2023
@cdrini cdrini mentioned this issue Apr 21, 2023
13 tasks
@cdrini cdrini added this to the Sprint 2023-05 milestone Apr 21, 2023
@cdrini cdrini closed this as completed Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lead: @cdrini Issues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed] Type: Refactor/Clean-up Issues related to reorganization/clean-up of data or code (e.g. for maintainability). [managed]
Projects
None yet
Development

No branches or pull requests

2 participants