Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

HOWTO19

From EGIWiki
Revision as of 12:01, 1 September 2016 by Spinoso (talk | contribs)
Jump to navigation Jump to search
Main EGI.eu operations services Support Documentation Tools Activities Performance Technology Catch-all Services Resource Allocation Security


Documentation menu: Home Manuals Procedures Training Other Contact For: VO managers Administrators



SLA validation for a VO configuration at a specific Resource Centre

Testing OCCI server at a specific site with a specific VO


Create a VOMS proxy for the VO to be tested: 

[spinoso@<span style="background-color: navy; color: white;" />ui test_cloud]$ voms-proxy-init -voms vo.nbis.se  --rfc
Enter GRID pass phrase for this identity:
Contacting voms2.grid.cesnet.cz:15033 [/DC=org/DC=terena/DC=tcs/C=CZ/ST=Hlavni mesto Praha/L=Praha 6/O=CESNET/CN=voms2.grid.cesnet.cz] "vo.nbis.se"...
Remote VOMS server contacted succesfully.
Created proxy in /tmp/x509up_u500.
Your proxy is valid until Thu Sep 01 23:10:35 CEST 2016


Get site OCCI endpoint from GOCDB:

  1. site is TR-FC1-ULAKBIM
  2. on GOCDB: https://goc.egi.eu/portal/index.php?Page_Type=Site&id=982 
  3. check for service eu.egi.cloud.vm-management.occi
  4. value is http://fcctrl.ulakbim.gov.tr:8787/occi1.1?image=439e3478-df3f-4249-ac1b-28ae3933c09b&platform=openstack&resource=bc5ed503-c066-4d00-b99e-6bef76bcb732
  5. trim the part before "?"
  6. "http://fcctrl.ulakbim.gov.tr:8787/occi1.1"


Export it in the BASH env:

[spinoso@<span style="background-color: navy; color: white;" />ui test_cloud]$ export ENDPOINT="http://fcctrl.ulakbim.gov.tr:8787/occi1.1"


Perform OCCI access to the endpoint using a simple OCCI command, like:

[spinoso@<span style="background-color: navy; color: white;" />ui test_cloud]$ /opt/occi-cli/bin/occi --endpoint $ENDPOINT --auth x509 --user-cred /tmp/x509up_u500 --voms --action describe --resource os_tpl
########################################################################################################################################################################################################################################
[[ http://schemas.openstack.org/template/os#661a2b1e-8a10-4ed2-ae6b-5a56c50e62bc ]]
title:        Ubuntu-TrustyServer
term:         661a2b1e-8a10-4ed2-ae6b-5a56c50e62bc
location:     /occi1.1/os_tpl/661a2b1e-8a10-4ed2-ae6b-5a56c50e62bc
[cut]