Difference between revisions of "HOWTO19"
Jump to navigation
Jump to search
SLA validation for a VO configuration at a specific Resource Centre
Testing OCCI server at a specific site with a specific VO
(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: <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 -> <br> | |||
*https://goc.egi.eu/portal/index.php?Page_Type=Site&id=982 -> <br> | |||
*check service "eu.egi.cloud.vm-management.occi" -> <br> | |||
*value is "http://fcctrl.ulakbim.gov.tr:8787/occi1.1?image=439e3478-df3f-4249-ac1b-28ae3933c09b&platform=openstack&resource=bc5ed503-c066-4d00-b99e-6bef76bcb732" -> <br> | |||
*trim the part before "?" -> <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:
- TR-FC1-ULAKBIM ->
- https://goc.egi.eu/portal/index.php?Page_Type=Site&id=982 ->
- check service "eu.egi.cloud.vm-management.occi" ->
- value is "http://fcctrl.ulakbim.gov.tr:8787/occi1.1?image=439e3478-df3f-4249-ac1b-28ae3933c09b&platform=openstack&resource=bc5ed503-c066-4d00-b99e-6bef76bcb732" ->
- trim the part before "?" ->
- "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]