Changes between Version 1 and Version 2 of GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup


Ignore:
Timestamp:
08/13/14 10:05:33 (10 years ago)
Author:
xliu@bbn.com
Comment:

--

Legend:

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

    v1 v2  
    3030Once we have installed the software on the VM, we may need to configure the software, and automate the configuration process for every node used in an experiment. For this tutorial, since we are setting a virtual routing environment, we will need to configure the routing protocol (e.g., OSPF protocol) for `XORP`. Again, let's start with the smallest reasonable topology, which is a four-router virtual topology as shown below. The reason that we chose the four-router topology is that we need at least one pair of routers that are not directly connected to each other and each router must have at least two virtual interfaces.
    3131
    32 [[Image(XuanSandbox/SmallTopo/DesignSetup:4node-config.png)]]
     32[[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:4node-config.png)]]
    3333
    3434
     
    4141Create four VMs from the same InstaGENI aggregate and add the links. Modify each VM's name and load the custom image by following [http://groups.geni.net/syseng/wiki/XuanSandbox/InstallSoftware#a4.LoadInstaGENICustomImage Load Custom Image].
    4242
    43 [[Image(XuanSandbox/SmallTopo/DesignSetup:4node-topo.png)]]
     43[[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:4node-topo.png)]]
    4444
    4545=== ii. Configure Virtual Interfaces ===
     
    4747Configure the virtual interfaces' IP addresses of each link by clicking [[Image(XuanSandbox/SmallTopo/DesignSetup:info.jpg)]] at the link icon.
    4848
    49 [[Image(XuanSandbox/SmallTopo/DesignSetup:lan-config.png, 50%, nolink)]]
     49[[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:lan-config.png, 50%, nolink)]]
    5050
    5151
     
    8383Choose '''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.
    8484
    85 [[Image(XuanSandbox/SmallTopo/DesignSetup:export-to-file.jpg)]]
     85[[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:export-to-file.jpg)]]
    8686
    8787
     
    315315Click '''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.
    316316
    317 [[Image(XuanSandbox/SmallTopo/DesignSetup:import-rspec-from-file.png)]]
    318 
    319 Now, we are ready to add an install script by editing the node property. For each node, click [[Image(XuanSandbox/SmallTopo/DesignSetup:info.jpg)]] to see the node information. By clicking [[Image(XuanSandbox/SmallTopo/DesignSetup:add-service-btn.png)]], we are able to add a service that usually refers to an install script. In this tutorial, we will enter the link ''http://geni-myvini.umkc.gpeni.net/resources/experiments/xorp_autostart.tar.gz'', and the install path is set as ''/local''. By clicking [[Image(XuanSandbox/SmallTopo/DesignSetup:add-exe-serv-btn.png)]], we can add the commend that execute the install script.
    320 
    321 [[Image(XuanSandbox/SmallTopo/DesignSetup:node-install-service.png)]]
     317[[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:import-rspec-from-file.png)]]
     318
     319Now, we are ready to add an install script by editing the node property. For each node, click [[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:info.jpg)]] to see the node information. By clicking [[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:add-service-btn.png)]], we are able to add a service that usually refers to an install script. In this tutorial, we will enter the link ''http://geni-myvini.umkc.gpeni.net/resources/experiments/xorp_autostart.tar.gz'', and the install path is set as ''/local''. By clicking [[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:add-exe-serv-btn.png)]], we can add the commend that execute the install script.
     320
     321[[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:node-install-service.png)]]
    322322
    323323Once we added the service and the execute service in Flack, apply the changes and submit the VM reservation request, the OSPF configuration file will be automatically created and the XORP will be started at each virtual router once it is initialized. Setting up the install script will automate installation or configuration process at every node's postboot stage, and we do not need to login to every node to run `start-xorp.sh` manually.
     
    393393The install scripts for client and server can be downloaded from [http://geni-myvini.umkc.gpeni.net/resources/experiments/install_script/ here].
    394394
    395 [[Image(XuanSandbox/SmallTopo/DesignSetup:4node-add-endhosts.png)]]
     395[[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:4node-add-endhosts.png)]]
    396396
    397397'''SAVE''' the new RSpec to `4node-v4.rspec`.