Project

General

Profile

Actions

VM Creation #12989

closed

Please create a VM for new gCat Service

Added by Luca Frosini almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
_InfraScience Systems Engineer
Target version:
Start date:
Dec 05, 2018
Due date:
% Done:

100%

Infrastructure:
Production
RAM:
4
CPU:
2
DiskSpace:
10
Smartgears:
Yes
Smartgears Version:
latest
Application Instructions:

gCat service is a standard smartgears service.

It requires a config.properties file in
tomcat/webapps/gcat/WEB-INF/classes/

I'll provide you the file template

Smartgears scopes:

/d4science.research-infrastructures.eu/D4Research/AGINFRAplusDev

Applications list and version:

latest (i.e 1.0.0)

<groupId>org.gcube.data-publishing</groupId>
<artifactId>gcat</artifactId>

Applications context path:

/gcat

External storage data disk:
Smartgears auth connector:
data transfer enabled:
No
PostgreSQL database:
No
Number of VMs:
1

Description

gCat is the new gCube Catalogue Service (it will replace the old catalogue-ws).

For a certain period, we will have both services available.

The service is a pure RESTful service

Actions #1

Updated by Luca Frosini almost 7 years ago

I already created the skeleton playbook for gcat service.

Actions #2

Updated by Luca Frosini almost 7 years ago

I have fixed the playbook of gcat service as suggested by @andrea.dellamico@isti.cnr.it

Actions #3

Updated by Andrea Dell'Amico almost 7 years ago

  • Applications context path updated (diff)

Please add the vault file with the token into ansible-playbooks/d4science-ghn-cluster/group_vars/gcat_prod/vault-file.yml (the directory does not exist yet, it must be created). I'll take care of the rest of the configuration.

Actions #4

Updated by Luca Frosini almost 7 years ago

Andrea Dell'Amico wrote:

Please add the vault file with the token into ansible-playbooks/d4science-ghn-cluster/group_vars/gcat_prod/vault-file.yml (the directory does not exist yet, it must be created). I'll take care of the rest of the configuration.

I did it

Actions #5

Updated by Andrea Dell'Amico almost 7 years ago

  • RAM changed from 2 to 4
Actions #6

Updated by Tommaso Piccioli almost 7 years ago

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

gcat.d4science.org running, to be provisioned.

Actions #7

Updated by Andrea Dell'Amico almost 7 years ago

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

The service is up.

Actions #8

Updated by Luca Frosini almost 7 years ago

I'm going to test it. Thank you

Actions #9

Updated by Luca Frosini almost 7 years ago

@andrea.dellamico@isti.cnr.it I forget to ask to allow gcat.d4science.org host to be able to connect to the postgres database "ckan_prod_aginfra"

Actions #10

Updated by Luca Frosini almost 7 years ago

You can use this REST API for Nagis Check:

GET/HEAD https://gcat.d4science.org/gcat/profiles
Actions #11

Updated by Luca Frosini almost 7 years ago

Also

OPTIONS https://gcat.d4science.org/gcat/profiles

which should be faster

Actions #12

Updated by Andrea Dell'Amico almost 7 years ago

The nagios check can only run GET or POST checks, at least the version that we run right now.

Actions #13

Updated by Andrea Dell'Amico almost 7 years ago

Luca Frosini wrote:

@andrea.dellamico@isti.cnr.it I forget to ask to allow gcat.d4science.org host to be able to connect to the postgres database "ckan_prod_aginfra"

Done. Can you check?

Actions #14

Updated by Luca Frosini almost 7 years ago

It seems working now. Thanks a lot

Actions #15

Updated by Luca Frosini almost 7 years ago

Do I have to close the ticket, or do you want to leave it as is until you add the Nagios Check?

Actions #16

Updated by Andrea Dell'Amico almost 7 years ago

  • Status changed from Feedback to Closed

I just added the nagios check too.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)