Changes between Version 1 and Version 2 of GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup
- Timestamp:
- 08/13/14 10:05:33 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup
v1 v2 30 30 Once 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. 31 31 32 [[Image( XuanSandbox/SmallTopo/DesignSetup:4node-config.png)]]32 [[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:4node-config.png)]] 33 33 34 34 … … 41 41 Create 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]. 42 42 43 [[Image( XuanSandbox/SmallTopo/DesignSetup:4node-topo.png)]]43 [[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:4node-topo.png)]] 44 44 45 45 === ii. Configure Virtual Interfaces === … … 47 47 Configure the virtual interfaces' IP addresses of each link by clicking [[Image(XuanSandbox/SmallTopo/DesignSetup:info.jpg)]] at the link icon. 48 48 49 [[Image( XuanSandbox/SmallTopo/DesignSetup:lan-config.png, 50%, nolink)]]49 [[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:lan-config.png, 50%, nolink)]] 50 50 51 51 … … 83 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. 84 84 85 [[Image( XuanSandbox/SmallTopo/DesignSetup:export-to-file.jpg)]]85 [[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:export-to-file.jpg)]] 86 86 87 87 … … 315 315 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. 316 316 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 319 Now, 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)]] 322 322 323 323 Once 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. … … 393 393 The install scripts for client and server can be downloaded from [http://geni-myvini.umkc.gpeni.net/resources/experiments/install_script/ here]. 394 394 395 [[Image( XuanSandbox/SmallTopo/DesignSetup:4node-add-endhosts.png)]]395 [[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:4node-add-endhosts.png)]] 396 396 397 397 '''SAVE''' the new RSpec to `4node-v4.rspec`.