Changes between Version 36 and Version 37 of GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup
- Timestamp:
- 08/14/14 18:14:06 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup
v36 v37 81 81 82 82 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. 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. (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) 84 84 85 85 [[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:export-to-file.jpg)]] … … 329 329 == e. Install Script == 330 330 331 Launch Flack for your slice, and import the RSpec `4node-v1.rspec` we just saved. 331 Launch Flack for your slice, and import the RSpec `4node-v1.rspec` we just saved. 332 332 333 333 Click '''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. … … 382 382 This 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. 383 383 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) 385 385 386 386 … … 399 399 }}} 400 400 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`. 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`. (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) 402 402 403 403 In 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. … … 407 407 408 408 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]. 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. 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 {{{ 412 sudo apt-get install iperf 413 }}} 414 415 416 Or, 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]. 412 417 413 418 [[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:4node-add-endhosts.png)]]