wiki:ORCAExoGENITutorial

Version 7 (modified by Ilia Baldine, 12 years ago) (diff)

--

ORCA/ExoGENI Tutorial: Experimenting with virtual embedded network topologies across widely-dispersed networked clouds

Session Leaders

Ilia Baldine, RENCI

Agenda / Details

The tutorial will cover creating experimental virtual network topologies within ORCA networked cloud eco-system.

Tutorial Materials

Tutorial presentation is attached to this page. Here we list some of the relevant commands or configuration files.

$HOME/.flukes.properties

# Do not change these
orca.xmlrpc.url=https://geni.renci.org:11443/orca/xmlrpc,https://rci-hn.exogeni.net:11443/orca/xmlrpc,https://bbn-hn.exogeni.net:11443/orca/xmlrpc,https://nicta-hn.exogeni.net:11443/orca/xmlrpc
ssh.options=-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -X
xterm.path=/usr/bin/xterm

# replace XX with your user index (with leading 0, if necessary)
user.keystore=~/Tutorials/GIMI/gimiXX/ssh/gimiXX.jks
ssh.key=/home/geni/Tutorials/GIMI/gimiXX/ssh/gimiXX-key
ssh.pubkey=/home/geni/Tutorials/GIMI/gimiXX/ssh/gimiXX-key.pub

OMNI RSpec

Simple two-node RSpec (also attached to this page).

<?xml version="1.0" encoding="UTF-8"?>
<rspec type="request" 
	xsi:schemaLocation="http://www.geni.net/resources/rspec/3 
	          	    http://www.geni.net/resources/rspec/3/request.xsd
                            http://www.protogeni.net/resources/rspec/ext/shared-vlan/1
                            http://www.protogeni.net/resources/rspec/ext/shared-vlan/1/request.xsd"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xmlns:s="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1"
	xmlns="http://www.geni.net/resources/rspec/3">

<node client_id="geni1" component_manager_id="urn:publicid:IDN+bbnvmsite+authority+cm">
<sliver_type name="m1.small">
<disk_image name="http://geni-images.renci.org/images/standard/debian/debian-squeeze-amd64-neuca-2g.zfilesystem.sparse.v0.2.xml" version="397c431cb9249e1f361484b08674bc3381455bb9" />
</sliver_type>
<interface client_id="geni1:if0">
<ip address="172.16.2.1" netmask="255.255.255.0" />
</interface>
</node>

<node client_id="geni2" component_manager_id="urn:publicid:IDN+bbnvmsite+authority+cm">
<sliver_type name="m1.small">
<disk_image name="http://geni-images.renci.org/images/standard/debian/debian-squeeze-amd64-neuca-2g.zfilesystem.sparse.v0.2.xml" version="397c431cb9249e1f361484b08674bc3381455bb9" />
</sliver_type>
<interface client_id="geni2:if0" >
   <ip address="172.16.2.2" netmask="255.255.255.0" />
 </interface>
</node>

<link client_id="local">
  <interface_ref client_id="geni1:if0" />
  <interface_ref client_id="geni2:if0" />
</link>

</rspec>

OMNI Commands for slice workflow

  • Create slice
    $ omni.py -c omni_config -a https://geni.renci.org:11443/orca/xmlrpc createslice <slice name e.g. tutorialXX>
    
  • Create sliver in ORCA
    $ omni.py -c omni_config -a https://geni.renci.org:11443/orca/xmlrpc -n createsliver <slice name> two-node.rspec
    
  • Poll for sliver status
    $ omni.py -c omni_config -a https://geni.renci.org:11443/orca/xmlrpc sliverstatus <slice name>
    
  • After sliver status turns 'ready', list resources in the slice
    $ omni.py -c omni_config -a https://geni.renci.org:11443/orca/xmlrpc listresources <slice name>
    
  • Using IP addresses login to node(s)
    $ ssh -i ssh/gimiXX-key root@<ip address from manifest>
    
  • Delete sliver/slice
    $ omni.py -c omni_config -a https://geni.renci.org:11443/orca/xmlrpc deletesliver <slice name>
    

Sample sliverstatus output

INFO:omni:{'geni_resources': [{'geni_status': 'Ticketed',
                     'geni_urn': 'urn:publicid:IDN+exogeni.net:nictavmsite+sliver+1f2c579e-5388-4302-8b94-69d52ab6c6e4#geni2',
                     'orca_expires': 'Tue Jul 10 14:26:03 UTC 2012'},
                    {'geni_status': 'Ticketed',
                     'geni_urn': 'urn:publicid:IDN+exogeni.net:nictavmsite+sliver+1f2c579e-5388-4302-8b94-69d52ab6c6e4#geni1',
                     'orca_expires': 'Tue Jul 10 14:26:03 UTC 2012'},
                    {'geni_status': 'Active',
                     'geni_urn': 'urn:publicid:IDN+exogeni.net:nictavmsite+sliver+1f2c579e-5388-4302-8b94-69d52ab6c6e4#local',
                     'orca_expires': 'Tue Jul 10 14:26:03 UTC 2012'}],
 'geni_status': 'configuring',
 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+test-tut-03'}
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed sliverstatus:

Sample listresources output

<rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns:ns3="http://www.geni.net/resources/rspec/ext/slice-info/1" xmlns:ns4="http://www.geni.net/resources/rspec/ext/sliver-info/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd http://www.geni.net/resources/rspec/ext/slice-info/1 http://www.geni.net/resources/rspec/ext/slice-info/1/slice_info.xsd http://www.geni.net/resources/rspec/ext/sliver-info/1 http://www.geni.net/resources/rspec/ext/sliver-info/1/sliver_info.xsd">  
      <node client_id="9bf691c6-fe4f-4ae0-81e0-264db0971857#geni1" component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am" exclusive="true" sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+9bf691c6-fe4f-4ae0-81e0-264db0971857#geni1">    
            <sliver_type name="m1.small">      
                  <disk_image name="http://geni-images.renci.org/images/standard/debian/debian-squeeze-amd64-neuca-2g.zfilesystem.sparse.v0.2.xml" version="397c431cb9249e1f361484b08674bc3381455bb9"/>      
            </sliver_type>    
            <services>      
                  <login authentication="ssh-keys" hostname="192.1.242.9" port="22" username="root"/>      
            </services>    
            <interface client_id="9bf691c6-fe4f-4ae0-81e0-264db0971857#geni1:if1"/>    
            <interface client_id="9bf691c6-fe4f-4ae0-81e0-264db0971857#geni1:if2"/>    
            <ns4:geni_sliver_info creation_time="2012-07-09T14:13:25.709Z" creator_urn="urn:publicid:IDN+pgeni.gpolab.bbn.com+user+gimi01" expiration_time="2012-07-10T14:13:25.709Z" start_time="2012-07-09T14:13:25.709Z" state="Active"/>    
      </node>  
      <node client_id="9bf691c6-fe4f-4ae0-81e0-264db0971857#geni2" component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am" exclusive="true" sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+9bf691c6-fe4f-4ae0-81e0-264db0971857#geni2">    
            <sliver_type name="m1.small">      
                  <disk_image name="http://geni-images.renci.org/images/standard/debian/debian-squeeze-amd64-neuca-2g.zfilesystem.sparse.v0.2.xml" version="397c431cb9249e1f361484b08674bc3381455bb9"/>      
            </sliver_type>    
            <services>      
                  <login authentication="ssh-keys" hostname="192.1.242.8" port="22" username="root"/>      
            </services>    
            <interface client_id="9bf691c6-fe4f-4ae0-81e0-264db0971857#geni2:if1"/>    
            <interface client_id="9bf691c6-fe4f-4ae0-81e0-264db0971857#geni2:if2"/>    
            <ns4:geni_sliver_info creation_time="2012-07-09T14:13:25.709Z" creator_urn="urn:publicid:IDN+pgeni.gpolab.bbn.com+user+gimi01" expiration_time="2012-07-10T14:13:25.709Z" start_time="2012-07-09T14:13:25.709Z" state="Active"/>    
      </node>  
      <link client_id="9bf691c6-fe4f-4ae0-81e0-264db0971857#local" sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+9bf691c6-fe4f-4ae0-81e0-264db0971857#local" vlantag="2">    
            <interface_ref client_id="9bf691c6-fe4f-4ae0-81e0-264db0971857#geni2:if2"/>    
            <interface_ref client_id="9bf691c6-fe4f-4ae0-81e0-264db0971857#geni1:if1"/>    
            <ns4:geni_sliver_info creation_time="2012-07-09T14:13:25.709Z" creator_urn="urn:publicid:IDN+pgeni.gpolab.bbn.com+user+gimi01" expiration_time="2012-07-10T14:13:25.709Z" start_time="2012-07-09T14:13:25.709Z" state="Active"/>    
      </link>  
      <ns3:geni_slice_info state="unknown" urn="urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+test-tut-02" uuid="29baf89c-058a-42fb-ab55-ac1b63e049ae"/>  
</rspec>

Attachments (4)