User:RobertKaye/May15 Release Plan: Difference between revisions
From MusicBrainz Wiki
Jump to navigationJump to search
No edit summary |
|||
(13 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
* <del>commit MP::Table changes</del> -- ocharles has done this |
* <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 |
* Prepare search indexes |
||
** <del>create replicated database and update to latest replication packet</del> |
** <del>create replicated database and update to latest replication packet</del> |
||
** <del>run upgrade.sh</del> |
** <del>run upgrade.sh</del> |
||
** <del>update search server code on cartman</del> |
** <del>update search server code on cartman</del> |
||
** copy new war files to dora/roobarb |
** <del>copy new war files to dora/roobarb</del> |
||
** <del>manually start an index build</del> |
** <del>manually start an index build</del> |
||
** <del>manually push search indexes to dora/roobarb</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>run upgrade.sh -- make sure to run this so other people can watch output!</del> |
|||
⚫ | |||
* |
** <del>upgrade.sh exports final replication packets for schema 14</del> |
||
⚫ | |||
** upgrade.sh exports final replication packets for schema 14 |
|||
* 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 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 ==== |
||
* take down tomcat |
* <del>take down tomcat</del> |
||
* swap in new search server |
* <del>swap in new search server</del> |
||
* rotate indexes (from cartman) |
* <del>rotate indexes (from cartman)</del> |
||
* start tomcat |
* <del>start tomcat</del> |
||
==== On cartman ==== |
==== On cartman ==== |
||
* change DB configuration back to totoro |
* <del>change DB configuration back to totoro</del> |
||
* re-enable index creation |
* <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. |
** any pages that mention CC and PD licenses need to be updated. |
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