Changes between Version 51 and Version 52 of GEC17Agenda/AdvancedOpenFlow/Procedure/Execute
- Timestamp:
- 03/09/14 21:27:33 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC17Agenda/AdvancedOpenFlow/Procedure/Execute
v51 v52 31 31 [[Image(LoginAM.png, 60%)]] 32 32 33 === 2.2. S tart a naive OpenFlow controller===34 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]]33 === 2.2. Setup your nodes === 34 35 35 - '''2.2.1''' Check that all interfaces are configured: Issue `/sbin/ifconfig` and make sure eth1, eth2, eth3 are up and assigned with valid IP addresses. [[BR]] 36 36 - '''2.2.2''' Start the example Load Balancer by executing the following : … … 47 47 sudo bash 48 48 source /etc/profile.d/rvm.sh 49 trema run /root/load-balancer.rb50 49 }}} 51 - '''2.2.3''' After you started your Load Balancer, you should be able to see the following (Switch id may vary): 52 {{{ 53 OpenFlow Load Balancer Conltroller Started! 54 Switch is Ready! Switch id: 196242264273477 55 }}} 56 This means the OpenFlow Switch is connected to your controller and you can start testing your OpenFlow Load Balancer now. 50 - '''2.2.3''' 57 51 58 52 === 2.3. Configure !LabWiki to orchestrate and monitor your experiment === … … 96 90 97 91 == 3. Run your experiment == 92 93 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]] 94 95 After you started your Load Balancer, you should be able to see the following (Switch id may vary): 96 {{{ 97 OpenFlow Load Balancer Conltroller Started! 98 Switch is Ready! Switch id: 196242264273477 99 }}} 100 This means the OpenFlow Switch is connected to your controller and you can start testing your OpenFlow Load Balancer now. 101 98 102 === 3.1 Start your experiment with existing configuration === 99 103 - '''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.