-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This document lists the numerous steps required to make an orderly migration from one server to another. Detailed reference documentation for how to perform these steps is, of course, still needed.
- Loading branch information
Benjamin Moody
committed
Apr 22, 2024
1 parent
1b0cf1f
commit 45e709e
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Server migration checklist | ||
========================== | ||
|
||
[ ] **Target**: Check network (reachable, link speed) | ||
[ ] **Target**: Check disk (enough space, no RAID problems) | ||
[ ] **Target**: Pre-synchronize files | ||
[ ] **DNS**: Set minimum TTL | ||
[ ] **Target**: Check/upgrade system packages | ||
[ ] **Target**: Update `/physionet/physionet-build.git` | ||
[ ] **Target**: Update `/physionet/.env` | ||
[ ] **Target**: Update system config files | ||
[ ] **Target**: Enable `SYSTEM_MAINTENANCE_NO_CHANGES` | ||
[ ] **Source**: Dump and transfer database | ||
[ ] **Target**: Restore database (reload uwsgi) | ||
[ ] **Target**: Test nginx/uwsgi is working | ||
[ ] **Target**: Update `/etc/aliases` | ||
[ ] **Target**: Update certificates | ||
[ ] **Target**: Test postfix is working | ||
[ ] **Target**: Test haproxy is working | ||
[ ] **Target**: Configure iptables | ||
[ ] **Target**: Configure qdisc | ||
|
||
[ ] (proxy-backward) **Target**: Redirect connections to haproxy | ||
[ ] (proxy-backward) **DNS**: Update records | ||
|
||
[ ] **Target**: Stop background-tasks daemon | ||
[ ] **Source**: Stop background-tasks daemon | ||
[ ] **Source**: Enable `SYSTEM_MAINTENANCE_NO_UPLOAD` (reload uwsgi) | ||
[ ] **Target**: Synchronize files | ||
[ ] **Source**: Enable `SYSTEM_MAINTENANCE_NO_CHANGES` (reload uwsgi) | ||
[ ] **Source**: Dump and transfer database | ||
[ ] **Target**: Restore database (reload uwsgi) | ||
[ ] **Target**: Check new content is visible | ||
|
||
[ ] (proxy-forward) **Source**: Redirect connections to haproxy | ||
[ ] (proxy-forward) **DNS**: Update records | ||
|
||
[ ] **Target**: Disable `SYSTEM_MAINTENANCE_NO_CHANGES` (reload uwsgi) | ||
[ ] **Target**: Remove iptables redirections | ||
[ ] **Target**: Start background-tasks daemon | ||
[ ] **DNS**: Set normal TTL |