Skip to content
Tom Hughes edited this page Jul 15, 2018 · 3 revisions

In advance

  • Do initial rsync of /store/rails [can repeat as needed]

On the day

  • Switch site to read only mode using new master
  • Update DNS to point at new site
  • Stop chef and gpx-import on old server
  • Do final rsync of /store/rails
  • Move gpx-import role to new site
  • Run chef on old and new gpx import servers
  • Stop chef on all database servers
  • Stop postgres on the master database
  • Switch roles for old and new master in chef
  • Run chef on new master and wait for run to complete
    • Check postgres is up in master mode
  • Run chef on other database servers and wait for run to complete
    • Check postgres is up and connected to master
  • Switch site to read/write mode
Clone this wiki locally