Content translation/Deployments/Deployment Plan/Archive4
CX Deployment Plan for January 2015
edit- Project: Content Translation
- Deployment date: Week of January 12, 2015
- Initial Release: Released in Beta Labs environment (July 2014)
- Past Releases: See: Archives
- What is targeted for January 2015 release:
- Content Translation 0.03 release: https://www.mediawiki.org/wiki/Content_translation/Roadmap#Ongoing_Release:_Content_Translation_0.03_release
- Long-term project roadmap:
- Language Pairs to be supported:
Target Wikipedia | Sources (MT) | Sources (without MT) |
---|---|---|
Catalan | Spanish, Portuguese, English | - |
Spanish | Catalan, Portuguese, English | - |
Portuguese | Catalan, Spanish | English |
Danish | - | English, Swedish |
Esperanto | English | - |
Malay | Indonesian | English |
Indonesian | Malay | English |
Norwegian (Bokmål) | Norwegian Nynorsk | English |
- List of wikis to deploy Content Translation
- cawiki
- dawiki
- eowiki
- eswiki
- idwiki
- mswiki
- nnwiki
- nowiki
- ptwiki
- svwiki
- Release as: Beta Feature
Overall Plan
editThis release is targeted to Production with 0.03 feature set.
System Architecture
editSee:
- https://www.mediawiki.org/wiki/Content_translation/Technical_Architecture
- https://www.mediawiki.org/wiki/Content_translation#Workflow_and_Technical_Architecture
- https://www.mediawiki.org/wiki/Content_translation
Caching Architecture
editThe following diagram includes the caching requirements for the CX framework:
- https://www.mediawiki.org/wiki/Content_translation/Server_communications_workflow
- https://commons.wikimedia.org/wiki/File:CX_ArchitectureV1.svg
Components to be provisioned for production
editcxserver
editContent Translation service is puppetize and available in operations/puppet repository as "cxserver" module.
Primary setup instructions are at: https://git.wikimedia.org/markdown/mediawiki%2Fservices%2Fcxserver.git/HEAD/README.md
For detailed information about component, installation and configuation and instructions: https://www.mediawiki.org/wiki/Content_translation/Setup
Apertium
editApertium service is puppetize and available in operations/puppet repository as "apertium" module.
Apertium service installation and configuration: https://www.mediawiki.org/wiki/Content_translation/Apertium/Service
Node.js
editDictd
editNo additional configuration needed for the planned languages. In future, when we enable more languages, dictd based dictionaries or external dictionaries may get introduced- but not planned right now. See: https://www.mediawiki.org/wiki/Content_translation/Dictionaries for details.
Backend Services
editExtension dependencies
edit- BetaFeatures
- CLDR
- EventLogging
- GuidedTour
External APIs called by CX
edit- Wikidata
- Parsoid API
Configuration Scripts
edit- cxserver: init scripts are at, https://www.mediawiki.org/wiki/Content_translation/Setup
- Apertium: init scripts are part of the "apertium-apy" package as suggested by Ops.
Provisioning Plan
edita. Storage and Hardware Requirements
- Service cluster A.
- cxserver service hardware is ready. For ContentTranslation hardware measurement, we monitored Beta cluster at,
- Apertium service hardware is ready. For Apertium hardware measurement, we monitored Beta cluster at,
b. Bandwidth Requirements
- Service cluster A.
- Tech Ops has indicated that cxserver/apertium instances will go into "Service cluster A" (ie http://ganglia.wikimedia.org/latest/?r=hour&cs=&ce=&c=Service+Cluster+A+eqiad&h=&tab=m&vn=&hide-hf=false&m=cpu_report&sh=1&z=small&hc=4&host_regex=&max_graphs=0&s=by+name )
d. Performance expectations
Monitoring and metrics
edit- EventLogging activity for Content Translation.
- Number of users enabling the feature on Beta (See: http://en.wikipedia.beta.wmflabs.org/w/api.php?action=query&list=betafeatures&bfcounts)
- Performance of S:CX, backend calls?
- Check for node and varnish.
- Graph showing requests or timings for the WikiData API(s) we are calling.
- Graph showing requests or timings for the Parsoid API(s) we are calling.
LE Team responsibilities
edit- Kartik - Deployment, Engineer
- Niklas - Engineer, Code Reviewer
- Santhosh - Engineer, Code Reviewer
- David - Engineer, Code Reviewer
- Joel - Engineer, Code Reviewer
- Runa - Team Scrum-Master / testing and communications
- Pau - Feature UX reviewer, designer
- Amir - Feature signoff
Timeline
editDate | Milestone | People Involved | Status |
---|---|---|---|
December 12, 2014 | Beta-Feature Sign Off | Amir, Greg, JamesF | Done |
December 12, 2014 | Hardware Availability for CX and other services | Tech Ops, Kartik (LE) | Done |
Within 7 days of HW procurement | Puppet config preparation for cxserver and apertium service | Kartik (LE) | Done |
Within 10 days of HW procurement | Database deployment | Kartik (LE), Tech Ops | Done |
January 5-8, 2015 | MediaWiki config and CX extension deployment | Kartik (LE), Niklas, Ops, Greg, <any others> | Done |
January 5-12, 2015 | Beta Feature security review | Chris S/Joel S | Done |
Week of January 12, 2015 | Deployment as beta-feature completed on 8 target Wikipedias | Kartik (LE), <any others> | Done |
January 13-16, 2015 | Beta-feature testing period | LE team, <any others> | Done |
Current Status
editCX Deployment Plan for January 2015
Done
edit- Puppet config preparation for cxserver and apertium service. Done
- Started: 2014-12-16
- Ticket: https://phabricator.wikimedia.org/T78629
- Status:
- https://gerrit.wikimedia.org/r/180125 (cxserver)
- https://gerrit.wikimedia.org/r/180130 (apertium)
- Hardware Availability for CX and other services. Done
- Started: 2014-11-10
- cxserver hardware.
- Ready as per Ops/Alex. Planned to host on Service Cluster A.
- Apertium hardware from Ops.
- Apertium instance is ready to go with Service Cluster A as per Alex/Kartik's estimation of CPU/RAM monitoring for Beta.
- Content Translation Database/Tables setup with globally accessible database on Beta. Done
- Started: 2014-11-07
- Ticket: https://phabricator.wikimedia.org/T1254
- Status:
- CX Tables need cx_ prefix: https://gerrit.wikimedia.org/r/175662
- CX config changes: https://gerrit.wikimedia.org/r/175955
- Import of cx tables into wikishared DB in Beta.
- mediawiki-config need to adjust with using 'extension1' cluster DB: https://gerrit.wikimedia.org/r/175979
- Database deployment for Content Translation in Production.
- Started: 2014-12-17
- Ticket: https://phabricator.wikimedia.org/T78775
- T84969 for Schema review process Done
- Varnish setup on Beta (and Production).
- Started: 2014-11-19
- Ticket: https://phabricator.wikimedia.org/T76200
- Status:
- Assigned to Alex.
- deployment-sca-cache01.eqiad.wmflabs instance has been created (2014-11-25) Done
- Alex need to setup Virtual IP/instance to finalize VCL rules for Varnish on Beta.
- Enable Content Translation on Production (mediawiki-config)
- Started: 2014-12-23
- Ticket: https://phabricator.wikimedia.org/T85144 Done
- Security review of Content Translation "Beta Feature"
- Started:
- Ticket: https://phabricator.wikimedia.org/T85686 Done
- Status: 2014-01-06
- Assigned to Chris.
- Joel will coordinate with Chris on reviewing Content Translation extension.
In Progress
edit- Testing!
To be started
edit- None
Stalled
edit- None