Difference between revisions of "User:RobertKaye/May15 Release Plan"

From MusicBrainz Wiki
(On cartman)
Line 32: Line 32:
 
==== On pingu, asterix ====
 
==== On pingu, asterix ====
  
* take down servers
+
* <del>take down servers</del>
* check out updated production branch
+
* <del>check out updated production branch</del>
* increment schema number in DBDefs.pm
+
* <del>increment schema number in DBDefs.pm</del>
* bring up servers
+
* <del>bring up servers</del>
* test to verify things are OK
+
* <del>test to verify things are OK</del>
  
 
==== On dora/roobarb ====
 
==== On dora/roobarb ====

Revision as of 19:20, 15 May 2012

15 May 2012 Schema Change Release Plan

Prior to release

  • commit MP::Table changes -- ocharles has done this
  • Prepare production branch
  • Run tests
  • Prepare search indexes
    • create replicated database and update to latest replication packet
    • run upgrade.sh
    • update search server code on cartman
    • copy new war files to dora/roobarb
    • manually start an index build
    • manually push search indexes to dora/roobarb

Actual Release

  • Take down beta

On astro

  • turn off cron on astro
  • take down servers
  • check out updated production branch
  • run upgrade.sh -- make sure to run this so other people can watch output!
    • upgrade.sh exports final replication packets for schema 14
  • clear memcached
  • increment schema number in DBDefs.pm
  • bring up servers
  • test to verify things are OK

On pingu, asterix

  • take down servers
  • check out updated production branch
  • increment schema number in DBDefs.pm
  • bring up servers
  • test to verify things are OK

On dora/roobarb

  • take down tomcat
  • swap in new search server
  • rotate indexes (from cartman)
  • start tomcat

On cartman

  • change DB configuration back to totoro
  • re-enable index creation

Post release steps

  • enable cron on astro
  • post release notes on blog
  • transclude any changed docs
    • any pages that mention CC and PD licenses need to be updated.
  • initiate a backup run