OWW BioMicro Server Switch

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Current revision (19:57, 11 October 2005) (view source)
 
(2 intermediate revisions 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
-
#*We may wait on this until openwetware.org and .com work. Then later point the .mit.edu site over to the new wiki.
+
-
#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) and provide appropriate notice on the Main Page.
-
#copy the wiki to the new machine.
+
#*[[Special:Lockdb|Lock database]]
-
#''unfreeze'' the wiki on new machine (after DNS changes have propagated).
+
#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)
-
Another option is to give away model.mit.edu alias and associated IP;
+
#*get the snapshot of the wiki folder and database dump:
-
transition can then be done virtually without downtime.
+
#**$ 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:
More info:
*[[OpenWetWare_Meeting_Notes#BioMicro_Administration|Notes from meeting]]
*[[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]
*[http://meta.wikimedia.org/wiki/How_to_move_a_MediaWiki_Database How to move a MediWiki Database]

Current revision

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:

Personal tools