aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas <skangas@skangas.se>2011-12-22 01:29:31 +0100
committerStefan Kangas <skangas@skangas.se>2011-12-22 01:29:31 +0100
commit03516401c83743da11f79d3e7e58a19ae2148504 (patch)
tree4fd0b1023957fc6903dcafda97ba4627ad7f4367
parent3fa81210c383a3c56630e52361a888452e87bb09 (diff)
Migration steps
-rw-r--r--admin-log.org43
1 files changed, 26 insertions, 17 deletions
diff --git a/admin-log.org b/admin-log.org
index 8e0aa84..8ce5c87 100644
--- a/admin-log.org
+++ b/admin-log.org
@@ -151,29 +151,37 @@ When mistral is fully configured for migration, we should do the following steps
These steps are just an outline, they should be filled in, including the exact command lines to be used. Also, some of the steps can be tested beforehand (e.g. copying all emails, copying the database data from antilop and make sure it runs on mistral).
-*** Prepare a temporary SSH account on mistral
+*** 1. Migrate data
+- Copy the database from antilop to mistral
+- Copy all emails from antilop to mistral (this will be redone below)
-This will be used to copy data immediately from antilop to mistral.
+*** 2. Start services on mistral
+- Start mysql on mistral
+- Start postfix on mistral
+- Start dovecot on mistral
-*** Migrate data
-- copy all emails from antilop to mistral (this will be redone below)
+*** 3. DNS Change
+- Point imap.fripost.org to the new server
-*** Stopping services (probably in this order)
-- stop postfix on antilop
-- stop dovecot on antilop
-- stop mysql on antilop
+*** 4. Point MX:es to mistral.fripost.org
-*** Migrate data
-- copy all emails from antilop to mistral
-- copy the database from antilop to mistral
+If we begin with the secondary MX, when the primary MX goes down, e-mails will automatically get delivered to mistral via the secondary MX.
-*** Point
-- point imap.fripost.org to the new server
+**** Point elefant.fripost.org to mistral.fripost.org
+- [ ] MySQL Replication
+- [ ] SMTP Delivery
-*** Starting services (probably in this order)
-- start mysql on mistral
-- start postfix on mistral
-- start dovecot on mistral
+**** Point luxemburg.marxist.se to mistral.fripost.org
+- [ ] MySQL Replication
+- [ ] SMTP Delivery
+
+*** 5. Stop services after 1-2 hours
+- Stop postfix on antilop
+- Stop dovecot on antilop
+- Stop mysql on antilop
+
+*** 6. Copy all emails
+- Copy all emails from antilop to mistral
* Upgrade of luxemburg to squeeze <2011-12-21 ons>
- `luxemburg', `harvey' and `zetkin' requires the package `firmware-linux-nonfree'.
@@ -188,3 +196,4 @@ This will be used to copy data immediately from antilop to mistral.
- mysql was not even installed, so I installed it
- it seems there had been some problem ugrading to squeeze
- the problem was, again, that we needed to remove line ^skip-bdb$ from /etc/mysql/my.cnf
+