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


OpenFlow Load Balancer Tutorial

Image Map

1. Obtain resources

For this experiment we are going to use ExoGENI resources, we will need:

  • 6 VM (KVM): 2 (inside, outside) act as regular hosts; 2 (left, right) as regular switches; 2 (aggregator, switch) as OpenFlow switches (we will only program one: switch)

If you are attending a Tutorial, the resources might have already been reserved for you, check with your instructor and skip this step.

The various parts of the diagram are as follows:

  • Inside and Outside Nodes: These nodes can be any ExoGENI Virtual Nodes.
  • Switch: This node is a Linux host running Open vSwitch. Your Load Balancing OpenFlow Controller will be running on this node as well. This is the main node that you will be working on.
  • Traffic Shaping Nodes (Left and Right): These are Linux hosts with two network interfaces. You can configure netem on the two traffic shaping nodes to have differing characteristics; the specific values don’t matter, as long as they are reasonable. Use several different delay/loss combinations as you test your load balancer.
  • Aggregator: This node is a Linux host running Open vSwitch with a switch controller that will cause TCP connections to “follow” the decisions made by your OpenFlow controller on the Switch node. You will not need to change anything on this node, you only need to implement the OpenFlow controller on node "Switch".

You can use any reservation tool you want to reserve this topology:

1.1 Login to the GENI Portal

GENI Portal

1.2 Select Project and Create Slice

Create Slice

Create a slice in the Project GEC18. Give the slice a unique name. Preferably something with your username in it. e.g ubuntuovsgimi

1.3 Click on Add Resources and select RSpec

Select RSpec from drop down list under Add Resources.

No image "WC_scr2" attached to GENIEducation/SampleAssignments/WinterCamp14/GIMITutorial

For this tutorial we already have an RSpec created for you. Here, select WinterCampGIMI.
You can also upload your own RSpec.

No image "Portalgec18_3.png" attached to GENIEducation/SampleAssignments/WinterCamp14/GIMITutorial

Here you will need to select the InstaGENI racks assigned to you for the tutorial. This assignment is only done so that we can distribute VMs across different ExoGENI racks. Outside of this tutorial, you can use any of the following racks:

Click on Reserve Resources

1.4 Query for resources

Click on your slice name at the top and click on Resource Status. Once you see a READY on your resources, your slice is ready for experiments. You can refresh the page until you see READY.

Wait until ready

No image "Portal5.png" attached to GENIEducation/SampleAssignments/WinterCamp14/GIMITutorial

2. Configure iRODs

The iRODs or Integrated Rule-Oriented Datasystem is a directory structure used to archive all experiment related data such as scripts, manifest RSpecs, experiment results and so on.
Please click on this link to learn more about iRODs.

2.1 Create iRODs account

Login to your GENI Portal account and Click on the Profile tab on the top right corner of the page. Click on Tools.
At the bottom of the page, click on the Create iRODs button.

No image "Portal6.png" attached to GENIEducation/SampleAssignments/WinterCamp14/GIMITutorial

You will be redirected to another page with your iRODs Environment and also your temporary iRODs account password.

No image "Portal7.png" attached to GENIEducation/SampleAssignments/WinterCamp14/GIMITutorial

Important: Make sure you record your iRODS password. How to change your password is explained here.


Next: Run Experiment?

Attachments (3)

Download all attachments as: .zip