Move server scripts to AWS


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 step 4)


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.



Mark Breedlove


Audrey Altman