Changes between Version 54 and Version 55 of GEC17Agenda/AdvancedOpenFlow/Procedure/Execute


Ignore:
Timestamp:
03/09/14 21:46:30 (10 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

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

    v54 v55  
    6666[[Image(labwikinew2.png, 80%)]]
    6767
    68 Copy the contents of the script from [wiki:GEC17Agenda/AdvancedOpenFlow/Procedure/Appendices#A.LabWikiScriptfortheLoadBalancer Appendix A] and paste it in LabWiki.
     68Copy the contents of the script from [wiki:GEC17Agenda/AdvancedOpenFlow/Procedure/Appendices#A.LabWikiScriptfortheLoadBalancer Appendix A] and paste it in !LabWiki.
     69
     70== 3. Run your experiment ==
    6971
    7072
    7173
    72    - '''2.3.2''' On the terminal where you are logged in on node "Switch", rerun "ifconfig" to see the IP addresses on each interface.
    73     [[BR]]
    74    - '''2.3.3''' Identify the two interfaces that you want to monitor: the interfaces with IP addresses 192.168.2.1(left) and 192.168.3.1(right) respectively. On the !LabWiki page, in your ruby script, find the following lines:
    75 {{{
    76 ###### Change the following to the correct interfaces ######
    77 left = 'eth1'
    78 right = 'eth3'
    79 ###### Change the above to the correct interfaces ######
    80 }}}
    81    - '''2.3.4''' Change eth1 and eth3 to the corresponding two interfaces you found with IP addresses 192.168.2.1 (the interface that connects to the left path) and 192.168.3.1 (the interface that connects to the right path) and press the "save" icon on your !LabWiki page.
    82 
    83 == 3. Run your experiment ==
    84 
    85 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]]
    86 
    87 After you started your Load Balancer, you should be able to see the following (Switch id may vary):
    88   {{{
     74=== 3.1 Start your experiment with existing configuration ===
     75   - '''3.1.1''' Start the controller on switch. 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]]
     76   After you started your Load Balancer, you should be able to see the following (Switch id may vary):
     77   {{{
    8978  OpenFlow Load Balancer Conltroller Started!
    9079  Switch is Ready! Switch id: 196242264273477
    9180  }}}
    9281  This means the OpenFlow Switch is connected to your controller and you can start testing your OpenFlow Load Balancer now.
    93 
    94 === 3.1 Start your experiment with existing configuration ===
    9582   - '''3.1.1''' Drag the `file Icon` at the left-top corner on your !LabWiki page from `Prepare` column and drop it to `Execute` column. Fill in the name of your !LabWiki experiment (this can be anything that does not contain spaces, it is just to help you track the experiments you run), select your project from the drop-down list, select your slice from the list, and type "true" in the graph box to enable graphs. You can also create an experiment context if you wish to save each run of the experiment separately (Click on Add Context in the top right hand corner of the page). Then press the "Start Experiment" button.
    9683