wiki:ORCAExoGENITutorial

Version 1 (modified by hmussman@bbn.com, 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 (ExoGENI + other resources) spanning one or more sites, using custom OS boot images, provisioning QoS for network links and experimenting with SDNs.

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
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/ORCA/orcatuXX/ssh/orcatuXX.jks
ssh.key=/home/geni/Tutorials/ORCA/orcatuXX/ssh/orcatuXX-key
ssh.pubkey=/home/geni/Tutorials/ORCA/orcatuXX/ssh/orcatuXX-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.protogeni.net/resources/rspec/2
                                          http://www.protogeni.net/resources/rspec/2/request.xsd"
    xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://www.protogeni.net/resources/rspec/2">
<node client_id="geni1">
 <sliver_type name="m1.small">
   <disk_image
name="http://geni-images.renci.org/images/regression/regression-deb5-i386.xml"
version="ea80af6601a2a000ec5b050d7e7701f26db096fc" />
 </sliver_type>
 <interface client_id="geni1:0">
    <ip address="172.16.1.1" netmask="255.255.255.0" />
 </interface>
</node>
<node client_id="geni2">
 <sliver_type name="m1.large">
   <disk_image
name="http://geni-images.renci.org/images/regression/regression-deb5-i386.xml"
version="ea80af6601a2a000ec5b050d7e7701f26db096fc" />
 </sliver_type>
 <interface client_id="geni2:0" >
   <ip address="172.16.1.2" netmask="255.255.255.0" />
 </interface>
</node>
<link client_id="center">
  <interface_ref client_id="geni1:0" />
  <interface_ref client_id="geni2:0" />
</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/orcatuXX-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>
    

Attachments (4)