User:RobertKaye/May15 Release Plan: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
No edit summary
 
(24 intermediate revisions by 4 users not shown)
Line 3: Line 3:
=== Prior to release ===
=== Prior to release ===


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


=== Actual Release ===
=== Actual Release ===

* <del>Take down beta</del>


==== On astro ====
==== On astro ====


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


==== On pingu, asterix ====
==== On pingu, asterix ====


* take down servers
* <del>take down servers</del>
* <del>check out updated production branch</del>
* stash MP::Table changes
* increment schema number in DBDefs.pm
* <del>increment schema number in DBDefs.pm</del>
* <del>bring up servers</del>
* pop MP::Table changes
* <del>test to verify things are OK</del>
* bring up servers

* test to verify things are OK
==== On dora/roobarb ====

* <del>take down tomcat</del>
* <del>swap in new search server</del>
* <del>rotate indexes (from cartman)</del>
* <del>start tomcat</del>

==== On cartman ====

* <del>change DB configuration back to totoro</del>
* <del>re-enable index creation</del>


=== Post release steps ===
=== Post release steps ===


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

Latest revision as of 22:40, 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