Server Migration Plan

We have a clone of the server in Innovation Park, currently reachable as 'dev.pirateparty.org.nz' or by adding a hosts-file entry for 202.53.180.244 pirateparty.org.nz. There's an hourly update of the mysql database from the real site.

Before the move; 1) We need to test this and be sure it works the same as the real server.   put "202.53.180.244 pirateparty.org.nz www.pirateparty.org.nz" into your hosts file    check that the forum works, logins can be made, posts can be posted, wiki can be wiki'd.    (remember the database gets cloned every hour so expect changes to get reverted again. That's not a bug) 2) We need to set DNS TTL's low in anticipation of migrating (already only 1hr, so done..)

Time of move; 1) Pick a low-traffic time, eg very 2am Sunday 2) Kill the mysql update, Set the forum and wiki read-only, disable logins, make a note on the front page that we're migrating and this is the old website 3) Change the DNS so keko becomes backup.pirateparty.org.nz and maia becomes    pirateparty.org.nz / www.pirateparty.org.nz 4) After 1/2hr check our nameservers and see if changes have gone through. 5) wait 24 hours and see what's still broken.

After move; 1) set up a cron job to push a mysqldump from the new server back to keko / backup.pirateparty.org.nz. 2) Make sure any changes to the live site are also made and tested on keko