'''This page is obsolete, please refer to the [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy Systematic Experimental Design] page for a newer version using XORP router''' == Case Study from "Creating Repeatable Computer Science and Networking Experiments on Shared, Public Testbeds" == == Reproduce the 4-router case study == 1. Reserve the 4-router topology: a. If you have a GENI account you can reserve the [http://groups.geni.net/geni/raw-attachment/wiki/PaperOSRMethodology/4node-v4.mod.rspec RSpec] at any InstaGENI aggregate following [wiki:PaperOSRMethodology/Design these instructions]. * In particular the 4-node, single aggregate topology is available via the portal as '''OSPF 4-node (InstaGENI)'''. It should be possible to reserve it at any InstaGENI aggregate. {{{ #!comment b. If you don't have a GENI account you can try [https://www.aptlab.net/instantiate.php?profile=OSRRepeatExp&project=geni instantiating a 4-node topology] using a guest account on [https://www.aptlab.net Apt] (this is under development; the topology loads but the experiment hasn't been fully tested on apt) * The exercise works better if you choose to upload your `SSH` public key and login to the router nodes using your own `SSH` client. }}} 1. [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/Execute Send traffic and bring interfaces and nodes up and down]. = Reproduce scaled up and multi-site case study topologies = 1. Using the [wiki:PaperOSRMethodology/Design same instructions] as above, reserve the 7-router topology at either a [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OldTutorials/PaperOSRMethodology/7router-1am-xorp-labwiki.unbound.rspec single aggregate] or spread across [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OldTutorials/PaperOSRMethodology/7router-3am-xorp-labwiki-stitching.rspec three-aggregates] * The 7-node, single aggregate topology is loaded in the portal as '''OSPF 7-node (InstaGENI)''' * The 7-node, three aggregate topology is loaded in the portal as '''OSPF 7-node 3-aggregate (InstaGENI)''' 1. Send traffic and bring interfaces and nodes up and down [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/Execute as before]. * The [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/Execute previous instructions] were customized to the 4-node topology. * Use the actual IP address of the server node (`192.168.11.101`) for the `ping`, `traceroute`, and both `iperf` commands. * When bringing down the router and it's interfaces, pick a router that appears in the path between `client` and `server` as shown by the `traceroute` command. - For example, if `traceroute` reports the path used as `router-1 -> router-3 -> router-5 -> router-7` then consider bringing down interfaces on `router-3`. - Check that the interface that you are bringing down is on the four router path shown by `traceroute`. - For example, `eth1` might have IP address `10.10.3.2` which connects to `router-2`. So you would then bring down `eth1` using `ifconfig`. * After you bring down `router-3`, the path shown by `traceroute` might look like `router-1 -> router-2 -> router-4 -> router-7`. == Step-by-Step: How to reconstruct the experiment artifacts == The following instructions assume you have a [wiki:SignMeUp GENI account]. [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy Step-by-step instructions to recreate each step of the case study] is broken into three parts: * [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/InstallSoftware How to create the XORP VM image] * [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo How to manually configure the trivial 4-node topology] Note that the RSpecs shown in this section are bound. * [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/ScalingUp How to scale up the experiment] Other materials: * [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/InstallSoftware How to create the XORP VM image] * [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OldTutorials/PaperOSRMethodology/ Contents of repoditory containing experiment artifacts] including: * [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OldTutorials/PaperOSRMethodology/start-xorp.sh start-xorp.sh] - script to generate OSPF configuration file and start XORP Relies on: * https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OldTutorials/PaperOSRMethodology/ospfd-conf-gen.awk] - script to generate OSPF configuration file on any node * [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OldTutorials/PaperOSRMethodology/vm_info.txt.example example vm_info.txt input file] * [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OldTutorials/PaperOSRMethodology/ example OSPF config file output by the script] * [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OldTutorials/PaperOSRMethodology/xorp_log.sh xorp_log.sh] - script to periodically compare current routing table state to previous routing table state