Wikimedia CH is planning to help Wikimini (https://wikimini.org/) in their migration to WMCH infrastructure.
Plan
- initialize the needed WMCH environment to welcome the new Wikimini's MediaWiki farm (done on server wmch-members2)
- work on the "Wikimini.org→WMCH" import script (and reduce import time - done from ~4 hours down to ~45 minutes)
- do a first temporary import
- put online the new entry point https://wikimini.wikimedia.ch/ - https://sv.wikimini.wikimedia.ch/ ecc.
- first test period and bug fixes
- alert https://wikimini.org users about final migration
- set https://wikimini.org in read-only
- execute the "Wikimini.org→WMCH" sync again
- update the DNS records of Wikimini.org
- set wikimini in write-mode again
- keep old servers online for a couple of days
- shutdown old servers
- dismiss old servers
When
Analyzing the current usage with Matmo, to have a minimal impact, the final migration can be fixed in a Thursday or a Friday, 02:30-04:30 PM CEST.
Intervention report
Currently it seems they have 8 wikis (ar, en, es, fr, it, lab, stock, sv and a test wiki):
$ mysql $ SHOW DATABASES; +---------------------+ | Database | +---------------------+ | information_schema | | mysql | | performance_schema | | phpmyadmin | | wikimini_arwiki | | wikimini_arwiki2 | | wikimini_enwiki | | wikimini_eswiki | | wikimini_eswiki2 | | wikimini_frwiki | | wikimini_frwiki2 | | wikimini_itwiki | | wikimini_itwiki2 | | wikimini_labwiki | | wikimini_labwiki2 | | wikimini_stockwiki | | wikimini_stockwiki2 | | wikimini_svwiki | | wikimini_svwiki2 | | wikimini_testwiki | | wikimini_testwiki2 | +---------------------+ 21 rows in set (0.16 sec)
To dump everything note you may need ~30 minutes:
$ ./dump.sh wikimini Thu Nov 26 11:43:45 CET 2020 - dumping wikimini_arwiki... Thu Nov 26 11:43:45 CET 2020 - dumping wikimini_arwiki2... Thu Nov 26 11:43:46 CET 2020 - dumping wikimini_enwiki... Thu Nov 26 11:43:47 CET 2020 - dumping wikimini_eswiki... Thu Nov 26 11:48:02 CET 2020 - dumping wikimini_eswiki2... Thu Nov 26 11:56:18 CET 2020 - dumping wikimini_frwiki... Thu Nov 26 11:57:20 CET 2020 - dumping wikimini_frwiki2... Thu Nov 26 11:58:08 CET 2020 - dumping wikimini_itwiki... Thu Nov 26 12:05:41 CET 2020 - dumping wikimini_itwiki2... Thu Nov 26 12:07:05 CET 2020 - dumping wikimini_labwiki... Thu Nov 26 12:07:09 CET 2020 - dumping wikimini_labwiki2... Thu Nov 26 12:07:13 CET 2020 - dumping wikimini_stockwiki... Thu Nov 26 12:07:50 CET 2020 - dumping wikimini_stockwiki2... Thu Nov 26 12:08:10 CET 2020 - dumping wikimini_svwiki... Thu Nov 26 12:08:23 CET 2020 - dumping wikimini_svwiki2... Thu Nov 26 12:08:27 CET 2020 - dumping wikimini_testwiki... Thu Nov 26 12:08:28 CET 2020 - dumping wikimini_testwiki2...
This is their related size:
$ du -h *.sql 500K wikimini_arwiki2.sql 380K wikimini_arwiki.sql 1.4M wikimini_enwiki.sql 16G wikimini_eswiki2.sql 16G wikimini_eswiki.sql 1.1G wikimini_frwiki2.sql 1.1G wikimini_frwiki.sql 2.8G wikimini_itwiki2.sql 2.9G wikimini_itwiki.sql 33M wikimini_labwiki2.sql 33M wikimini_labwiki.sql 480M wikimini_stockwiki2.sql 491M wikimini_stockwiki.sql 83M wikimini_svwiki2.sql 82M wikimini_svwiki.sql 1.1M wikimini_testwiki2.sql 1.1M wikimini_testwiki.sql
$ du -sh /home/datas/www/Wikimini/wikimini.org 23G /home/datas/www/Wikimini/wikimini.org $ du -sh /home/datas/www/Wikimini/wikimini.org/* 12G /home/datas/www/Wikimini/wikimini.org/httpdocs 9.6G /home/datas/www/Wikimini/wikimini.org/httpdocs_1.25 1.3G /home/datas/www/Wikimini/wikimini.org/logs
Transitional URLs
A list of URLs that now should redirect to the related https://wikimini.org sub-domain with a HTTP/1.1 301 Moved Permanently:
- http://wikimini.wikimedia.ch/
- http://ar.wikimini.wikimedia.ch/
- http://en.wikimini.wikimedia.ch/
- http://es.wikimini.wikimedia.ch/
- http://fr.wikimini.wikimedia.ch/
- http://it.wikimini.wikimedia.ch/
- http://lab.wikimini.wikimedia.ch/
- http://stock.wikimini.wikimedia.ch/
- http://sv.wikimini.wikimedia.ch/
- https://wikimini.wikimedia.ch/
- https://ar.wikimini.wikimedia.ch/
- https://en.wikimini.wikimedia.ch/
- https://es.wikimini.wikimedia.ch/
- https://fr.wikimini.wikimedia.ch/
- https://it.wikimini.wikimedia.ch/
- https://lab.wikimini.wikimedia.ch/
- https://stock.wikimini.wikimedia.ch/
- https://sv.wikimini.wikimedia.ch/