Prepare newkosmos

  1. Install all Mir runtime files
    • Status: done
  2. Setup SSL access to all relevant VirtualHosts (server name indication)
    • Status: done (with a self-signed certificate)
  3. Prepare databases, import a recent database dump for EH and PL
    • Status: done (with 6 broken large objects)
  4. test whether both EH and PL Mir work by Tomcat
    • Status: done
  5. Test whether both EH and PL sites work through apache2 + mod_proxy
    • Status: done
  6. Make both Mir sites work with Mir templates etc, test whether new articles can be posted and get produced
    • Status: done (sometimes it fails but we still don’t know why)
  7. prepare cron job(s) (but keep it deactivated!) to copy files from production system to Mir mirror servers
    • Status: done
  8. prepare maintenance notice HTML page, copy it to both oldkosmos and newkosmos
    • Status: done
  9. note down IP addresses of oldkosmos and newkosmos
    • Status: done
  10. extract current Mir articles + media files from local oldkosmos backup (no more than a few days before switch)
    • Status: not needed

Make Switch

  1. shutdown tomcat on oldkosmos mir site, make apache redirect EH + PL vhosts to maintenance page
    • Status: not needed
  2. create a dump of EH + PL databases
    • Status: done
  3. copy database dumps from oldkosmos to newkosmos and import them there
    • Status: done
  4. rsync recent articles (since the backup restored to newkosmos) + media from oldkosmos to newkosmos
    • Status: not needed
  5. test whether everything is working on newkosmos: admin + posting + search (check logs for errors)
    • Status: done more or less
  6. activate cron jobs to copy produced articles to mirror sites
    • Status: done
  7. change DNS for (admin|posting|search|…).(euskalherria|poland|eh|pl).indymedia.org, for kosmos.indymedia.org and for other sites hosted on oldkosmos: change A records previously pointing to oldkosmos to point to newkosmos
    • Status: done (I belive so…/Didleth)
  8. keep an eye on newkosmos’ logs and performance
    1. ensure that ip addresses are not logged in any case (neither when GnuTLS thows an error at /var/log/apache2/)
      • Status: pending

After Migration

  1. verify we really really really have everything backed up off oldkosmos
    • Status: done
  2. wipe all partitions on oldkosmos
    • Status: pending
  3. prepare backup on newkosmos