31 | | == 2.2 Balancing the Load == |
32 | | 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". [[BR]] |
33 | | If you did not find it, please log on to node "switch", download the load balancing controller by running: |
34 | | {{{ |
35 | | wget http://www.gpolab.bbn.com/experiment-support/OpenFlowExampleExperiment/ExoGENI/load-balancer.rb /root/ |
36 | | }}} |
| 31 | == 1.2 Run an example Load Balancing OpenFlow Controller == |
| 32 | An example OpenFlow Controller that assigns incoming TCP connections to alternating paths '''based on total number of flows''' is already downloaded for you. You can find it (load-balancer.rb) in the home directory of node "Switch". [[BR]] |
| 33 | - Log on to node "Switch", start this Load Balancer by executing the following: |
| 34 | {{{ |
| 35 | /opt/trema-trema-f995284/trema run /root/load-balancer.rb |
| 36 | }}} |
| 37 | - After you started your Load Balancer, you should be able to see the following (Switch id may vary): |
| 38 | {{{ |
| 39 | OpenFlow Load Balancer Conltroller Started! |
| 40 | Switch is Ready! Switch id: 196242264273477 |
| 41 | }}} |
| 42 | This means the OpenFlow Switch is connected to your controller and you can start testing your OpenFlow Load Balancer now. |