Changes between Version 23 and Version 24 of HelloGENI
- Timestamp:
- 12/02/11 17:00:37 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HelloGENI
v23 v24 37 37 It is always a good measure to create a slice per experiment, so before we start reserving resources, we would need to create a slice for this experiment. If you have already setup your omni_config file, then follow these instructions for [http://groups.geni.net/geni/wiki/GENIExperimenter/ExperimentExample#Createaslice creating] and [http://groups.geni.net/geni/wiki/GENIExperimenter/ExperimentExample#Renewyourslice renewing] a slice. By default slices that are created with a ProtoGENI Clearing House, have an expiration time of 4 hours, that is why you need to renew it to a time that is sensible for your experiment. 38 38 39 For the purpose of this example, using this [attachment:omni_config] file, created a slice named hellogeni _slice40 {{{ 41 > src/omni.py createslice hellogeni _slice42 > src/omni.py renewslice hellogeni _slice 20110630T18:00:0039 For the purpose of this example, using this [attachment:omni_config] file, created a slice named hellogenislice 40 {{{ 41 > src/omni.py createslice hellogenislice 42 > src/omni.py renewslice hellogenislice 20110630T18:00:00 43 43 }}} 44 44 … … 72 72 From [wiki:GeniAggregate/ClemsonMyPlc this page], we get this aggregate's URL and using [attachment:myplc-clemson-hellogeni.rspec this rspec file], we can reserve a sliver in planetlab5: 73 73 {{{ 74 src/omni.py createsliver -n -a https://myplc.clemson.edu:12346 -n hellogeni _slice myplc-clemson-hellogeni.rspec74 src/omni.py createsliver -n -a https://myplc.clemson.edu:12346 -n hellogenislice myplc-clemson-hellogeni.rspec 75 75 }}} 76 76 The output should look like [attachment:myplc-clemson-hellogeni.out this]. … … 78 78 Use sliverstatus to figure out the login name : 79 79 {{{ 80 >src/omni.py sliverstatus -n -a https://myplc.clemson.edu:12346 hellogeni _slice80 >src/omni.py sliverstatus -n -a https://myplc.clemson.edu:12346 hellogenislice 81 81 }}} 82 82 … … 89 89 Your sliver should be ready within 1 min. If after 5 min you are not able to login to the host, delete your sliver and recreate it. If the problem persists email to the support email given in the aggregate page. 90 90 {{{ 91 src/omni.py deletesliver -n -a https://myplc.clemson.edu:12346 hellogeni _slice91 src/omni.py deletesliver -n -a https://myplc.clemson.edu:12346 hellogenislice 92 92 }}} 93 93 … … 105 105 From [wiki:GeniAggregate/GpoLabProtoGeni this page], we get this aggregate's URL and using [attachment:pg-bbn-hellogeni.rspec this rspec file], we can reserve pc11: 106 106 {{{ 107 src/omni.py createsliver -n -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogeni _slice pg-bbn-hellogeni.rspec107 src/omni.py createsliver -n -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogenislice pg-bbn-hellogeni.rspec 108 108 }}} 109 109 … … 112 112 Then we can do sliverstatus to find out the status of the sliver 113 113 {{{ 114 >src/omni.py sliverstatus -n -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogeni _slice114 >src/omni.py sliverstatus -n -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogenislice 115 115 }}} 116 116 … … 153 153 Based on the topology diagram above, at the GPO aggregate we would like to reserve resources related to IP subnet 10.42.130.0/24 on the two GPO switches for ports 1, 47 of the first switch and ports 20 and 3 on the second. [attachment:openflow-bbn-hellogeni.rspec This] is an rspec that requests these resources. From GPO's aggregate page we can also get the AM URL. 154 154 {{{ 155 src/omni.py createsliver -a https:// tulum.gpolab.bbn.com:1443/openflow/gapi/ -n hellogeni_slice openflow-bbn-hellogeni.rspec155 src/omni.py createsliver -a https://foam.gpolab.bbn.com:3626/foam/gapi/ -n hellogenislice openflow-bbn-hellogeni.rspec 156 156 }}} 157 157 … … 161 161 Based on the topology diagram above, at the Clemson aggregate we would like to reserve resources related to IP subnet 10.42.130.0/24 on the two clemson switch for ports 43 and 36. [attachment:openflow-clemson-hellogeni.rspec This] is an rspec that requests these resources. From Clemson's aggregate page we can also get the AM URL. 162 162 {{{ 163 src/omni.py createsliver -a https://expedient.clemson.edu:1443/openflow/gapi/ hellogeni _slice openflow-clemson-hellogeni.rspec163 src/omni.py createsliver -a https://expedient.clemson.edu:1443/openflow/gapi/ hellogenislice openflow-clemson-hellogeni.rspec 164 164 }}} 165 165 … … 169 169 Based on the topology diagram above, at the Clemson aggregate we would like to reserve resources related to IP subnet 10.42.130.0/24 on the two NLR switch for ports 25 and 26 on both. [attachment:openflow-nlr-hellogeni.rspec This] is an rspec that requests these resources. From NLR's aggregate page we can also get the AM URL. 170 170 {{{ 171 src/omni.py createsliver -n -a https://ofc-testlab.grnoc.iu.edu:1443/openflow/gapi/ hellogeni _slice openflow-nlr-hellogeni.rspec171 src/omni.py createsliver -n -a https://ofc-testlab.grnoc.iu.edu:1443/openflow/gapi/ hellogenislice openflow-nlr-hellogeni.rspec 172 172 }}} 173 173 … … 261 261 For each aggregate delete the OpenFlow sliver : 262 262 {{{ 263 src/omni.py deletesliver -a https://ofc-testlab.grnoc.iu.edu:1443/openflow/gapi/ hellogeni _slice264 src/omni.py deletesliver -a https:// tulum.gpolab.bbn.com:1443/openflow/gapi/ hellogeni_slice265 src/omni.py deletesliver -a https://expedient.clemson.edu:1443/openflow/gapi/ hellogeni _slice263 src/omni.py deletesliver -a https://ofc-testlab.grnoc.iu.edu:1443/openflow/gapi/ hellogenislice 264 src/omni.py deletesliver -a https://foam.gpolab.bbn.com:3626/foam/gapi/ hellogenislice 265 src/omni.py deletesliver -a https://expedient.clemson.edu:1443/openflow/gapi/ hellogenislice 266 266 }}} 267 267 … … 288 288 Invoke the delete sliver command 289 289 {{{ 290 src/omni.py deletesliver -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogeni _slice291 src/omni.py deletesliver -a https://myplc.clemson.edu:12346 hellogeni _slice290 src/omni.py deletesliver -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/am hellogenislice 291 src/omni.py deletesliver -a https://myplc.clemson.edu:12346 hellogenislice 292 292 }}} 293 293