Changes between Version 13 and Version 14 of GIR3.1_GushProto


Ignore:
Timestamp:
04/29/11 12:38:54 (8 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIR3.1_GushProto

    v13 v14  
    1313
    1414The first and second evaluation completed found environment and packaging issues, which were resolved by the third evaluation.
    15 The third version delivered a version that build without environment issues as documented.
     15The third version delivered a version that build without environment issues as documented.  Additionally the third version (rev 141)
     16was used to manage both PL and PG resources.
    1617
    1718
     
    309310}}}
    310311
    311 
    312 Since the installation is as documented in the README.txt it is not captured here. 
    313 
    314 Next moved to ProtoGENI setup required to use the newly implemented Omni client features, instructions are available at the [http://gush.cs.williams.edu/trac/gush/wiki/ProtoGeniExample ProtoGENI Example] page.
    315 
    316 The following configurations were used in my experiment:
    317 
    318 '''To Be Captured '''
     312Since the installation is as documented in the README.txt it is not captured here.   Following are captures showing the use of GUSH within PlanetLab and ProtoGENI. All captured commands were completed using the following omni_config:
     313{{{
     314[omni]
     315default_cf = pg
     316users = lnevers
     317
     318# ---------- Users ----------
     319[lnevers]
     320urn = urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers
     321keys = ~/.ssh/id_rsa.pub
     322
     323# ---------- Frameworks ----------
     324[plc]
     325type=sfa
     326authority=plc.bbn
     327user=plc.bbn.lnevers
     328cert=~/.gcf/plc.bbn.lnevers.gid
     329key=~/.gcf/lnevers.pkey
     330registry=http://www.planet-lab.org:12345
     331slicemgr=http://www.planet-lab.org:12347
     332
     333[pg]
     334type = pg
     335ch = https://www.pgeni.gpolab.bbn.com:443/protogeni/xmlrpc/ch
     336sa = https://www.pgeni.gpolab.bbn.com:443/protogeni/xmlrpc/sa
     337cert = ~/.ssl/encrypted-cleartext.pem
     338key = ~/.ssl/encrypted-cleartext.pem
     339}}}
     340
     341Request sliver status for an existing PlanetLab slice:
     342
     343{{{
     344$ helper-scripts/handle-geni.py -f plc -a http://www.planet-lab.org:12346 sliverstatus bbn_gusheval
     345INFO:omni:Loading config file omni_config
     346INFO:omni:Using control framework plc
     347INFO:omni.sfa:SFA Registry: http://www.planet-lab.org:12345
     348INFO:omni.sfa:SFA Slice Manager: http://www.planet-lab.org:12347
     349INFO:omni:Sliver at http://www.planet-lab.org:12346:
     350<?xml version="1.0"?>
     351<gush>
     352        <slice name="bbn_gusheval">
     353                <expires>2011-05-29 11:01:47</expires>
     354                <user name=""/>
     355                <node name="miranda.planetlab.cs.umd.edu"/>
     356                <node name="node2.planetlab.mathcs.emory.edu"/>
     357                <node name="plnode-03.gpolab.bbn.com"/>
     358                <node name="osiris.planetlab.cs.umd.edu"/>
     359                <node name="node2.lbnl.nodes.planet-lab.org"/>
     360                <node name="node-2.mcgillplanetlab.org"/>
     361                <node name="dplanet2.uoc.edu"/>
     362                <node name="node2.planetlab.albany.edu"/>
     363                <node name="nis-planet2.doshisha.ac.jp"/>
     364                <node name="pl2.planet.cs.kent.edu"/>
     365                <node name="mtuplanetlab2.cs.mtu.edu"/>
     366                <node name="plnode-04.gpolab.bbn.com"/>
     367        </slice>
     368</gush>
     369}}}
     370
     371Create a slice which was being authenticated by the pgeni.gpolab.bbn.com clearing house with compute resources from both PlanetLab and Emulab.
     372
     3731. Get a list of resources available:
     374{{{
     375$ helper-scripts/handle-geni.py -n  -f pg -a https://www.emulab.net/protogeni/xmlrpc/am listresources >>emulab.txt
     376INFO:omni:Loading config file omni_config
     377INFO:omni:Using control framework pg
     378INFO:omni:Resources at https://www.emulab.net/protogeni/xmlrpc/am:
     379$ helper-scripts/handle-geni.py -n  -f pg -a http://www.planet-lab.org:12346 listresources >>planetlab-resources.txt
     380INFO:omni:Loading config file omni_config
     381INFO:omni:Using control framework pg
     382INFO:omni:Resources at http://www.planet-lab.org:12346:
     383}}}
     3842. Create rpsec based on available resources.
     385
     3863. Create a slice and get resources for both PlanetLab and Emulab:
     387{{{
     388$ helper-scripts/handle-geni.py -f pg createslice myslice
     389INFO:omni:Loading config file omni_config
     390INFO:omni:Using control framework pg
     391Created slice with Name myslice, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+myslice
     392
     393$ helper-scripts/handle-geni.py -n  -f pg -a https://www.emulab.net/protogeni/xmlrpc/am createsliver myslice emulab.rspec
     394INFO:omni:Loading config file omni_config
     395INFO:omni:Using control framework pg
     396Asked https://www.emulab.net/protogeni/xmlrpc/am to reserve resources. Result:
     397<?xml version="1.0" ?>
     398<rspec type="request" xmlns="http://www.protogeni.net/resources/rspec/0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/0.1 http://www.protogeni.net/resources/rspec/0.1/request.xsd"> 
     399   <node component_manager_urn="urn:publicid:IDN+emulab.net+authority+cm" component_manager_uuid="28a10955-aa00-11dd-ad1f-001143e453fe" component_urn="urn:publicid:IDN+emulab.net+node+pc485" component_uuid="1f7645ca-27e7-11df-8633-001143e453fe" exclusive="1" hostname="pc485.emulab.net" sliver_urn="urn:publicid:IDN+emulab.net+sliver+38450" sliver_uuid="3dd3588d-727b-11e0-b35d-001143e453fe" sshdport="22" virtual_id="geni1" virtualization_subtype="raw" virtualization_type="emulab-vnode">   
     400       <disk_image name="urn:publicid:IDN+emulab.net+image+emulab-ops//FEDORA10-STD"/>   
     401     <services>      <login authentication="ssh-keys" hostname="pc485.emulab.net" port="22" username="lnevers"/>    </services>  </node> 
     402   <node component_manager_urn="urn:publicid:IDN+emulab.net+authority+cm" component_manager_uuid="28a10955-aa00-11dd-ad1f-001143e453fe" component_urn="urn:publicid:IDN+emulab.net+node+pc499" component_uuid="a58f6b18-27e2-11df-8633-001143e453fe" exclusive="1" hostname="pc499.emulab.net" sliver_urn="urn:publicid:IDN+emulab.net+sliver+38451" sliver_uuid="3e6f903a-727b-11e0-b35d-001143e453fe" sshdport="22" virtual_id="geni2" virtualization_subtype="raw" virtualization_type="emulab-vnode">   
     403       <disk_image name="urn:publicid:IDN+emulab.net+image+emulab-ops//FEDORA10-STD"/>   
     404     <services>      <login authentication="ssh-keys" hostname="pc499.emulab.net" port="22" username="lnevers"/>    </services>  </node> 
     405</rspec>
     406
     407$ helper-scripts/handle-geni.py -n  -f pg -a http://www.planet-lab.org:12346 createsliver myslice planet-rspec.txt
     408INFO:omni:Loading config file omni_config
     409INFO:omni:Using control framework pg
     410Asked http://www.planet-lab.org:12346 to reserve resources. Result: <?xml version="1.0"?>
     411<RSpec type="SFA">
     412  <network name="plc">
     413    <site id="rit">
     414      <name>RIT</name>
     415      <node id="n11503">
     416        <hostname>"planet2.cs.rit.edu</hostname>
     417        <sliver />
     418      </node>
     419    </site>
     420    <site id="williams">
     421      <name>Williams College</name>
     422      <node id="n10860">
     423        <hostname>planetlab3.williams.edu</hostname>
     424        <sliver />
     425      </node>
     426    </site>
     427    <site id="bbn">
     428      <name>BBN Technologies</name>
     429      <node id="n13627">
     430        <hostname>plnode-03.gpolab.bbn.com</hostname>
     431        <sliver />
     432      </node>
     433    </site>
     434  </network>
     435</RSpec>
     436
     437INFO:omni:Please run the omni sliverstatus call on your slice to determine your login name to PL resources
     438}}}
     439
     4404. Get slicer status and adjust slice expiration is possible:
     441{{{
     442$ helper-scripts/handle-geni.py -f pg -a http://www.planet-lab.org:12346 sliverstatus   (syntax problem unresolved)
     443$ helper-scripts/handle-geni.py -f pg -a https://www.emulab.net/protogeni/xmlrpc/am sliverstatus myslice
     444INFO:omni:Loading config file omni_config
     445INFO:omni:Using control framework pg
     446INFO:omni:Sliver at https://www.emulab.net/protogeni/xmlrpc/am:
     447<?xml version="1.0"?>
     448<gush>
     449        <slice name="myslice">
     450                <expires>2011-04-29 16:09:36</expires>
     451                <user name=""/>
     452                <node name="pc499.emulab.net"/>
     453                <node name="pc485.emulab.net"/>
     454        </slice>
     455</gush>
     456$ helper-scripts/handle-geni.py -f pg -a https://www.emulab.net/protogeni/xmlrpc/am renewslice myslice  "2011-04-30 16:09:36"
     457INFO:omni:Loading config file omni_config
     458INFO:omni:Using control framework pg
     459INFO:omni.protogeni:requesting new expiration '2011-04-30T16:09:36'
     460Slice myslice now expires at 2011-04-30 16:09:36
     461$ helper-scripts/handle-geni.py -f pg -a http://www.planet-lab.org:12346 renewslice myslice  "2011-04-30 16:09:36"
     462INFO:omni:Loading config file omni_config
     463INFO:omni:Using control framework pg
     464INFO:omni.protogeni:requesting new expiration '2011-04-30T16:09:36'
     465Slice myslice now expires at 2011-04-30 16:09:36
     466}}}
     467
     468Using hte following directory.xml:
     469{{{
     470<?xml version="1.0" encoding="UTF-8"?>
     471<gush>
     472    <resource_manager type="geni">
     473      <port_map slice="bbn_gusheval" port="61414"/>
     474    </resource_manager>
     475    <resource_manager type="geni-pg">
     476      <port_map slice="luisa" port="61666"/>
     477    </resource_manager>
     478</gush>
     479}}}
     480Note: "geni"=PlanetLab and "geni-pg"=ProtoGENI
     481
     4825. Used gush to manage nodes:
     483{{{
     484$  ./gush -P 15555
     485gush> Gush has learned about the slice bbn_gusheval.
     486Gush has learned about the slice myslice.
     487Updated information on the slice bbn_gusheval is available.
     488Updated information on the slice myslice is available.
     489    gush> connect slice myslice
     490    Error: Unknown slice name.
     491    gush>   ???
     492}}}
     493
     494
    319495
    320496