Version 7 (modified by, 5 years ago) (diff)


Scaling Up: How to Grow the Topology of an Existing Experiment

Image Map

1. Design the Experiment

  1. In today's experiment you will use resources at the aggregate listed on the worksheet. If you don't have a worksheet use Clemson InstaGENI (aka

2. Establish the Environment

2.1 Pre-work: Install geni-lib

  1. Install the geni-lib tool using the installation instructions for your operating system.

3. Obtain Resources

Now that you are a member of a project, you can create a slice and reserve resources.

3.1 Generate RSpec based on existing smaller topology

  1. This experiment already works using this [small topology]. Load (but do not reserve) this topology in your favorite to see what it looks like.
  2. Download this [config file] for the create_rspec tool distributed with geni-lib.
  3. Open the file using your favorite text editor (vi or emacs). Replace X with the value on your worksheet. If you are doing this outside a tutorial, replace X with 1.
  4. Run the rspec_gen script on the configuration file:
    ./ -r site.txt
  5. Look at the generated file using your favorite tools (less, more, emacs, vi).
    1. Can you find each node? Can you find the router node? The

host nodes?

  1. Which interface is the Shared VLAN on? Find where the IP

address for that interface is set and change the IP to be 10.100.Y.X where Y and X are provided on your worksheet. Or do in Jacks and download the IP address?

3.3 Reserve Two Virtual Machines at One Aggregate

The Portal is integrated with a tool, Flack, which allows you to draw topologies of GENI resources and then reserve them.

  1. On the Slice tab, press the Flack button. Flack will open in a new tab.
Launch Flack
Figure 3-3 Launch Flack
  1. Wait for Flack to load. You should see: your username, the slice name, and a list of aggregates. Flack should look like the picture to the right.
Figure 3-4 Flack after it has loaded.
  1. Find the aggregate listed on your worksheet.
  2. Click the VM box next to that aggregate and drag it onto the canvas.
  3. Repeat the above step. You should now see two VM boxes on the canvas.
  4. Now click near one of the VM boxes on the canvas, then click and drag towards the other VM. Release when you reach the other VM. You should now see a line and a box representing a link connecting the two VMs.
  5. The canvas should now look like the picture on the right.
  6. To edit the name of each VM, click the i in the circle.
Two VMs connected by a link.
Figure 3-5 Two VMs connected by a link.
  1. In the field at the top, replace "VM" with "client".
Relabel VM
Figure 3-6 Edit the name of the VM. Set the Sliver Type on ExoGENI racks.
  1. Now click on "Interfaces and Links" (this is the middle tab with the "link" symbol").
  2. Enter an IP Address for this node of
  3. Enter a Mask of
  4. Then Press "Apply" at the bottom of the screen.
  5. Repeat the above six steps for the second VM, labeling it "server" and setting the server's IP Address to and a Mask of
Relabel VM
Figure 3-7 Edit the IP Address and Mask of the VM.
  1. Click the Submit button near the bottom of the page. When prompted, confirm you want to actually reserve resources.
Two VMs connected by a link
Figure 3-8 Two VMs connected by a link.

3.4 Check Whether Virtual Machines are Ready to be Used

  1. After clicking the Submit button, wait for the canvas to turn green. (This may take awhile.)
  2. If the canvas doesn't eventually turn green, press the "Get Status" button (near the "Add Resources" button).
  3. The canvas should now look like the picture on the right.
Resources are ready
Figure 3-9 Reservation complete. Nodes are ready to login.


Next: Execute