| 296 | |
| 297 | === Executing the Experiment Script === |
| 298 | An overview on running experiment scripts on the orbit testbed can be found on the [wiki:Documentation/CGettingStarted Getting Started Page]. |
| 299 | In order to run this experiment script, load ''baseline.ndz'' image on nodes with wifi cards. Check the ''Status Page' on the [https://www.orbit-lab.org/cPanel/controlPanel/start Control Panel] to select any particular type of wifi card. |
| 300 | {{{ |
| 301 | nilanjan@console.grid:~/EXP$ omf load -i baseline.ndz -t node15-1,node16-1,node17-1,node19-1,node20-1 |
| 302 | }}} |
| 303 | |
| 304 | After the nodes have finished imaging, turn the nodes on. The topology used here is ''system:topo:imaged'' which selected the prior set of node that were successfully imaged. |
| 305 | {{{ |
| 306 | nilanjan@console.grid:~/EXP$ omf tell -a on -t system:topo:imaged |
| 307 | }}} |
| 308 | |
| 309 | To run this experiment with 2 clients nodes: |
| 310 | {{{ |
| 311 | nilanjan@console.grid:~/EXP$ omf exec wifi-ap-exercise3.rb -- --accesspoint node15-1 --client node17-1,node19-1 --interval 60 |
| 312 | }}} |
| 313 | |
| 314 | The output of this script should be similar to the following: |
| 315 | {{{ |
| 316 | INFO NodeHandler: OMF Experiment Controller 5.4 (git 3fb37b9) |
| 317 | INFO NodeHandler: Reading configuration file /etc/omf-expctl-5.4/services.yaml |
| 318 | INFO NodeHandler: Add domain http - http://internal1.orbit-lab.org:5054/ |
| 319 | INFO NodeHandler: Add domain http - http://repository1.orbit-lab.org:5054/ |
| 320 | INFO NodeHandler: Slice ID: default_slice (default) |
| 321 | INFO NodeHandler: Experiment ID: default_slice-2014-10-15t12.08.29.982-04.00 |
| 322 | INFO NodeHandler: Message authentication is disabled |
| 323 | INFO Experiment: load system:exp:stdlib |
| 324 | INFO property.resetDelay: resetDelay = 230 (Fixnum) |
| 325 | INFO property.resetTries: resetTries = 1 (Fixnum) |
| 326 | INFO Experiment: load system:exp:eventlib |
| 327 | INFO Experiment: load system:exp:winlib |
| 328 | INFO Experiment: load wifi-ap-exercise3.rb |
| 329 | INFO property.accesspoint: accesspoint = "node15-1" (String) |
| 330 | INFO property.client: client = "node17-1,node19-1" (String) |
| 331 | INFO property.interval: interval = 60 (Fixnum) |
| 332 | INFO ALL_UP_AND_INSTALLED: Event triggered. Starting the associated tasks. |
| 333 | INFO exp: Wifi Multi Client Iperf Experiment |
| 334 | INFO exp: Request from Experiment Script: Wait for 10s.... |
| 335 | INFO node17-1.grid.orbit-lab.org: Device 'net/w0' reported Not-Associated |
| 336 | INFO node19-1.grid.orbit-lab.org: Device 'net/w0' reported Not-Associated |
| 337 | INFO exp: Start access point |
| 338 | INFO exp: Start client 1 ==> node17-1 |
| 339 | INFO exp: Request from Experiment Script: Wait for 60s.... |
| 340 | INFO node17-1.grid.orbit-lab.org: Device 'net/w0' reported 00:60:B3:AC:2B:D5 |
| 341 | INFO node19-1.grid.orbit-lab.org: Device 'net/w0' reported 00:60:B3:AC:2B:D5 |
| 342 | INFO exp: Start client 2 ==> node19-1 |
| 343 | INFO exp: Request from Experiment Script: Wait for 60s.... |
| 344 | INFO exp: Stop client 1 ==> node17-1 |
| 345 | INFO exp: Request from Experiment Script: Wait for 60s.... |
| 346 | INFO exp: Stop client 2 ==> node19-1 |
| 347 | INFO exp: Request from Experiment Script: Wait for 60s.... |
| 348 | INFO exp: Stop access point |
| 349 | INFO exp: All my Applications are stopped now. |
| 350 | INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks. |
| 351 | INFO NodeHandler: |
| 352 | INFO NodeHandler: Shutting down experiment, please wait... |
| 353 | INFO NodeHandler: |
| 354 | INFO run: Experiment default_slice-2014-10-15t12.08.29.982-04.00 finished after 4:20 |
| 355 | }}} |
| 356 | |
| 357 | === Experiment Results === |
| 358 | |
| 359 | The detailed output from the experiment script is stored in the default slice*.log file under the /tmp directory of the console. However in this case the iperf results are store separately in an OML database that is accessible via the ''results service''. To view this data under the results service please see instructions here. |