Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We store descriptions of our archival collections in the following places:

...

The current production version of Aspace is 2.7.1 .

Terminal access: ssh -i /path/to/production/pem_file.pem ubuntu@50.16.132.240

The ubuntu user owns all the admin scripts.

The relevant Ansible role is: /roles/archivesspace/ in the ansible-inventory codebase.

...

  • Contact all the main users listed above (especially Kent), and make sure they’re not actively working on the server.

  • Once given the go-ahead:

    • Log in to the server.

    • Throughout the process, keep in mind you can run sudo systemctl status archivesspace for the daemon status at any point. If it’s running, you’ll see a variation on: [...]
      Active: active (running) since Tue [...]

    • /opt/archivesspace/archivesspace.sh statusshould give you the status of the program. (“ArchivesSpace is running as (PID: 7483)”).

    • Run top in a separate window to monitor the CPU usage. The goal is to see a dramatic reduction in usage after this process.

    • sudo systemctl stop archivesspace

    • sudo systemctl start archivesspace (You may have to run this two or three times – the start script is finicky)

    • /opt/archivesspace/archivesspace.sh restart

    • If all else fails, you can also go into the AWS console and reboot the EC2 instance.

    • Once everything is properly restarted:

      • the https://archives.sciencehistory.org/ front-end is available again

      • After a few minutes, you should see the CPU use go down dramatically in top.

      • The AWS monitoring graph for CPU Utilization graph should drop. (see figure below.)

    • Once you’re done, notify all involved that the server is available again.

...