Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

When you get an email from Heroku that reads:

Your database xxx standard-0 (xxx on scihist-digicoll-production) must undergo maintenance

  1. Schedule 10 minutes of downtime

  2. Put the following in a bash script:

    1. heroku maintenance:on --app scihist-digicoll-production heroku pg:maintenance:run --force --app scihist-digicoll-production heroku pg:wait --app scihist-digicoll-production heroku maintenance:off --app scihist-digicoll-production

  3. Scale down workers to zero at https://dashboard.heroku.com/apps/scihist-digicoll-production/resources

  4. Disable our hirefire autoscaling to keep it from starting workers back up again

    1. https://manager.hirefire.io/managers/2533bb0e-4eda-4f45-b8ef-3235c1e302df/update

  5. At the appointed time, run the script.

  6. Restore hirefire and heroku state

  • No labels