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.

Difference between revisions of "HOWTO19"

From EGIWiki
Jump to navigation Jump to search
(Replaced content with "{{Template:Op menubar}} {{Template:Doc_menubar}} {{TOC_right}} Category:Operations_Manuals")
Line 1: Line 1:
{{Template:Op menubar}} {{Template:Doc_menubar}} {{TOC_right}}  
{{Template:Op menubar}} {{Template:Doc_menubar}} {{TOC_right}}  
[[Category:Operations_Manuals]]
[[Category:Operations_Manuals]]
= SLA validation for a VO configuration at a specific Resource Centre<br> =
== Testing OCCI server at a specific site with a specific VO<br> ==
<br>Create a VOMS proxy for the VO to be tested:&nbsp; <br>
<pre>[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
</pre>
<br>Get site OCCI endpoint from GOCDB: <br><br>
*TR-FC1-ULAKBIM -&gt; <br>
*https://goc.egi.eu/portal/index.php?Page_Type=Site&amp;id=982 -&gt;&nbsp; <br>
*check service "eu.egi.cloud.vm-management.occi" -&gt; <br>
*value is "http://fcctrl.ulakbim.gov.tr:8787/occi1.1?image=439e3478-df3f-4249-ac1b-28ae3933c09b&amp;platform=openstack&amp;resource=bc5ed503-c066-4d00-b99e-6bef76bcb732" -&gt; <br>
*trim the part before "?" -&gt; <br>
*'''"http://fcctrl.ulakbim.gov.tr:8787/occi1.1"'''
<br>Export it in the BASH env: <br>
<pre>[spinoso@<span style="background-color: navy; color: white;" />ui test_cloud]$ export ENDPOINT="http://fcctrl.ulakbim.gov.tr:8787/occi1.1"
</pre>
<br>Perform OCCI access to the endpoint using a simple OCCI command, like: <br>
<pre>[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]
</pre>

Revision as of 11:49, 1 September 2016

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:


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]