OWW BioMicro Server Switch: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This is a rough draft of things that need to happen to switch openwetware to the BioMicro Server...
This page is describes the updates that are taking place to move administration of the wiki from the Endy lab to the BioMicro center.


#prepare new machine (MySQL, mediawiki, Apache, backup scripts).
#Prepare the new machine
#* We should decide whether to start with the MediaWiki 1.4 version, or switch to the beta version of 1.5 that wikipedia is using.  It is substantially different, so it may behoove us to start now.  
#*Done.  The new server at bmc-5.mit.edu is set up and ready to serve pages.  It is running Mediawiki 1.4.10.
#submit request to point openwetware.mit.edu alias to new IP address (~24-72 hrs)
#Move openwetware.com to the new address to test the wiki.  Change ANAME and CNAME to point to bmc-5.mit.edu
#*Recent requests to MIT IS&T have taken several days to process.
#*Done... check out http://openwetware.com
#change A record for openwetware.com/org (@yahoo) to new IP address (~24hrs)
#''freeze'' the current wiki (no write access) and provide appropriate notice on the Main Page.
#''freeze'' the current wiki (no write access)
#*[[Special:Lockdb|Lock database]]
#after DNS changes have propagated, replicate the wiki to the new machine
#copy the wiki and settings to the new machine:
#''unfreeze'' the wiki on 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.


Another option is to give away model.mit.edu alias and associated IP;
More info:
transition can then be done virtually without downtime.
*[[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: