Project

General

Profile

D64 OpenAIRE Maintenance Report » History » Version 53

Marek Horst, 16/12/2016 01:41 PM

1 1 Marek Horst
h1. D6.4 OpenAIRE Maintenance Report (v1, 9th of December 2016)
2
3
{{toc}}
4
5
h2. Overview
6
7 37 Marek Horst
This document contains information about the deployment, status of OpenAIRE2020 services and content, and the history of major modifications of the system hosted at ICM, Poland. Zenodo repository is hosted at CERN, Switzerland.
8 1 Marek Horst
9
The official maintenance of the OpenAIRE2020 services began on January 1st, 2015 when the project started.
10
11 37 Marek Horst
*TODO: elaborate the following*
12 18 Alessia Bardi
The deliverable will consist in a high-level report on the status of 
13
* OpenAIRE workflows (CNR),
14
* services (ICM), 
15 30 Marek Horst
* and Information Space (UNIBI).
16 1 Marek Horst
17 18 Alessia Bardi
h2. Information Space
18 1 Marek Horst
19 53 Marek Horst
The OpenAIRE [[Core Data Model]] comprises the following interlinked entities: 
20
* results ( in form of publications, datasets and patents)
21
* persons
22
* organisations
23
* funders
24
* funding streams
25
* projects
26
* data sources (in form of institutional, thematic, and data repositories, Current Research Information Systems (CRIS), thematic and national aggregators, publication catalogues and entity registries)
27 43 Jochen Schirrwagen
28 46 Jochen Schirrwagen
29 1 Marek Horst
h3. Data Sources
30 46 Jochen Schirrwagen
31 53 Marek Horst
Data sources in OpenAIRE are divided in: 
32 50 Jochen Schirrwagen
* data providers (~805) OpenAIRE continuously collects information from (_downloadFrom_) and need to comply with the "OpenAIRE Guidelines":https://guidelines.openaire.eu
33
* data sources (~6562) where metadata are collected from compatible data providers (usually aggregators)
34
35 46 Jochen Schirrwagen
|*data source type*|*compatibility*|*count*|
36 47 Jochen Schirrwagen
|institutional repository |openaire-3.0 |122 |
37 48 Jochen Schirrwagen
| |openaire-2.0+ |103 |
38
| |openaire-2.0 |10 |
39
| |openaire-basic |252 |
40 47 Jochen Schirrwagen
|thematic repository |openaire-3.0 |5 |
41 48 Jochen Schirrwagen
| |openaire-2.0+ |9 |
42
| |openaire-basic |22 |
43
|other publication repository |openaire-3.0 |8 |
44
| |openaire-2.0+ |1 |
45
| |openaire-2.0 |2 |
46
| |openaire-basic |34 |
47 47 Jochen Schirrwagen
|data repository |openaire-data-2.0 |11 |
48
|publication repository aggregator |openaire-3.0 |5 |
49 48 Jochen Schirrwagen
| |openaire-2.0 |1 |
50
| |openaire-basic |7 |
51 47 Jochen Schirrwagen
|data repository aggregator |openaire-data |1 |
52 48 Jochen Schirrwagen
|journals |openaire-3.0 |71 |
53
| |openaire-2.0 |2 |
54
| |openaire-basic |77 |
55 47 Jochen Schirrwagen
|journal aggregator / publisher |openaire-3.0 |4 |
56 48 Jochen Schirrwagen
| |openaire-basic |26 |
57 1 Marek Horst
| |proprietary |1 |
58
|publication catalogue |proprietary |12 |
59 50 Jochen Schirrwagen
|repository registries|proprietary|2 |
60 1 Marek Horst
|funder databases |proprietary |8 |
61 51 Jochen Schirrwagen
62 52 Marek Horst
The number of data sources is based on the OpenAIRE-index from December 15, 2016.
63 49 Jochen Schirrwagen
64 20 Jochen Schirrwagen
h3. Content Status
65 18 Alessia Bardi
66 45 Jochen Schirrwagen
|*data type*|*count*|
67
|publication metadata|17460368|
68 1 Marek Horst
|dataset metadata|3226586|
69
|projects|653268|
70 18 Alessia Bardi
|organizations|64591|
71 20 Jochen Schirrwagen
|authors|16188328|
72
|EuropePMC XML fulltext|1574358|
73 1 Marek Horst
|PDF fulltext|2227458|
74 29 Marek Horst
75
|*inference type*|*count*|
76
|datasets matched|88610|
77
|projects matched|351302|
78
|software urls references|21481|
79
|protein db references|196462|
80
|research initiatives references|7294|
81
|documents classified|2405869|
82
|similar documents found|164602477|
83
|citations matched by reference text|11390293|
84 1 Marek Horst
|citations matched by id|3929053|
85
86 30 Marek Horst
Tables based on IIS report generated on November 20, 2016 for OpenAIRE production infrastructure.
87
88
h3. Zenodo Content Status
89
90
|*data type*|*count or size*|
91
|records|96771|
92 1 Marek Horst
|managed files|181778|
93 30 Marek Horst
|files total size|8TB|
94
95 52 Marek Horst
Presented numbers are based on Zenodo repository status on December 14, 2016.
96 18 Alessia Bardi
97
h2. [[OpenAIRE workflows]]
98
99
The OpenAIRE aggregation system is based on the "D-NET software toolkit":http://www.d-net.research-infrastructures.eu/. D-NET is a service-oriented framework specifically designed to support developers at constructing custom aggregative infrastructures in a cost-effective way. D-NET offers data management services capable of providing access to different kinds of external data sources, storing and processing information objects of any data models, converting them into common formats, and exposing information objects to third-party applications through a number of standard access API. Most importantly, D-NET offers infrastructure enabling services that facilitate the construction of domain-specific aggregative infrastructures by selecting and configuring the needed services and easily combining them to form autonomic data processing workflows. 
100
101
The Enabling Layer contains the Services supporting the application framework. These provide functionalities such as Service registration, discovery, subscription and notification and data transfer mechanisms through ResultSet Services. Most importantly, these Services are configured to orchestrate Services of other layers to fulfil the OpenAIRE specific requirements and implement the *[[OpenAIRE workflows]]*.
102
103
h2. Services
104
105
How the system is maintained
106
107
h3. Software life-cycle
108
109
h4. D-NET services
110 1 Marek Horst
111
The D-NET services are shipped as web applications and deployed on the tomcat application server (v7.0.52) on three distinct systems: dev, beta, production. To support the deployment process all the software artifacts are automatically built on a continuous integration system ("Jenkins":https://ci.research-infrastructures.eu) and hosted on a dedicated maven repository ("nexus":http://maven.research-infrastructures.eu/nexus), while webapp builds are made available via "http server":http://ppa.research-infrastructures.eu/ci_upload. The mentioned tools supporting the software lifecycle are maintained by CNR.
112
113
The D-NET services deployment is performed in subsequent stages:
114
* The development infrastructure plays the role of test bench for the integration of the software developed by different institutions. It is maintained by CNR and runs mostly un-released code and contains mock or subsets of the data available on the production system.
115
* The beta infrastructure runs only released code. It is maintained by ICM and consists of the final integration stage where all the system workflows are tested on the real data (not necessarily the same data as the production system) before making them available to the production system. Although the software running on the beta system is not yet production ready, its portal is publicly accessible in order to showcase new features and data.
116
* The production infrastructure is maintained by ICM and runs only code that was tested on the beta system.
117 18 Alessia Bardi
118 1 Marek Horst
D-NET backend services are packed in four different web applications, each of them running on a dedicated tomcat instance.
119 18 Alessia Bardi
120 1 Marek Horst
h4. Information Inference Service
121 26 Marek Horst
122
"Information Inference Service":https://github.com/openaire/iis versioning and deployment is described on "IIS versioning and deployment":https://issue.openaire.research-infrastructures.eu/projects/openaire/wiki/IIS_versioning_and_deployment wiki page. 
123
124 1 Marek Horst
Formerly IIS was being deployed on CDH4 cluster. Since October 1st, 2015 dedicated "cdh5 branch":https://github.com/openaire/iis/commits/cdh5 was created where new SPARK modules were introduced and existing modules were optimized. On November 20, 2016 for the first time all inferences in production infrastructure were generated by IIS deployed on new CDH5 OCEAN cluster. Both stability and major performance increase were noticed, inference generation time decreased from over 2 days to 12 hours.
125 18 Alessia Bardi
126 1 Marek Horst
h4. Portal
127 23 Marek Horst
128
OpenAIRE portal is hosted at ICM. It uses Joomla! 3.6.2, a free dynamic portal engine and content management system (CMS).
129
130
The Joomla! depends on other upstream applications:
131
132
* Apache 2.4.7
133
* PHP 5.5.9
134
* MySQL 5.5.53
135 1 Marek Horst
* OpenLDAP 2.4.31
136 18 Alessia Bardi
137 1 Marek Horst
h4. Zenodo
138
139
Zenodo repository employs an instance of the Invenio software, developed by CERN.
140 31 Marek Horst
141
Repository is deployed in a production system (https://zenodo.org) and a QA system (https://sandbox.zenodo.org). In total the two systems are running on 30 VMs hosted in CERNs OpenStack infrastructure. All machines are configured using Puppet and are running on top of CERN CentOS 7.2.
142
143
Zenodo/Invenio depends on the following applications:
144
- HAProxy for load balancing
145
- Nginx for serving static content and proxying request to application server
146
- UWSGI as application server for Zenodo/Invenio application
147
- Redis for memory cache
148
- RabbitMQ as message broker
149
- Celery as distributed task queue
150
- PostgreSQL as database
151
- Elasticsearch as search engine
152
153 1 Marek Horst
Deployment process is described at http://zenodo.readthedocs.io/projectlifecycle.html#release-process
154 33 Marek Horst
155
See https://github.com/zenodo/zenodo/commits/production for changes to Zenodo production system (does not include changes to Invenio modules).
156 35 Marek Horst
157
Zenodo repository was relaunched on Invenio v3 alpha on September 12, 2016.
158 18 Alessia Bardi
159 1 Marek Horst
h3. Infrastructure services
160 18 Alessia Bardi
161 1 Marek Horst
Because OpenAIRE2020 services are a continuation and incremental extension of the services already present that resulted from OpenAIRE+ project, so they are still hosted on that same machines. More details are available at "OpenAIRE+ WP5 Maintenance Report":http://wiki.openaire.eu/xwiki/bin/view/OpenAIREplus%20Specific/WP5%20Maintenance%20Report.
162 18 Alessia Bardi
163 1 Marek Horst
h4. Hadoop clusters
164 18 Alessia Bardi
165 1 Marek Horst
h5. DM hadoop cluster
166
167
CDH version: @cdh4.3.1@
168
169
h5. IIS hadoop cluster
170 24 Marek Horst
171
There were two IIS clusters deployed:
172 39 Marek Horst
* old CDH4 IIS cluster, version @cdh4.3.1@, in operation until December 9, 2016 
173 1 Marek Horst
* new CDH5 IIS cluster deployed on March 22, 2016 in OCEAN infrastructure, supports MRv2 on YARN and SPARK
174 24 Marek Horst
175
CDH5 cluster version history:
176 27 Marek Horst
** @5.5.2@ deployment on March 22, 2016
177
** @5.5.2 -> 5.7.5@ upgrade on November 30, 2016
178 24 Marek Horst
** @5.7.5 -> 5.9.0@ upgrade on December 8, 2016
179 1 Marek Horst
180
h4. Databases
181 28 Marek Horst
182
|_database type_|_usage_|_version_|
183 24 Marek Horst
| postgress | statistics | @9.1.23@ |
184
| postgress | DNet services | @9.3.14@ |
185
| mongodb | DNet services | @3.2.6@ |
186 1 Marek Horst
| virtuoso | LOD | @7.2@ |
187 41 Marek Horst
188 18 Alessia Bardi
h4. Piwik analytics platform
189 24 Marek Horst
190
Currently deployed Piwik version: @2.17.1@, since December 6, 2016.
191 40 Marek Horst
192 24 Marek Horst
h4. ownCloud filesync platform
193 40 Marek Horst
194 18 Alessia Bardi
Deployed at https://box.openaire.eu. Current version: @8.2.7@, since October 19, 2016.
195 1 Marek Horst
196 22 Marek Horst
h3. Architectural changes
197 1 Marek Horst
198 18 Alessia Bardi
[[D64_Servers_Administration_Operations_Changelog|Change Log for servers administration operations]]
199
200 1 Marek Horst
h4. Introducing CDH5 IIS cluster hosted in OCEAN infrastructure
201
202
Slave node specification:
203
* Huawei RH1288 V3
204
* CPU: 2x Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz (24 cores, 48 threads)
205
* RAM: 128GB
206
* HDD: 4x SATA 6TB 7.2K RPM (HDFS)
207
208
Cluster summary (16 slaves):
209
* CPU: 384 cores, 768 threads
210
* RAM: 2048GB
211
* HDD: 384TB (HDFS)
212
213
YARN available resources:
214
* vcores: 640
215
* memory: 1.44TB
216 18 Alessia Bardi
* HDFS: 344TB
217 1 Marek Horst
218
h4. Incorporating resources from old CDH4 IIS cluster into existing DM CDH4 cluster
219 25 Marek Horst
220 1 Marek Horst
This task was possible after shutting down old IIS CDH4 cluster what happened on December 9, 2016.
221 25 Marek Horst
222
h4. Deploying DNet postgress and mongodb databases on separate machines
223
224
Separating @openaire-services@ database instances into dedicated ones (since June 27, 2016):
225
* @openaire-services-postgresql@
226
* @openaire-services-mongodb@
227 34 Marek Horst
228 1 Marek Horst
h4. Updating Zenodo repository infrastructure at CERN
229 34 Marek Horst
230
Several architectural changes were introduced in CERN's infrastructure:
231
* changed storage backend from OpenAFS to CERN EOS (18 PB disk cluster) for better scalability
232
* changed from self-managed MySQL database to CERN Database Team managed PostgreSQL database
233
* deployment of Elasticsearch clusters (6 VMs)
234
* SLC to CentOS 7 on all 30 VMs
235 1 Marek Horst
236
h3. System downtimes
237 36 Marek Horst
238
h4. @ICM
239 1 Marek Horst
240 36 Marek Horst
* [planned] November 14, 2016, 2 hours. #2423 dealing with Linux Dirty COW vulnerability: kernel upgrade, OpenAIRE services restart.
241
242
h4. @CERN
243
244
* [unplanned] September 16, 2016, 3 hours. Preparation of a new load balancer caused an automatic update of CERN outerperimeter firewall that automatically closed access to the operational load balancers.
245
* [planned] September 12, 2016, 8 hours. Complete migration from old infrastructure to new infrastructure
246 1 Marek Horst
* minor incidents until September 12, 2016 due to overload of the legacy system