Task #7379
closedCreate new VM for hosting SocialNetworking and gcube-oauth services
100%
Description
The new VM should have the following capabilities :
- 2 vCPU
 - 4 GB of RAM.
 - the latest smartgears-distribution these services will work on all scopes of production environment
 
In addition it is very important that this node has a postfix configured to send email by using the same SMTP Relay of the Gateways.
Related issues
      
      Updated by Roberto Cirillo over 8 years ago
      
    
    I suggest to call this host as:
socialnetworking-p-d4s.d4science.org
      
      Updated by Roberto Cirillo over 8 years ago
      
    
    - Blocked by Task #7380: Provide the list of all scopes currently available in production environment added
 
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    There is no gcube-oauth role yet, is it correct?
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    - Status changed from New to In Progress
 
The IP address: 146.48.123.21
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    - % Done changed from 0 to 70
 
The playbook is almost ready. The missing parts are the scopes list and the gcube-oauth role.
The VM is up, ready to be configured.
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    We will add socialnetworking.d4science.org to the haproxy frontend, with the running VM as the sole backend. So if a need to put the service in HA arises we will only need to add other backends.
socialnetworking-p-d4s.d4science.org is going to be renamed socialnetworking1.d4science.org
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    I also have a haproxy configuration almost ready. I only need to know a url path to use as a functionality check. Is the root:  /social-networking-library-ws/ OK?
      
      Updated by Costantino Perciante over 8 years ago
      
    
    Thank you Andrea, yes it is /social-networking-library-ws/ for the social-networking-library-ws and /gcube-oauth/ for the other service
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    Can you provide directions to install and configure the two services so that we can automate that part?
      
      Updated by Costantino Perciante over 8 years ago
      
    
    here you can find the war urls (from staging)
http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-staging/org/gcube/portal/social-networking-library-ws/2.0.0-4.3.0-144413/social-networking-library-ws-2.0.0-4.3.0-144413.war (for social networking ws)
and
http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-staging/org/gcube/portal/oauth/1.0.0-4.3.0-142179/oauth-1.0.0-4.3.0-142179.war for the other one
Hope it helps
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    - % Done changed from 70 to 90
 
The provisioning is running. 
The scopes list is still missing, the only active one will be /d4science.research-infrastructures.eu
      
      Updated by Costantino Perciante over 8 years ago
      
    
    Thank you Andrea. As far as the list of scopes, I think it will need to run on every scope
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    - Status changed from In Progress to Feedback
 - % Done changed from 90 to 100
 
Ops, I forgot about the other task. Now I added all the listed scopes.
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    - Status changed from Feedback to Closed