Project

General

Profile

Actions

VM Creation #10686

closed

New VM with Resource Registry instance

Added by Manuele Simi over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
_InfraScience Systems Engineer
Target version:
Start date:
Dec 13, 2017
Due date:
Dec 19, 2017
% Done:

100%

Infrastructure:
Development
RAM:
2
CPU:
2
DiskSpace:
10
Smartgears:
Yes
Smartgears Version:
Application Instructions:
Smartgears scopes:

/gcube, /gcube/devNext, /gcube/devNext/NextNext

Applications list and version:

resource-registry latest from snapshot (last 1.7.0-SNAPSHOT)

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

Description

In order to test the Resource Manager operations, I request a new VM hosting an instance of Resource Registry on manuele-dev.d4science.org.

These are the requirements for the new VM:

  • run under a different user than gcube (gcube2?)
  • Smartgear-based
  • configured to stay offline
  • operate in the following contexts: /gcube, /gcube/devNext, /gcube/devNext/NextNext
  • hosting an instance of the most recent Resource Registry service

About the Resource Registry instance:

  • it has be configured to access to the same OrientDB instance used in dev
  • a dedicate DB have to be created in OrientDB and the RR must be instructed to use that DB
  • suggested name for the DB: ResourceManagerPlayground

Related issues

Related to D4Science Infrastructure - VM Creation #12030: Upgrade VM with Resource Registry instanceClosed_InfraScience Systems EngineerJun 26, 2018

Actions
Actions #1

Updated by Luca Frosini over 7 years ago

Regarding the point

  • run under a different user than gcube (gcube2?)

is what I suggest to Manuele to avoid to waste hardware resources but if you prefer to use another machine (for example because the playboook does not cover such a case) it is not a problem.

Actions #2

Updated by Luca Frosini over 7 years ago

Regarding the ResouceRegistry service version is 'latest' (last 1.7.0-SNAPSHOT) in snapshot. It will be released in 4.9.0

Actions #3

Updated by Manuele Simi over 7 years ago

Luca Frosini wrote:

Regarding the point

  • run under a different user than gcube (gcube2?)

is what I suggest to Manuele to avoid to waste hardware resources but if you prefer to use another machine (for example because the playboook does not cover such a case) it is not a problem.

It would be the same on my side. Just make sure that whatever option you go for (new machine or different user) the same keys as gcube@manuele-dev are authorized to access to the VM.

Actions #4

Updated by Luca Frosini over 7 years ago

  • Smartgears scopes updated (diff)
  • Applications list and version updated (diff)
Actions #5

Updated by Andrea Dell'Amico over 7 years ago

  • Applications list and version updated (diff)

I'll create a new VM, better to have the same standard everywhere.

Actions #7

Updated by Andrea Dell'Amico over 7 years ago

  • Status changed from New to In Progress
Actions #8

Updated by Andrea Dell'Amico over 7 years ago

Hostname and IP address are going to be: manuele-registry.dev.d4science.org 146.48.122.19

Actions #9

Updated by Andrea Dell'Amico over 7 years ago

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

The VM is up. The resource registry configuration should be verified. @luca.frosini@isti.cnr.it can you do that? I gave you access as gcube user.

Actions #10

Updated by Manuele Simi over 7 years ago

Andrea Dell'Amico wrote:

Hostname and IP address are going to be: manuele-registry.dev.d4science.org 146.48.122.19

From my side, I can confirm that I can access to the new VM. Thanks!

Actions #11

Updated by Luca Frosini over 7 years ago

  • Status changed from Feedback to Closed

I successfully created and initialized the database.
@manuele.simi@isti.cnr.it you can start using the registry

Actions #12

Updated by Luca Frosini over 7 years ago

@andrea.dellamico@isti.cnr.it
Is it this base url correct?

http://manuele-registry.dev.d4science.org/resource-registry

I obtain a not found nginx error.

Actions #13

Updated by Luca Frosini over 7 years ago

  • Status changed from Closed to In Progress
Actions #14

Updated by Luca Frosini over 7 years ago

  • Status changed from In Progress to Feedback
Actions #15

Updated by Andrea Dell'Amico over 7 years ago

  • Status changed from Feedback to Closed

There was a double / on the nginx configuration. Fixed now.

Actions #16

Updated by Luca Frosini over 7 years ago

Seems working now. Thanks a lot.

Actions #17

Updated by Manuele Simi over 7 years ago

As a further evidence, I'm able to contact this Resource Registry instance from the Resource Manager. Thanks.

Actions #18

Updated by Manuele Simi about 7 years ago

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)