Changes between Version 2 and Version 3 of GIR3.2_DiCloud


Ignore:
Timestamp:
10/19/11 11:01:58 (13 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIR3.2_DiCloud

    v2 v3  
    11= !DiCloud Evaluation =
     2The [wiki:DICLOUD DiCloud] project delivered an integration milestone with [wiki:GushProto GUSH] supporting access to [wiki:ORCABEN ORCA] resources.
     3Instructions were fom the GUSH [http://gush.cs.williams.edu/trac/gush/wiki/OrcaExample Orca Example] page which walks through a scenario that uses ORCA, !ProtoGENI and !PlanetLab resources.
     4
     5Evaluation Time Frame: October 19, 2011
    26
    37= !DiCloud Findings =
     8Initially ran into problems accessing the ORCA aggregates.
     9
    410= !DiCloud How-to =
     11
     12Defined the omni_config setting to access the aggregates:
     13{{{
     14[omni]
     15users = lnevers
     16
     17[plc]
     18type=sfa
     19authority=plc.bbn
     20user=plc.bbn.lnevers
     21cert=~/.gcf/plc.bbn.lnevers.gid
     22key=~/.gcf/lnevers.pkey
     23registry=http://www.planet-lab.org:12345
     24slicemgr=http://www.planet-lab.org:12347
     25
     26[pg]
     27type=pg
     28ch = https://www.emulab.net:443/protogeni/xmlrpc/ch
     29sa = https://www.emulab.net:443/protogeni/xmlrpc/sa
     30cert = ~/.ssl/protogeni/encrypted-cleartext.pem
     31key = ~/.ssl/protogeni/encrypted-cleartext.pem
     32
     33[lnevers]
     34urn = urn:publicid:IDN+emulab.net+user+lnevers
     35keys=~/.ssh/id_rsa.pub
     36}}}
     37
     38Defined the directory.xml for each of the !PlanetLab, !ProtoGENI and ORCA resource managers:
     39{{{
     40<?xml version="1.0" encoding="UTF-8"?>
     41<gush>
     42    <resource_manager type="geni-plc">
     43      <port_map slice="bbn_gusheval" port="61414"/>
     44    </resource_manager>
     45  <resource_manager type="geni-orca">
     46     <port_map slice="gush-orca-ln" port="11400"/>
     47    </resource_manager>
     48  <resource_manager type="geni-pg">
     49     <port_map slice="lnevers3" port="61600"/>
     50    </resource_manager>
     51</gush>
     52}}}
     53
     54Created a slice for the experiment:
     55{{{
     56$ helper-scripts/handle-geni.py -n -f pg -a https://www.emulab.net/protogeni/xmlrpc/am createslice gush-orca-gir 
     57INFO:omni:Loading config file omni_config
     58INFO:omni:Using control framework pg
     59Created slice with Name gush-orca-gir, URN urn:publicid:IDN+emulab.net+slice+gush-orca-gir
     60}}}
     61
     62Defined an ORCA rspec file named orca.rpec:
     63{{{
     64<?xml version="1.0" encoding="UTF-8"?>
     65<rspec type="request" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
     66                                          http://www.protogeni.net/resources/rspec/2/request.xsd"
     67     xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
     68     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     69     xmlns="http://www.protogeni.net/resources/rspec/2">
     70 <node client_id="geni1">
     71  <sliver_type name="raw-pc">
     72    <disk_image name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" version="25f53b64cfe44dd1604447f04b
     737b533bb67dea1e" />
     74  </sliver_type>
     75  <services>
     76    <execute shell="sh" command="sudo hostname `cat /var/emulab/boot/realname`.`cat /var/emulab/boot/mydomain`"/>
     77  </services>
     78  <interface client_id="geni1:0">
     79     <ip address="172.16.1.1" netmask="255.255.0.0" />
     80  </interface>
     81 </node>
     82 <node client_id="geni2">
     83  <sliver_type name="raw-pc">
     84    <disk_image name="http://geni-images.renci.org/images/gush/gush-deb5-i386.xml" version="25f53b64cfe44dd1604447f04b
     857b533bb67dea1e" />
     86  </sliver_type>
     87  <services>
     88    <execute shell="sh" command="sudo hostname `cat /var/emulab/boot/realname`.`cat /var/emulab/boot/mydomain`"/>
     89  </services>
     90  <interface client_id="geni2:0" >
     91    <ip address="172.16.1.2" netmask="255.255.0.0" />
     92  </interface>
     93 </node>
     94 <link client_id="center">
     95   <interface_ref client_id="geni1:0" />
     96   <interface_ref client_id="geni2:0" />
     97 </link>
     98</rspec>
     99}}}
     100
     101Created a sliver with the GUSH handle-geni.py script:
     102{{{
     103$ helper-scripts/handle-geni.py -n -f pg -a https://geni.renci.org:11443/orca/xmlrpc createsliver gush-orca-gir orca.rpec
     104INFO:omni:Loading config file omni_config
     105INFO:omni:Using control framework pg
     106Asked https://geni.renci.org:11443/orca/xmlrpc to reserve resources. Result: Error encountered converting RSpec to NDL: org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection refused
     107}}}
     108