Changes between Version 36 and Version 37 of GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup


Ignore:
Timestamp:
08/14/14 18:14:06 (10 years ago)
Author:
xuan.liu@mail.umkc.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup

    v36 v37  
    8181
    8282
    83 Choose '''Save to file''' to export the RSpec. In this tutorial, we assume the file is saved to `4node-v1.rspec`, but you can choose any name as you like.
     83Choose '''Save to file''' to export the RSpec. In this tutorial, we assume the file is saved to `4node-v1.rspec`, but you can choose any name as you like. (You can download a sample RSpec for 4node-v1.rspec at [http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/4node-v1.rspec] here)
    8484
    8585[[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:export-to-file.jpg)]]
     
    329329== e. Install Script ==
    330330
    331 Launch Flack for your slice, and import the RSpec `4node-v1.rspec` we just saved.
     331Launch Flack for your slice, and import the RSpec `4node-v1.rspec` we just saved. 
    332332
    333333Click '''Import''' and select '''Import from file''' from the pull-down list, then select `4node-v1.rspec` from the location where you have just saved to, and confirm it. You will see the four-node topology on your canvas, and each node has been configured to have the custom image.
     
    382382This indicates that we can add custom image and postboot scripts by directly modifying the request RSpec, this is helpful when we have a larger topology.
    383383
    384 '''Save''' the RSpec as `4node-v2.rspec` at this stage, we will load this RSpec in the next step to get the same setup.
     384'''Save''' the RSpec as `4node-v2.rspec` at this stage, we will load this RSpec in the next step to get the same setup. (You can download a sample RSpec for 4node-v2.rspec at [http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/4node-v2.rspec] here)
    385385
    386386
     
    399399}}}
    400400
    401 After adding the new install script to every node, send the resource reservation request. When all nodes are ready to login,  we save the new modified RSpec as `4node-v3.rspec`.
     401After adding the new install script to every node, send the resource reservation request. When all nodes are ready to login,  we save the new modified RSpec as `4node-v3.rspec`. (You can download a sample RSpec for 4node-v3.rspec at [http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/4node-v3.rspec] here)
    402402
    403403In the next step, we will add two end hosts to current four-node topology, so now we can delete existing resources from the current slice.
     
    407407
    408408
    409 Once we have verified the routing functions for the virtual router, we add end hosts to validate the end-to-end communication.  As the figure shows below, we create the same four-node topology by loading `4node-v3.rspec` in Flack, and create two more VMs as a client and a server, and add two virtual links.  For client and server,  we select regular `Ubuntu 12.04` OS in the node information, so we need to install `iperf` separately. We can also write a script to install `iperf` to the client and server, and the script can be loaded as an install script.
    410 
    411 The install scripts for client and server can be downloaded from [http://geni-myvini.umkc.gpeni.net/resources/experiments/install_script.tar.gz here].
     409Once we have verified the routing functions for the virtual router, we add end hosts to validate the end-to-end communication.  As the figure shows below, we create the same four-node topology by loading `4node-v3.rspec` in Flack, and create two more VMs as a client and a server, and add two virtual links.  For client and server,  we select regular `Ubuntu 12.04` OS in the node information, so we need to install `iperf` separately. In this example, there are only two hosts need iperf installed, so one option is to login to each host, and manually install it by running
     410
     411{{{
     412sudo apt-get install iperf
     413}}}
     414
     415
     416Or, we can also write a script to install `iperf` to the client and server, load it as an install script by following the same steps as we just did for XORP. The install scripts for client and server can be downloaded from [http://geni-myvini.umkc.gpeni.net/resources/experiments/install_script.tar.gz here]. An sample RSpec with iperf install script and execute command can be downloaded at [http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/4node-v4.rspec 4node-v4.rspec].
    412417
    413418[[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:4node-add-endhosts.png)]]