wiki:GENIEducation/SampleAssignments/OpenFlowLoadBalancerTutorial/ExerciseLayout

Version 8 (modified by shuang@bbn.com, 11 years ago) (diff)

--

OpenFlow LoadBalancer Tutorial

In this tutorial, we will show how do Load Balancing Flow Management using OpenFlow on GENI.

Overview

This Project leverages resources on the GENI aggregate in order to experiment with OpenFlow using the GENI Portal.
Please remember to release the resources you when you are done with them.
The following is the topology that you will be creating:
Note: The actual node you reserved is not the same as shown in the figure.

  • Load Balancing experiment:

  • We will implement a Load Balancer OpenFlow Controller using Trema.
  • Load balancing in computer networking is the division of network traffic between two or more network devices or paths, typically for the purpose of achieving higher total throughput than either one path, ensuring a specific maximum latency or minimum bandwidth to some or all flows, or similar purposes. For this tutorial, you will design a load-balancing OpenFlow controller capable of collecting flow status data from OpenFlow switches and using it to divide traffic between dissimilar network paths so as to achieve full bandwidth utilization.
  • For the purpose of this tutorial, data collection will be limited to the flow statistics reported by open vswitches.

Prerequisites

Tools

1. Trema
Each exercise in this assignment will require you to design and implement an OpenFlow controller. Numerous libraries and controller frameworks are available for this task. The guidelines in this assignment assume that you are using the Trema controller framework. The Trema project web site, http://trema.github.com/trema/, contains documentation, a number of helpful examples, and some tutorial material for learning to use Trema.

2. Traffic Control (tc)
The tc command is available in the GNU Linux distributions on GENI nodes, found in the /sbin directory. This command manipulates the Linux network forwarding tables, allowing for configuration of queuing disciplines, which change the policies controlling which packets are forwarded in what order and which are dropped; and network emulation, which allows the Linux kernel to emulate various network conditions such as delay or loss. These two effects are provided by the qdisc and netem subcommands, respectively. In these exercises, tc will be used to modify network conditions and enable different scheduling policies. Example command lines will be provided.

3. Iperf
Iperf is available on the GENI nodes, located at /usr/local/etc/emulab/emulab-iperf. Iperf is used to measure the bandwidth performance of Internet links. In these exercises, it is used to study the behavior of TCP in the face of changing link characteristics. Iperf runs as both a server and a client. The server is started with the -s command line option, and listens for connections from the client. The client is started with the -c <server> command line option, and connects to the server and sends data at either the fastest possible rate (given the underlying network) or a user-specified rate. The -u option causes the sender or receiver to use UDP instead of TCP. Various other options will be required for these exercises, and provided in the appropriate sections. All Iperf measurement data should be recorded from the TCP receiver (server) side.

How to get Help

  • Always ask your tutors (tutorial helper/presenter/TA) first. They are the fastest way to solve the problem.
  • If you are using a specific aggregate or tool, you should consider registering in their mailing list. It is a great way to get connected with other GENI users and it is an excellent source of wisdom.
  • Send mail to the GENI help list: help@geni.net.
  • If you want to chat real-time with other GENI users and ask questions, join us in a GENI chatroom.

Tutorial Instructions

Design/Setup
Execute
Finish

Attachments (2)

Download all attachments as: .zip