You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.8 KiB

  1. ## Sapphire Migration Checklist
  2. ### Meta
  3. - Migrate stagingsapphire to new hardware (following the procedure below)
  4. - Migrate stagingsapphire with dump from sapphire
  5. - Migrate sapphire to new hardware (following the procedure below)
  6. - Drop databases on stagingsapphire and initialize with dummy data through rake task.
  7. ### Webserver
  8. - switch to nginx
  9. - ssl certs (?)
  10. - new.sapphire.isds.tugraz.at
  11. - https://www.phusionpassenger.com/docs/advanced_guides/install_and_upgrade/nginx/install/oss/el8.html14:37
  12. ### Questions (for Matthias and/or Helmut)
  13. - CentOS 8 Stream is a rolling release? Are there and implications for sapphire because of some security critical OS updates we will have to do?
  14. (website reads: "**Continuously delivered** distro ...[https://www.centos.org/centos-stream/])
  15. - How are package updates going to be handled?
  16. ### Prerequisites
  17. - create production db dump
  18. - **copy** assets to new hardware
  19. ### Install
  20. - Database: PostgreSQL 8.4.20 -> probs to 13.xx.xx
  21. - Ruby (install via rbenv -> 2.6.5p114 (2019-10-01 revision 67812)) -> 2.7.xx
  22. - https://medium.com/@adrienjarthon/ruby-jemalloc-results-for-updown-io-d3fb2d32f67f
  23. - Redis (Redis server v=3.2.12 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=b2d74fe5fff7657d) -> 6.2.5
  24. - NodeJS (v0.10.35) -> ??
  25. - Bundler
  26. - Cap Deploy (check deploy target)
  27. ### Setup
  28. - setup config files:
  29. - database.yml
  30. - mail.yml
  31. - secrets.yml
  32. - sidekiq.yml
  33. - gem install bundler
  34. - import DB dump (lookup for appropriate GIST/snippet TODO)
  35. - check if assets are correctly linked (i.e. in the correct folder, is this sufficient?)
  36. ### Checks
  37. - check certificate
  38. - check auto https
  39. - check mailing
  40. - check upload (tests sidekiq)
  41. - check entering of new ratings (tests redis)