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
Line 1: | Line 1: | ||
{{Template:Op menubar}} {{Template:Doc_menubar}} {{TOC_right}} | {{Template:Op menubar}} {{Template:Doc_menubar}} {{TOC_right}} | ||
= 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 | |||
<br>Create a VOMS proxy for the VO to be tested: <br> | |||
<pre>[spinoso@ | |||
Enter GRID pass phrase for this identity: | 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"... | 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"... | ||
Line 14: | Line 12: | ||
Created proxy in /tmp/x509up_u500. | Created proxy in /tmp/x509up_u500. | ||
Your proxy is valid until Thu Sep 01 23:10:35 CEST 2016 | Your proxy is valid until Thu Sep 01 23:10:35 CEST 2016 | ||
</pre> | </pre> | ||
<br>Get site OCCI endpoint from GOCDB: <br><br> | <br>Get site OCCI endpoint from GOCDB: <br><br> | ||
#site is TR-FC1-ULAKBIM<span style="background-color: navy; color: white;" /> <br> | |||
#on GOCDB: https://goc.egi.eu/portal/index.php?Page_Type=Site&id=982<span style="background-color: navy; color: white;" /> <br> | |||
#check for service ''eu.egi.cloud.vm-management.occi''<span style="background-color: navy; color: white;" /> <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''<span style="background-color: navy; color: white;" /> <br> | |||
#trim the part before "?"<span style="background-color: navy; color: white;" /> <br> | |||
#'''"http://fcctrl.ulakbim.gov.tr:8787/occi1.1"''' | |||
<br>Export it in the BASH env: <br> | <br>Export it in the BASH env: <br> | ||
<pre>[spinoso@ | <pre>[spinoso@<span style="background-color: navy; color: white;" />ui test_cloud]$ export ENDPOINT="http://fcctrl.ulakbim.gov.tr:8787/occi1.1" | ||
</pre> | </pre> | ||
<br>Perform OCCI access to the endpoint using a simple OCCI command, like: <br> | <br>Perform OCCI access to the endpoint using a simple OCCI command, like: <br> | ||
<pre>[spinoso@ | <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 ]] | [[ http://schemas.openstack.org/template/os#661a2b1e-8a10-4ed2-ae6b-5a56c50e62bc ]] | ||
Line 37: | Line 35: | ||
</pre> | </pre> | ||
[[Category:Operations_Manuals]] |
Revision as of 12:01, 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:
- site is TR-FC1-ULAKBIM
- on GOCDB: https://goc.egi.eu/portal/index.php?Page_Type=Site&id=982
- check for 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]