User:RobertKaye/May15 Release Plan: Difference between revisions
From MusicBrainz Wiki
Jump to navigationJump to search
RobertKaye (talk | contribs) No edit summary |
RobertKaye (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
* Prepare production branch |
* Prepare production branch |
||
* Run tests |
* 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 === |
=== Actual Release === |
||
Line 13: | Line 20: | ||
* turn on replication logging |
* turn on replication logging |
||
** see http://wiki.postgresql.org/wiki/Binary_Replication_Tutorial#Cloning_a_Live_Database |
** see http://wiki.postgresql.org/wiki/Binary_Replication_Tutorial#Cloning_a_Live_Database |
||
* restart postgres |
|||
==== On astro ==== |
==== On astro ==== |
||
Line 33: | Line 41: | ||
* bring up servers |
* bring up servers |
||
* test to verify things are OK |
* test to verify things are OK |
||
==== On dora/roobarb |
|||
* take down tomcat |
|||
* swap in new search server |
|||
* rotate indexes (from cartman) |
|||
* start tomcat |
|||
=== Post release steps === |
=== Post release steps === |
Revision as of 04:33, 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
On totoro
- turn on replication logging
- restart postgres
On astro
- turn off cron on astro
- take down servers
- clear memcached
- check out updated production branch
- run upgrade.sh
- upgrade.sh exports final replication packets for schema 14
- 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
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