Project

General

Profile

Actions

Task #9582

closed

Thredds on smartgears: it's needed to complete the provisioning

Added by Roberto Cirillo over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Urgent
Category:
Application
Start date:
Sep 04, 2017
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Development, Pre-Production, Production

Description

We have a playbook partially configured to deploy the thredds application on a smartgears node, some configurations are still manually modified.

The steps needed to complete the provisioning are described here:

https://gcube.wiki.gcube-system.org/gcube/Install_and_Configure_THREDDS_Data_Server

Related issues

Related to D4Science Infrastructure - Upgrade #9541: /gcube/preprod upgrade to gCube 4.6.1 (CommonApps)CompletedRoberto CirilloAug 29, 2017Sep 04, 2017

Actions
Actions #1

Updated by Roberto Cirillo over 7 years ago

  • Related to Upgrade #9541: /gcube/preprod upgrade to gCube 4.6.1 (CommonApps) added
Actions #2

Updated by Roberto Cirillo over 7 years ago

  • Infrastructure Development, Pre-Production added
Actions #3

Updated by Andrea Dell'Amico over 7 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 100

A new role that installs thredds is here: library/roles/thredds
It has been installed on thredds-d-d4s.d4science.org

Actions #4

Updated by Roberto Cirillo over 7 years ago

  • % Done changed from 100 to 80

We need to install it on thredds-pre.d4science.org. Could you do it asap?

Actions #5

Updated by Roberto Cirillo over 7 years ago

  • Priority changed from Normal to Urgent
Actions #6

Updated by Andrea Dell'Amico over 7 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 80 to 100

The new thredds is up with the same configuration installed in dev.
Some notes:

  • next time, a different task for each infrastructure
  • The pre VM was created snapshotting the dev one, so I had to do a lot of manual work to make it working
  • The inventory group for the thredds_pre instance lacks the smartgears scopes. As I see that smartgears was already upgraded I did not touch anything. The correct scopes list shoud be added, anyway
Actions #7

Updated by Fabio Sinibaldi over 7 years ago

After testing the installation I noticed an error in the configuration (my mistake in the wiki, I'm updating it right now).
In details :
inside ~/tomcat/webapps/thredds/WEB-INF/gcube-app.xml file the parameter "persistence location" needs to be set to "/data/content/thredds" instead of "/data/content".

Please update ansible rules and apply changes to both development and preprod instances.

Actions #8

Updated by Andrea Dell'Amico over 7 years ago

Done on both the instances.

Actions #9

Updated by Fabio Sinibaldi over 7 years ago

A last step is missing in thredds environment :

sis-geotk-plugin should be installed along with data-transfer-service dependencies. It's not in service's pom because this particular plugin is meant to run only in thredds environments. I just modified the plugin's pom in order to make it create a jar-with-dependencies. The change will affect tomorrow's build, so the jar will be available from tomorrow.

Artifact coordinates are :

<groupId>org.gcube.data.transfer</groupId>
<artifactId>sis-geotk-plugin</artifactId>

Actions #10

Updated by Roberto Cirillo over 7 years ago

The url of the plugin above is the following:

http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-staging/org/gcube/data/transfer/sis-geotk-plugin/1.0.0-4.6.1-152930/sis-geotk-plugin-1.0.0-4.6.1-152930-jar-with-dependencies.jar
Actions #11

Updated by Andrea Dell'Amico over 7 years ago

Installed on the pre instance, configured the playbook too.

Actions #12

Updated by Fabio Sinibaldi over 7 years ago

In order to transfer bigger files, temporary folder needs to be larger than usual. Expected file size ranges up to 10GB. Setting the temp folder to a directory inside a bigger disk might be a solution.

Actions #13

Updated by Andrea Dell'Amico over 7 years ago

I moved the temporary directories of both nginx and tomcat under /data (/data/nginx_temp and /data/temp respectively). Both services has been restarted.

Actions #14

Updated by Massimiliano Assante over 7 years ago

@fabio.sinibaldi@isti.cnr.it please close the ticket if the activity is completed

Actions #15

Updated by Fabio Sinibaldi over 7 years ago

  • Status changed from Feedback to Closed

Installation is update and service up and running.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)