User:RobertKaye/May15 Release Plan: Difference between revisions
From MusicBrainz Wiki
Jump to navigationJump to search
RobertKaye (talk | contribs) |
|||
(26 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>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> |
|||
⚫ | |||
** 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> |
||
* turn on cron |
|||
==== 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> |
||
⚫ | |||
* pop MP::Table changes |
|||
* <del>test to verify things are OK</del> |
|||
⚫ | |||
==== 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 === |
||
* <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 thisPrepare production branchRun tests- Prepare search indexes
create replicated database and update to latest replication packetrun upgrade.shupdate search server code on cartmancopy new war files to dora/roobarbmanually start an index buildmanually push search indexes to dora/roobarb
Actual Release
Take down beta
On astro
turn off cron on astrotake down serverscheck out updated production branchrun upgrade.sh -- make sure to run this so other people can watch output!upgrade.sh exports final replication packets for schema 14
clear memcachedincrement schema number in DBDefs.pmbring up serverstest to verify things are OK
On pingu, asterix
take down serverscheck out updated production branchincrement schema number in DBDefs.pmbring up serverstest to verify things are OK
On dora/roobarb
take down tomcatswap in new search serverrotate indexes (from cartman)start tomcat
On cartman
change DB configuration back to totorore-enable index creation
Post release steps
enable cron on astropost release notes on blog- transclude any changed docs
- any pages that mention CC and PD licenses need to be updated.
- initiate a backup run