Changes between Version 5 and Version 6 of GEC17Agenda/AdvancedOpenFlow/Procedure/Execute


Ignore:
Timestamp:
07/19/13 23:00:13 (6 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC17Agenda/AdvancedOpenFlow/Procedure/Execute

    v5 v6  
    1919== 2. Configure and Initialize Services ==
    2020=== 2.1. Start a naive OpenFlow controller ===
    21   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 on node "Switch". [[BR]]
    22   - '''2.1.1''' Log on to node "Switch", wait until all interfaces are up and running. To check that all interfaces are configured issue "ifconfig", make sure eth1, eth2, eth3 are up and assigned with valid IP addresses. [[BR]]
    23   Start the example Load Balancer by executing the following:
     21 An example OpenFlow Controller that assigns incoming TCP connections to alternating paths '''based on total number of flows''' (round robin) is already downloaded for you. You can find it (load-balancer.rb) in the home directory on node "Switch". [[BR]]
     22  - '''2.1.1''' Log on to node "Switch",
     23  - '''2.1.2''' Check that all interfaces are configured: Issue `ifconfig` and make sure eth1, eth2, eth3 are up and assigned with valid IP addresses. [[BR]]
     24  - '''2.1.3''' Start the example Load Balancer by executing the following:
    2425  {{{
    2526  /opt/trema-trema-f995284/trema run /root/load-balancer.rb
    2627  }}}
    27   - '''2.1.2''' After you started your Load Balancer, you should be able to see the following (Switch id may vary):
     28  - '''2.1.4''' After you started your Load Balancer, you should be able to see the following (Switch id may vary):
    2829  {{{
    2930  OpenFlow Load Balancer Conltroller Started!
     
    7374 }}}
    7475 - '''3.2.4''' Go back to your !LabWiki web page, drag and drop the `file icon` and repeat the experiment, as described in section 2.2.4, using a different experiment name (the slice name should stay the same).
    75  - '''2.3.5''' When your experiment is finished, turn off your controller and disconnect switch from your controller:
     76 - '''3.4.5''' When your experiment is finished, turn off your controller and disconnect switch from your controller:
    7677      - On node "Switch", press "Ctrl" and "c" key to kill your Load Balancer process on node "Switch"
    7778      - On node "Switch", use the following command to disconnect the OpenFlow Switch from the controller:
     
    8081     }}}
    8182
    82  Questions:
     83==== Questions ====
    8384 - Did you see any difference from the graphs plotted on !LabWiki, compared with the graphs plotted in the first experiment? why?
    8485 - Check out the output of the Load Balancer on node "Switch" and tell how many flows are directed to the left path and how many are on the right path, why?
     
    101102  - On node "Switch", press "Ctrl" and "c" key to kill your Load Balancer process on node "Switch"
    102103
    103 == 3.4 Automate your experiment using !LabWiki ==
     104=== 3.4 Automate your experiment using !LabWiki ===
    104105 - '''3.4.1''' Add code in your !LabWiki script to automate starting and stoping your OpenFlow Controller:
    105106  - '''3.4.1.1''' Go back to your !LabWiki page, un-comment the script from line 184 to line 189 to start your OpenFlow Controller automatically on !LabWiki
     
    109110 - If you have more time or are interested in trying out things, go ahead and try section 3.5. The tutorial is over now and feel free to ask questions :-)
    110111
    111 == 3.5(Optional) Try different kinds of OpenFlow Load Balancers ==
     112=== 3.5(Optional) Try different kinds of OpenFlow Load Balancers ====
    112113 - You can find more load balancers under /tmp/load-balancer/ on node "Switch"
    113114 - To try out any one of them, follow the steps: