Move server scripts to AWS

Description

Any scripts running on the RS servers should be moved to AWS. For example, the script to generate monthly stats reports on production API servers (see https://digitalpubliclibraryofamerica.atlassian.net/wiki/display/RUNBOOK/Generate+Platform+monthly+stats step 4)

Activity

Show:
Mark Breedlove
November 4, 2014, 5:05 AM

I'll add an Ansible play to compact the dbs, and it will use the compaction script modified in PR 30. *I'll leave this ticket open until that is done.*

Mark Matienzo
November 4, 2014, 11:28 AM

After talking with MB in Slack, I reworked this.

  • dpla/platform pull request #30 now removes the compaction script.

  • All of the scripts are now managed upder the automation repo; see dpla/automation pull request #22.

Mark Breedlove
November 5, 2014, 1:30 AM

I think that both pull requests are nearly good to go.

PR 30 for removing the script from the platform app looks fine.

PR 22 also looks fine, but I was just wondering in the pull request commentary whether the tasks' tags should be changed.

When these are merged, I think this ticket can be closed. *I think that I should not create an Ansible play to compact the BigCouch databases* as I'd mentioned above. Instead, I think that compaction should be run in a terminal with screen.

Mark Matienzo
November 5, 2014, 4:37 AM

PR 30 and PR 20 are squashed and ready to merge.

Mark Breedlove
November 5, 2014, 5:38 AM

The pull requests have been merged.

I have also updated the runbook documentation for the monthly stats script, which is mentioned in this ticket's description.

I'm closing this ticket, but have to move it through "in progress" first.

Done

Assignee

Mark Breedlove

Reporter

Audrey Altman

Labels

None

Priority

Medium