Difference between revisions of "OWW BioMicro Server Switch"

From OpenWetWare
Jump to: navigation, search
 
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#prepare new machine (MySQL, mediawiki, Apache, backup scripts)
+
This page is describes the updates that are taking place to move administration of the wiki from the Endy lab to the BioMicro center.
#submit request to point openwetware.mit.edu alias to new IP address (~24 hrs)
 
#change A record for openwetware.com/org (@yahoo) to new IP address (~24hrs)
 
#''freeze'' the current wiki (no write access)
 
#after DNS changes have propagated, replicate the wiki to the new machine
 
#''unfreeze'' the wiki on new machine
 
  
Another option is to give away model.mit.edu alias and associated IP;
+
#Prepare the new machine
transition can then be done virtually without downtime.
+
#*Done.  The new server at bmc-5.mit.edu is set up and ready to serve pages.  It is running Mediawiki 1.4.10.
 +
#Move openwetware.com to the new address to test the wiki.  Change ANAME and CNAME to point to bmc-5.mit.edu
 +
#*Done... check out http://openwetware.com
 +
#''freeze'' the current wiki (no write access) and provide appropriate notice on the Main Page.
 +
#*[[Special:Lockdb|Lock database]]
 +
#copy the wiki and settings to the new machine:
 +
#*stop apache to make sure no updates are happening (just to be on the safe side)
 +
#*get the snapshot of the wiki folder and database dump:
 +
#**$ zip -r /mnt/bionet/homedirs/ilyas/bmc-dropbox/openwetware.zip /var/www/html/openwetware
 +
#**$ mysqldump -u wikiuser -p --opt wikidb > /mnt/bionet/homedirs/ilyas/bmc-dropbox/openwetware.sql
 +
#*start apache
 +
#unfreeze wiki on the new machine
 +
#*[[Special:Unlockdb|Unlock database]]
 +
#move A/CNAMES of openwetware.org and openwetware.mit.edu to the new address
 +
#*Recent requests to MIT IS&T have taken several days to process.  The yahoo addresses seem to update within minutes.
 +
#clean up model... send link from model to the new site.
 +
 
 +
More info:
 +
*[[OpenWetWare_Meeting_Notes#BioMicro_Administration|Notes from meeting]]
 +
*[http://meta.wikimedia.org/wiki/How_to_move_a_MediaWiki_Database How to move a MediWiki Database]

Latest revision as of 16:57, 11 October 2005

This page is describes the updates that are taking place to move administration of the wiki from the Endy lab to the BioMicro center.

  1. Prepare the new machine
    • Done. The new server at bmc-5.mit.edu is set up and ready to serve pages. It is running Mediawiki 1.4.10.
  2. Move openwetware.com to the new address to test the wiki. Change ANAME and CNAME to point to bmc-5.mit.edu
  3. freeze the current wiki (no write access) and provide appropriate notice on the Main Page.
  4. copy the wiki and settings to the new machine:
    • stop apache to make sure no updates are happening (just to be on the safe side)
    • get the snapshot of the wiki folder and database dump:
      • $ zip -r /mnt/bionet/homedirs/ilyas/bmc-dropbox/openwetware.zip /var/www/html/openwetware
      • $ mysqldump -u wikiuser -p --opt wikidb > /mnt/bionet/homedirs/ilyas/bmc-dropbox/openwetware.sql
    • start apache
  5. unfreeze wiki on the new machine
  6. move A/CNAMES of openwetware.org and openwetware.mit.edu to the new address
    • Recent requests to MIT IS&T have taken several days to process. The yahoo addresses seem to update within minutes.
  7. clean up model... send link from model to the new site.

More info: