Changes between Version 16 and Version 17 of GEC17Agenda/GettingStartedWithGENI_III_GIMI/Procedure/Execute


Ignore:
Timestamp:
07/19/13 13:05:30 (11 years ago)
Author:
divyashri.bhat@gmail.com
Comment:

--

Legend:

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

    v16 v17  
    455455}}}
    456456
    457 The script is executed from the user workspace as follows:
    458 
    459 {{{
    460 $ cd ~/Tutorials/GIMI/common/
    461 $ omf-5.4 exec --no-am -e gimiXX-ping_all -S gimiXX step1-ping_all.rb
    462 }}}
    463 
    464 Where gimiXX has to be replaced by the slice name you are using for your experiment.
    465 
    466 You should see the following output after executing the omf command.
    467 
    468 {{{
    469  INFO NodeHandler: OMF Experiment Controller 5.4 (git e0eefcf)
    470  INFO NodeHandler: Slice ID: gimi20
    471  INFO NodeHandler: Experiment ID: gimi20-2012-10-18t14.03.42-04.00
    472  INFO NodeHandler: Message authentication is disabled
    473  WARN NodeHandler: AM support disabled - any service calls will fail!
    474  INFO Experiment: load system:exp:stdlib
    475  INFO property.resetDelay: resetDelay = 210 (Fixnum)
    476  INFO property.resetTries: resetTries = 1 (Fixnum)
    477  INFO Experiment: load system:exp:eventlib
    478  INFO Experiment: load ping_all.rb
    479  INFO property.source1: source1 = "nodeA" (String)
    480  INFO property.source2: source2 = "nodeB" (String)
    481  INFO property.source3: source3 = "nodeC" (String)
    482  INFO property.source4: source4 = "nodeD" (String)
    483  INFO property.source5: source5 = "nodeE" (String)
    484  INFO property.sinkaddr11: sinkaddr11 = "192.168.4.10" (String)
    485  INFO property.sinkaddr12: sinkaddr12 = "192.168.5.12" (String)
    486  INFO property.sinkaddr21: sinkaddr21 = "192.168.4.11" (String)
    487  INFO property.sinkaddr22: sinkaddr22 = "192.168.2.12" (String)
    488  INFO property.sinkaddr23: sinkaddr23 = "192.168.1.13" (String)
    489  INFO property.sinkaddr31: sinkaddr31 = "192.168.5.11" (String)
    490  INFO property.sinkaddr32: sinkaddr32 = "192.168.2.10" (String)
    491  INFO property.sinkaddr33: sinkaddr33 = "192.168.3.13" (String)
    492  INFO property.sinkaddr34: sinkaddr34 = "192.168.6.14" (String)
    493  INFO property.sinkaddr41: sinkaddr41 = "192.168.1.10" (String)
    494  INFO property.sinkaddr42: sinkaddr42 = "192.168.3.12" (String)
    495  INFO property.sinkaddr51: sinkaddr51 = "192.168.6.12" (String)
    496  INFO Topology: Loading topology 'nodeA'.
    497  INFO Topology: Loading topology 'nodeB'.
    498  INFO Topology: Loading topology 'nodeC'.
    499  INFO Topology: Loading topology 'nodeD'.
    500  INFO Topology: Loading topology 'nodeE'.
    501  INFO Experiment: Switching ON resources which are OFF
    502  INFO ALL_UP_AND_INSTALLED: Event triggered. Starting the associated tasks.
    503  INFO exp: Starting the ping
    504  INFO exp: Request from Experiment Script: Wait for 5s....
    505  INFO exp: Stopping the ping
    506  INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
    507  INFO NodeHandler:
    508  INFO NodeHandler: Shutting down experiment, please wait...
    509  INFO NodeHandler:
    510  INFO run: Experiment gimi20-2012-10-18t14.03.42-04.00 finished after 0:16
    511 }}}
    512 
    513 ----
    514 
    515457=== 3.5 Setup Routing in Experiment Topology ===
    516458In more complex topologies routing has to be set up. In our case, this is achieved with the aid of an [[http://emmy9.casa.umass.edu/GEC15-GIMI-Tutorial/step2-routing.rb OMF experiment script]]. The one we use for this tutorial is shown below.
     
    566508This script can be easily adapted if the experimenter wishes to set up the routing between the nodes
    567509differently.
    568 
    569 The script is executed from the user workspace as follows:
    570 
    571 {{{
    572 $ cd ~/Tutorials/GIMI/common/
    573 $ omf-5.4 exec --no-am -e gimiXX-routing -S gimiXX step2-routing.rb
    574 }}}
    575 
    576 Where gimiXX has to be replaced by the slice name you are using for your experiment.
    577 
    578 You should see the following output after executing the omf command.
    579 
    580 {{{
    581  INFO NodeHandler: OMF Experiment Controller 5.4 (git e0eefcf)
    582  INFO NodeHandler: Slice ID: gimi20
    583  INFO NodeHandler: Experiment ID: gimi20-2012-10-18t14.14.10-04.00
    584  INFO NodeHandler: Message authentication is disabled
    585  WARN NodeHandler: AM support disabled - any service calls will fail!
    586  INFO Experiment: load system:exp:stdlib
    587  INFO property.resetDelay: resetDelay = 210 (Fixnum)
    588  INFO property.resetTries: resetTries = 1 (Fixnum)
    589  INFO Experiment: load system:exp:eventlib
    590  INFO Experiment: load routing.rb
    591  INFO Topology: Loading topology 'nodeA'.
    592  INFO Topology: Loading topology 'nodeB'.
    593  INFO Topology: Loading topology 'nodeC'.
    594  INFO Topology: Loading topology 'nodeD'.
    595  INFO Topology: Loading topology 'nodeE'.
    596  INFO Experiment: Switching ON resources which are OFF
    597  INFO ALL_UP: Event triggered. Starting the associated tasks.
    598  INFO exp: Request from Experiment Script: Wait for 1s....
    599  INFO exp: Changing routing setup
    600  INFO exp: Routing setup finished
    601  INFO exp: Request from Experiment Script: Wait for 5s....
    602  INFO exp: Stopping applications
    603  INFO exp: Request from Experiment Script: Wait for 1s....
    604  INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
    605  INFO NodeHandler:
    606  INFO NodeHandler: Shutting down experiment, please wait...
    607  INFO NodeHandler:
    608  INFO run: Experiment gimi20-2012-10-18t14.14.10-04.00 finished after 0:16
    609 }}}
    610 
    611 ----
    612510
    613511=== 3.6 Verification of Routing ===
     
    742640}}}
    743641
    744 The script is executed from the user workspace as follows:
    745 
    746 {{{
    747 $ cd ~/Tutorials/GIMI/common/
    748 $ omf-5.4 exec --no-am -e gimiXX-ping_e2e -S gimiXX step3-ping_e2e.rb
    749 }}}
    750 
    751 Where gimiXX has to be replaced by the slice name you are using for your experiment.
    752 
    753 You should see the following output after executing the omf command.
    754 
    755 {{{
    756  INFO NodeHandler: OMF Experiment Controller 5.4 (git e0eefcf)
    757  INFO NodeHandler: Slice ID: gimi20
    758  INFO NodeHandler: Experiment ID: gimi20-2012-10-18t14.03.42-04.00
    759  INFO NodeHandler: Message authentication is disabled
    760  WARN NodeHandler: AM support disabled - any service calls will fail!
    761  INFO Experiment: load system:exp:stdlib
    762  INFO property.resetDelay: resetDelay = 210 (Fixnum)
    763  INFO property.resetTries: resetTries = 1 (Fixnum)
    764  INFO Experiment: load system:exp:eventlib
    765  INFO Experiment: load ping_all.rb
    766  INFO property.source1: source1 = "nodeA" (String)
    767  INFO property.source2: source2 = "nodeB" (String)
    768  INFO property.source3: source3 = "nodeC" (String)
    769  INFO property.source4: source4 = "nodeD" (String)
    770  INFO property.source5: source5 = "nodeE" (String)
    771  INFO property.sinkaddr11: sinkaddr11 = "192.168.4.10" (String)
    772  INFO property.sinkaddr12: sinkaddr12 = "192.168.5.12" (String)
    773  INFO property.sinkaddr21: sinkaddr21 = "192.168.4.11" (String)
    774  INFO property.sinkaddr22: sinkaddr22 = "192.168.2.12" (String)
    775  INFO property.sinkaddr23: sinkaddr23 = "192.168.1.13" (String)
    776  INFO property.sinkaddr31: sinkaddr31 = "192.168.5.11" (String)
    777  INFO property.sinkaddr32: sinkaddr32 = "192.168.2.10" (String)
    778  INFO property.sinkaddr33: sinkaddr33 = "192.168.3.13" (String)
    779  INFO property.sinkaddr34: sinkaddr34 = "192.168.6.14" (String)
    780  INFO property.sinkaddr41: sinkaddr41 = "192.168.1.10" (String)
    781  INFO property.sinkaddr42: sinkaddr42 = "192.168.3.12" (String)
    782  INFO property.sinkaddr51: sinkaddr51 = "192.168.6.12" (String)
    783  INFO Topology: Loading topology 'nodeA'.
    784  INFO Topology: Loading topology 'nodeB'.
    785  INFO Topology: Loading topology 'nodeC'.
    786  INFO Topology: Loading topology 'nodeD'.
    787  INFO Topology: Loading topology 'nodeE'.
    788  INFO Experiment: Switching ON resources which are OFF
    789  INFO ALL_UP_AND_INSTALLED: Event triggered. Starting the associated tasks.
    790  INFO exp: Starting the ping
    791  INFO exp: Request from Experiment Script: Wait for 5s....
    792  INFO exp: Stopping the ping
    793  INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
    794  INFO NodeHandler:
    795  INFO NodeHandler: Shutting down experiment, please wait...
    796  INFO NodeHandler:
    797  INFO run: Experiment gimi20-2012-10-18t14.03.42-04.00 finished after 0:16
    798 }}}
    799 
    800 ----
     642
    801643
    802644== 4. Running Actual Experiment ==
     
    901743}}}
    902744
    903 The script is executed from the user workspace as follows:
    904 
    905 {{{
    906 $ cd ~/Tutorials/GIMI/common/
    907 $ omf-5.4 exec --no-am -e gimiXX-otg_nmetrics -S gimiXX step4-otg_nmetrics.rb
    908 }}}
    909 
    910 Where gimiXX has to be replaced by the slice name you are using for your experiment.
    911 
    912 You should see the following output (or similar) after executing the omf command.
    913 
    914 {{{
    915  INFO NodeHandler: OMF Experiment Controller 5.4 (git e0eefcf)
    916  INFO NodeHandler: Slice ID: gimi20
    917  INFO NodeHandler: Experiment ID: gimi20-2012-10-18t13.51.41-04.00
    918  INFO NodeHandler: Message authentication is disabled
    919  WARN NodeHandler: AM support disabled - any service calls will fail!
    920  INFO Experiment: load system:exp:stdlib
    921  INFO property.resetDelay: resetDelay = 210 (Fixnum)
    922  INFO property.resetTries: resetTries = 1 (Fixnum)
    923  INFO Experiment: load system:exp:eventlib
    924  INFO Experiment: load otg_nmetrics.rb
    925  INFO property.theSender: theSender = "nodeB" (String)
    926  INFO property.theReceiver1: theReceiver1 = "nodeE" (String)
    927  INFO property.theReceiver2: theReceiver2 = "nodeA" (String)
    928  INFO property.theReceiver3: theReceiver3 = "nodeD" (String)
    929  INFO property.packetsize: packetsize = 128 (Fixnum)
    930  INFO property.bitrate: bitrate = 2048 (Fixnum)
    931  INFO property.runtime: runtime = 40 (Fixnum)
    932  INFO Topology: Loading topology 'nodeB'.
    933  INFO Topology: Loading topology 'nodeE'.
    934  INFO Topology: Loading topology 'nodeA'.
    935  INFO Topology: Loading topology 'nodeD'.
    936  INFO Experiment: Switching ON resources which are OFF
    937  INFO ALL_UP_AND_INSTALLED: Event triggered. Starting the associated tasks.
    938  INFO exp: starting
    939  INFO exp: Request from Experiment Script: Wait for 5s....
    940  INFO exp: All applications started...
    941  INFO exp: Request from Experiment Script: Wait for 10s....
    942  INFO property.packetsize: packetsize = 256 (Fixnum)
    943  INFO exp: Request from Experiment Script: Wait for 10s....
    944  INFO property.packetsize: packetsize = 512 (Fixnum)
    945  INFO exp: Request from Experiment Script: Wait for 10s....
    946  INFO property.packetsize: packetsize = 1024 (Fixnum)
    947  INFO exp: Request from Experiment Script: Wait for 10s....
    948  INFO exp: All applications stopped.
    949  INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
    950  INFO NodeHandler:
    951  INFO NodeHandler: Shutting down experiment, please wait...
    952  INFO NodeHandler:
    953  INFO run: Experiment gimi20-2012-10-18t13.51.41-04.00 finished after 0:56
    954 }}}
    955 ----
    956745
    957746[[BR]]
     
    963752Labwiki can be used to Plan, Prepare and Run your Experiment.[[BR]]
    964753
    965 === 5.1 Plan ===
     754=== 5.1 Login using OpenID ===
     755
     756=== 5.2 Plan ===
    966757Labwiki accounts have already been created for you for this tutorial. To use Labwiki, go to [http://emmy9.casa.umass.edu:3005/users/sign_in GIMI portal] and login with the username and password you have been given.[[BR]]
    967758