Difference between revisions of "FHNManager Installation"

From Gcube Wiki
Jump to: navigation, search
Line 14: Line 14:
 
  </dependency>
 
  </dependency>
  
= Configuration steps =
+
= Deploy =
  
 
* Deploy war file to selected SmartGears Container (tomcat Webapp folder)
 
* Deploy war file to selected SmartGears Container (tomcat Webapp folder)
 +
 +
= Generate VOMS proxy =
 
* Generate VOMS proxy in order to obtain authorization attributes to be embedded in X.509 proxy certificates, needed to access FedCloud sites.
 
* Generate VOMS proxy in order to obtain authorization attributes to be embedded in X.509 proxy certificates, needed to access FedCloud sites.
  
 +
= Set the host environment =
  
 
* Edit the YAML service.properties file available in WEB.INF/classes folder and replace the STORAGE_DIR: /home/"user_name"/fhnmanager path with user home path (e.g., STORAGE_DIR: /home/ngalante/fhnmanager); such file will contain the persistency of nodes created by using the service.  
 
* Edit the YAML service.properties file available in WEB.INF/classes folder and replace the STORAGE_DIR: /home/"user_name"/fhnmanager path with user home path (e.g., STORAGE_DIR: /home/ngalante/fhnmanager); such file will contain the persistency of nodes created by using the service.  
* An example of running service is accessible here: http://fedcloud.res.eng.it/fhn-manager-service/rest/*
+
* An example of running REST service is accessible here: http://fedcloud.res.eng.it/fhn-manager-service/rest/*
 +
 
 +
= Configuration Steps =

Revision as of 11:58, 3 May 2016

to be inserted some sign to portlet and the service details (installation, where the packages are located, how to add a cloud and so on)

The Federated Hosting Node Manager (FHNM) is the core part of the gCube-external infrastructures integration.


Usage

Maven coordinates

The maven artifact coordinates are:

<dependency>
   <groupId>org.gcube.resources.federation</groupId>
   <artifactId>fhn-manager-service</artifactId>
   <version>1.0.0-SNAPSHOT</version> 
   <packaging>war</packaging>
</dependency>

Deploy

  • Deploy war file to selected SmartGears Container (tomcat Webapp folder)

Generate VOMS proxy

  • Generate VOMS proxy in order to obtain authorization attributes to be embedded in X.509 proxy certificates, needed to access FedCloud sites.

Set the host environment

  • Edit the YAML service.properties file available in WEB.INF/classes folder and replace the STORAGE_DIR: /home/"user_name"/fhnmanager path with user home path (e.g., STORAGE_DIR: /home/ngalante/fhnmanager); such file will contain the persistency of nodes created by using the service.
  • An example of running REST service is accessible here: http://fedcloud.res.eng.it/fhn-manager-service/rest/*

Configuration Steps