| 28 | * Start clean, turn off all the nodes: '''omf-5.2 tell offh all''' |
| 29 | {{{ |
| 30 | nilanjan@console.sb4:~/exp/dl-iperf/5.2$ omf-5.2 tell offh all |
| 31 | |
| 32 | INFO NodeHandler: init OMF Experiment Controller 5.2.408 |
| 33 | INFO Topology: Loading topology 'system:topo:all'. |
| 34 | --------------------------------------------------- |
| 35 | Testbed : sb4.orbit-lab.org - Command: offHard |
| 36 | Node n_1_2 - Ok |
| 37 | Node n_1_7 - Ok |
| 38 | Node n_1_1 - Ok |
| 39 | Node n_1_6 - Ok |
| 40 | Node n_1_5 - Ok |
| 41 | Node n_1_9 - Ok |
| 42 | Node n_1_4 - Ok |
| 43 | Node n_1_8 - Ok |
| 44 | Node n_1_3 - Ok |
| 45 | --------------------------------------------------- |
| 46 | }}} |
| 47 | |
| 48 | * Query the status of the nodes: '''omf-5.2 stat'''. Wait until all nodes are in powered off state. |
| 49 | {{{ |
| 50 | nilanjan@console.sb4:~/exp/dl-iperf/5.2$ omf-5.2 stat |
| 51 | INFO NodeHandler: init OMF Experiment Controller 5.2.408 |
| 52 | ----------------------------------------------- |
| 53 | INFO Topology: Loading topology 'system:topo:all'. |
| 54 | Testbed : sb4.orbit-lab.org |
| 55 | Node n_1_1 - State: POWEROFF |
| 56 | Node n_1_2 - State: POWEROFF |
| 57 | Node n_1_3 - State: POWEROFF |
| 58 | Node n_1_4 - State: POWEROFF |
| 59 | Node n_1_5 - State: POWEROFF |
| 60 | Node n_1_6 - State: POWEROFF |
| 61 | Node n_1_7 - State: POWEROFF |
| 62 | Node n_1_8 - State: POWEROFF |
| 63 | Node n_1_9 - State: POWEROFF |
| 64 | ----------------------------------------------- |
| 65 | }}} |
| 66 | |
| 67 | * Load image onto node1-4 and node1-9: '''omf-5.2 load [[1,4],[1,9]] baseline-iperf.ndz''' |
| 68 | {{{ |
| 69 | nilanjan@console.sb4:~/exp/dl-iperf/5.2$ omf-5.2 load [[1,4],[1,9]] baseline-iperf.ndz ; sleep 360 ; omf-5.2 tell on [[1,4],[1,9]] ; sleep 360 ; omf-5.2 exec dl-iperf.rb |
| 70 | Imaging nodes: '[[1,4],[1,9]]' with image 'baseline-iperf.ndz' |
| 71 | (Domain: default from hostname) |
| 72 | (Timeout: 800 sec.) |
| 73 | INFO NodeHandler: init OMF Experiment Controller 5.2.408 |
| 74 | INFO NodeHandler: init Experiment ID: sb4.orbit-lab.org_2012_02_09_10_22_14 |
| 75 | INFO NodeHandler: Web interface available at: http://10.14.0.10:4000 |
| 76 | INFO Experiment: load system:exp:stdlib |
| 77 | INFO property.resetDelay: value = 100 (Fixnum) |
| 78 | INFO property.resetTries: value = 1 (Fixnum) |
| 79 | INFO Experiment: load system:exp:imageNode |
| 80 | INFO property.nodes: value = [[1, 4], [1, 9]] (Array) |
| 81 | INFO property.image: value = "baseline-iperf.ndz" (String) |
| 82 | INFO property.domain: value = nil (NilClass) |
| 83 | INFO property.outpath: value = "/tmp" (String) |
| 84 | INFO property.timeout: value = 800 (Fixnum) |
| 85 | INFO stdlib: Waiting for nodes (Up/Down/Total): 0/2/2 - (still down: n_1_9,n_1_4) |
| 86 | INFO stdlib: Waiting for nodes (Up/Down/Total): 0/2/2 - (still down: n_1_9,n_1_4) |
| 87 | INFO stdlib: Waiting for nodes (Up/Down/Total): 0/2/2 - (still down: n_1_9,n_1_4) |
| 88 | INFO stdlib: Waiting for nodes (Up/Down/Total): 0/2/2 - (still down: n_1_9,n_1_4) |
| 89 | INFO exp: Progress(0/0/2): 0/0/0 min(n_1_9)/avg/max (46) - Timeout: 750 sec. |
| 90 | INFO whenAll: *: 'status[@value='UP']' fires |
| 91 | INFO exp: Progress(0/0/2): 20/20/20 min(n_1_9)/avg/max (46) - Timeout: 740 sec. |
| 92 | INFO exp: Progress(0/0/2): 40/40/40 min(n_1_9)/avg/max (46) - Timeout: 730 sec. |
| 93 | INFO exp: Progress(0/0/2): 60/60/60 min(n_1_9)/avg/max (46) - Timeout: 720 sec. |
| 94 | INFO exp: Progress(0/0/2): 70/75/80 min(n_1_9)/avg/max (46) - Timeout: 710 sec. |
| 95 | INFO exp: Progress(0/0/2): 90/90/90 min(n_1_9)/avg/max (46) - Timeout: 700 sec. |
| 96 | INFO exp: Progress(2/0/2): 100/100/100 min()/avg/max (46) - Timeout: 690 sec. |
| 97 | INFO exp: ----------------------------- |
| 98 | INFO exp: Imaging Process Done |
| 99 | INFO exp: - 2 node(s) successfully imaged - See the topology file: '/tmp/sb4.orbit-lab.org_2012_02_09_10_22_14_topo_active.rb' |
| 100 | INFO exp: ----------------------------- |
| 101 | INFO Experiment: DONE! |
| 102 | INFO NodeHandler: Shutting down experiment, please wait... |
| 103 | INFO NodeHandler: Shutdown flag is set - Turning Off the resources |
| 104 | INFO run: Experiment sb4.orbit-lab.org_2012_02_09_10_22_14 finished after 1:51 |
| 105 | |
| 106 | }}} |
| 107 | |
| 108 | * After loading the image, node1-4 & node1-9 are turned off. Turn these nodes back on: '''omf-5.2 tell on [[1,4],[1,9]]''' |
| 109 | {{{ |
| 110 | nilanjan@console.sb4:~/exp/dl-iperf/5.2$ omf-5.2 tell on [[1,4],[1,9]] |
| 111 | |
| 112 | INFO NodeHandler: init OMF Experiment Controller 5.2.408 |
| 113 | --------------------------------------------------- |
| 114 | Testbed : sb4.orbit-lab.org - Command: on |
| 115 | Node n_1_9 - Ok |
| 116 | Node n_1_4 - Ok |
| 117 | --------------------------------------------------- |
| 118 | }}} |
| 119 | |
| 120 | * Query the status of the nodes until node1-4 & node1-9 are in ''POWERON'' state: '''omf-5.2 stat''' |
| 121 | |
| 122 | * Now run the experiment script: '''omf-5.2 exec dl-iperf.rb''' |
| 123 | |
| 124 | * After the experiment successfully runs, a database file, ''values.db'', is created. This file is populated with the following parameters for each iperf run:[[BR]] |
| 125 | 1. rf matrix attenuation value |
| 126 | 2. number of '''bytes''' transferred from iperf client to server. |
| 127 | 3. total time taken for iperf connection. |
| 128 | 4. throughput in kilobytes per second |