Changes between Version 31 and Version 32 of GENIEducation/SampleAssignments/OpenFlowLoadBalancerTutorial/ExerciseLayout/Execute
- Timestamp:
- 07/10/13 16:39:41 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIEducation/SampleAssignments/OpenFlowLoadBalancerTutorial/ExerciseLayout/Execute
v31 v32 45 45 46 46 = 2. Implement a Load Balancing OpenFlow Controller = 47 - Files to download: [http://www.gpolab.bbn.com/experiment-support/OpenFlowExampleExperiment/load-balancer.rb load-balancer.rb] [[BR]]48 47 - We will implement a Load Balancer OpenFlow Controller on node "Switch" using Trema. [[BR]] 49 48 - 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 exercise, 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. [[BR]] … … 53 52 == 2.1 Experimental Setup == 54 53 [[Image(OpenFlowLBExo.png, 30%, nolink)]] [[BR]] 54 At this point, we assume that you have already created the topology, otherwise: [[BR]] 55 55 Follow instructions in the [http://groups.geni.net/geni/wiki/GENIEducation/SampleAssignments/OpenFlowLoadBalancerTutorial/ExerciseLayout/DesignSetup DesignSetup] step to build a load balancing experiment topology. Your GENI resources will be configured in a manner similar to the above figure. The various parts of the diagram are as follows: 56 56 - '''Inside and Outside Nodes''': These nodes can be any ExoGENI Virtual Nodes. 57 - '''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.57 - '''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'''. 58 58 - '''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. 59 59 - '''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. So leave this node alone, you only need to implement the OpenFlow controller on node "Switch". 60 60 61 61 == 2.2 Balancing the Load == 62 An example openflow controller that arbitrarily assigns incoming TCP connections to alternating paths can be found at [http://www.gpolab.bbn.com/experiment-support/OpenFlowExampleExperiment/load-balancer.rb load-balancer.rb]. [[BR]]63 Log on to node "switch", download the load balancing controller by running:62 An example OpenFlow Controller that arbitrarily assigns incoming TCP connections to alternating paths is already downloaded for you. You can find it in the home directory of node "Switch". 63 If you did not find it, please log on to node "switch", download the load balancing controller by running: 64 64 {{{ 65 65 wget http://www.gpolab.bbn.com/experiment-support/OpenFlowExampleExperiment/ExoGENI/load-balancer.rb /root/ 66 66 }}} 67 If you have already downloaded it on node "Switch", or found a file named "load-balancer.rb" in your home directory on node "Switch", ignore this.68 67 69 68 == 2.3 Use GIMI Portal to run the experiment and monitor the load balancer ==