Project

General

Profile

D64 OpenAIRE Maintenance Report » History » Version 49

Jochen Schirrwagen, 15/12/2016 03:47 PM
table data sources

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 18 Alessia Bardi
Brief description of the data model and status of content, i.e. numbers about data providers, their typology, publications, datasets, links... etc.
20
@UNIBI: your contribution is needed here
21 1 Marek Horst
22 44 Jochen Schirrwagen
The OpenAIRE [[Core Data Model]] comprises the following interlinked entites: **results** ( in form of publications, datasets and patents), **persons**, **organisations**, **funders**, **funding streams**, **projects**, and **data sources** (in form of institutional, thematic, and data repositories, Current Research Information Systems (CRIS), thematic and national aggregators, publication catalogues and entity registries)).
23 43 Jochen Schirrwagen
24
25 46 Jochen Schirrwagen
h3. Data Sources
26
27
|*data source type*|*compatibility*|*count*|
28 47 Jochen Schirrwagen
|institutional repository |openaire-3.0 |122 |
29 48 Jochen Schirrwagen
| |openaire-2.0+ |103 |
30
| |openaire-2.0 |10 |
31
| |openaire-basic |252 |
32 47 Jochen Schirrwagen
|thematic repository |openaire-3.0 |5 |
33 48 Jochen Schirrwagen
| |openaire-2.0+ |9 |
34
| |openaire-basic |22 |
35
|other publication repository |openaire-3.0 |8 |
36
| |openaire-2.0+ |1 |
37
| |openaire-2.0 |2 |
38
| |openaire-basic |34 |
39 47 Jochen Schirrwagen
|data repository |openaire-data-2.0 |11 |
40
|publication repository aggregator |openaire-3.0 |5 |
41 48 Jochen Schirrwagen
| |openaire-2.0 |1 |
42
| |openaire-basic |7 |
43 47 Jochen Schirrwagen
|data repository aggregator |openaire-data |1 |
44 48 Jochen Schirrwagen
|journals |openaire-3.0 |71 |
45
| |openaire-2.0 |2 |
46
| |openaire-basic |77 |
47 47 Jochen Schirrwagen
|journal aggregator / publisher |openaire-3.0 |4 |
48 48 Jochen Schirrwagen
| |openaire-basic |26 |
49
| |proprietary |1 |
50 1 Marek Horst
|publication catalogue |proprietary |12 |
51 20 Jochen Schirrwagen
52 49 Jochen Schirrwagen
The number of data sources is based on the OpenAIRE-index from December 15, 2016
53
54 20 Jochen Schirrwagen
h3. Content Status
55 18 Alessia Bardi
56 45 Jochen Schirrwagen
|*data type*|*count*|
57
|publication metadata|17460368|
58 1 Marek Horst
|dataset metadata|3226586|
59
|projects|653268|
60 18 Alessia Bardi
|organizations|64591|
61 20 Jochen Schirrwagen
|authors|16188328|
62
|EuropePMC XML fulltext|1574358|
63 1 Marek Horst
|PDF fulltext|2227458|
64 29 Marek Horst
65
|*inference type*|*count*|
66
|datasets matched|88610|
67
|projects matched|351302|
68
|software urls references|21481|
69
|protein db references|196462|
70
|research initiatives references|7294|
71
|documents classified|2405869|
72
|similar documents found|164602477|
73
|citations matched by reference text|11390293|
74 1 Marek Horst
|citations matched by id|3929053|
75
76 30 Marek Horst
Tables based on IIS report generated on November 20, 2016 for OpenAIRE production infrastructure.
77
78
h3. Zenodo Content Status
79
80
|*data type*|*count or size*|
81
|records|96771|
82
|managed files|181778|
83
|files total size|8TB|
84
85 18 Alessia Bardi
86
87
h2. [[OpenAIRE workflows]]
88
89
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. 
90
91
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]]*.
92
93
h2. Services
94
95
How the system is maintained
96
97
h3. Software life-cycle
98
99
h4. D-NET services
100 1 Marek Horst
101
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.
102
103
The D-NET services deployment is performed in subsequent stages:
104
* 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.
105
* 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.
106
* The production infrastructure is maintained by ICM and runs only code that was tested on the beta system.
107 18 Alessia Bardi
108 1 Marek Horst
D-NET backend services are packed in four different web applications, each of them running on a dedicated tomcat instance.
109 18 Alessia Bardi
110 1 Marek Horst
h4. Information Inference Service
111 26 Marek Horst
112
"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. 
113
114 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.
115 18 Alessia Bardi
116 1 Marek Horst
h4. Portal
117 23 Marek Horst
118
OpenAIRE portal is hosted at ICM. It uses Joomla! 3.6.2, a free dynamic portal engine and content management system (CMS).
119
120
The Joomla! depends on other upstream applications:
121
122
* Apache 2.4.7
123
* PHP 5.5.9
124
* MySQL 5.5.53
125 1 Marek Horst
* OpenLDAP 2.4.31
126 18 Alessia Bardi
127 1 Marek Horst
h4. Zenodo
128
129
Zenodo repository employs an instance of the Invenio software, developed by CERN.
130 31 Marek Horst
131
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.
132
133
Zenodo/Invenio depends on the following applications:
134
- HAProxy for load balancing
135
- Nginx for serving static content and proxying request to application server
136
- UWSGI as application server for Zenodo/Invenio application
137
- Redis for memory cache
138
- RabbitMQ as message broker
139
- Celery as distributed task queue
140
- PostgreSQL as database
141
- Elasticsearch as search engine
142
143 1 Marek Horst
Deployment process is described at http://zenodo.readthedocs.io/projectlifecycle.html#release-process
144 33 Marek Horst
145
See https://github.com/zenodo/zenodo/commits/production for changes to Zenodo production system (does not include changes to Invenio modules).
146 35 Marek Horst
147
Zenodo repository was relaunched on Invenio v3 alpha on September 12, 2016.
148 18 Alessia Bardi
149 1 Marek Horst
h3. Infrastructure services
150 18 Alessia Bardi
151 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.
152 18 Alessia Bardi
153 1 Marek Horst
h4. Hadoop clusters
154 18 Alessia Bardi
155 1 Marek Horst
h5. DM hadoop cluster
156
157
CDH version: @cdh4.3.1@
158
159
h5. IIS hadoop cluster
160 24 Marek Horst
161
There were two IIS clusters deployed:
162 39 Marek Horst
* old CDH4 IIS cluster, version @cdh4.3.1@, in operation until December 9, 2016 
163 1 Marek Horst
* new CDH5 IIS cluster deployed on March 22, 2016 in OCEAN infrastructure, supports MRv2 on YARN and SPARK
164 24 Marek Horst
165
CDH5 cluster version history:
166 27 Marek Horst
** @5.5.2@ deployment on March 22, 2016
167
** @5.5.2 -> 5.7.5@ upgrade on November 30, 2016
168 24 Marek Horst
** @5.7.5 -> 5.9.0@ upgrade on December 8, 2016
169 1 Marek Horst
170
h4. Databases
171 28 Marek Horst
172
|_database type_|_usage_|_version_|
173 24 Marek Horst
| postgress | statistics | @9.1.23@ |
174
| postgress | DNet services | @9.3.14@ |
175
| mongodb | DNet services | @3.2.6@ |
176 1 Marek Horst
| virtuoso | LOD | @7.2@ |
177 41 Marek Horst
178 18 Alessia Bardi
h4. Piwik analytics platform
179 24 Marek Horst
180
Currently deployed Piwik version: @2.17.1@, since December 6, 2016.
181 40 Marek Horst
182 24 Marek Horst
h4. ownCloud filesync platform
183 40 Marek Horst
184 18 Alessia Bardi
Deployed at https://box.openaire.eu. Current version: @8.2.7@, since October 19, 2016.
185 1 Marek Horst
186 22 Marek Horst
h3. Architectural changes
187 1 Marek Horst
188 18 Alessia Bardi
[[D64_Servers_Administration_Operations_Changelog|Change Log for servers administration operations]]
189
190 1 Marek Horst
h4. Introducing CDH5 IIS cluster hosted in OCEAN infrastructure
191
192
Slave node specification:
193
* Huawei RH1288 V3
194
* CPU: 2x Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz (24 cores, 48 threads)
195
* RAM: 128GB
196
* HDD: 4x SATA 6TB 7.2K RPM (HDFS)
197
198
Cluster summary (16 slaves):
199
* CPU: 384 cores, 768 threads
200
* RAM: 2048GB
201
* HDD: 384TB (HDFS)
202
203
YARN available resources:
204
* vcores: 640
205
* memory: 1.44TB
206 18 Alessia Bardi
* HDFS: 344TB
207 1 Marek Horst
208
h4. Incorporating resources from old CDH4 IIS cluster into existing DM CDH4 cluster
209 25 Marek Horst
210 1 Marek Horst
This task was possible after shutting down old IIS CDH4 cluster what happened on December 9, 2016.
211 25 Marek Horst
212
h4. Deploying DNet postgress and mongodb databases on separate machines
213
214
Separating @openaire-services@ database instances into dedicated ones (since June 27, 2016):
215
* @openaire-services-postgresql@
216
* @openaire-services-mongodb@
217 34 Marek Horst
218 1 Marek Horst
h4. Updating Zenodo repository infrastructure at CERN
219 34 Marek Horst
220
Several architectural changes were introduced in CERN's infrastructure:
221
* changed storage backend from OpenAFS to CERN EOS (18 PB disk cluster) for better scalability
222
* changed from self-managed MySQL database to CERN Database Team managed PostgreSQL database
223
* deployment of Elasticsearch clusters (6 VMs)
224
* SLC to CentOS 7 on all 30 VMs
225 1 Marek Horst
226
h3. System downtimes
227 36 Marek Horst
228
h4. @ICM
229 1 Marek Horst
230 36 Marek Horst
* [planned] November 14, 2016, 2 hours. #2423 dealing with Linux Dirty COW vulnerability: kernel upgrade, OpenAIRE services restart.
231
232
h4. @CERN
233
234
* [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.
235
* [planned] September 12, 2016, 8 hours. Complete migration from old infrastructure to new infrastructure
236 1 Marek Horst
* minor incidents until September 12, 2016 due to overload of the legacy system