Changes between Initial Version and Version 1 of WiMAX/WiMAX-Tutorial/Dash/04


Ignore:
Timestamp:
07/21/13 11:48:44 (11 years ago)
Author:
cbn228@nyu.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WiMAX/WiMAX-Tutorial/Dash/04

    v1 v1  
     1'''[wiki:WiMAX/WiMAX-Tutorial/Dash/03 Previous]'''
     2== Creating and Loading a Disk Image ==
     3
     4To prepare his experiment, he loaded a baseline image onto a node on ORBIT's Outdoor.
     5
     6
     7> Try it yourself another time: To load a baseline image onto a node, e.g. node1-6 on ORBIT's Sandbox 4, run [[br]]
     8> {{{omf load -i baseline.ndz -t node1-3.outdoor.orbit-lab.org }}}
     9[[br]]
     10Then he installed all the applications he needs on the node, did any modifications necessary to the coded and saved the disk image.
     11
     12> Try it yourself another time: To save a disk image from a node, e.g. node1-6 on ORBIT's Sandbox 4, run [[br]]
     13> {{{omf save -n node1-3.outdoor.orbit-lab.org}}}
     14[[br]]
     15When the image saving process concluded, it reported that his disk image had been saved and gave the name of the image. Now, when he wants to run his experiment, he will load his disk image onto the nodes he has reserved:
     16
     17On the client node:
     18
     19{{{
     20omf load -i gec17_dash_policy_x.ndz -t node1-3.outdoor.orbit-lab.org
     21}}}
     22
     23{{{Note:
     24> x is either 1, 2, or 3. Here we will implement 3 different policies. These 3 policies are hardwired to the VLC code.
     25>So, we have created 3 different images which need to be loaded when the experimenter needs to test either of them.
     26>
     27}}}
     28
     29On the server node:
     30{{{
     31omf load -i gec17_dash_apache.ndz.ndz -t node1-5.outdoor.orbit-lab.org
     32}}}
     33
     34[[br]]
     35
     36> Tip: If any node doesn't seem to be checking in, e.g. you see output like this: [[br]]
     37> [[br]]
     38> {{{INFO stdlib: Waiting for nodes (Up/Down/Total): 2/1/3 - (still down: node1-5.sb4.orbit-lab.org) [140 sec.]}}}  [[br]]
     39> [[br]]
     40> try opening another SSH session to the outdoor console and resetting the misbehaving node: [[br]]
     41> {{{omf tell -a reset -t node1-5.outdoor.orbit-lab.org}}} [[br]]
     42 [[br]]
     43
     44== Clearing Experiment Settings ==
     45
     46In addition to loading a fresh disk image, additional steps must be taken to restore the wireless environment to its default state. These commands are run from the console on Sandbox 4 to
     47reset all of the base station and attenuation settings:
     48
     49{{{
     50wget -qO- "http://wimaxrf:5052/wimaxrf/bs/default"
     51wget -qO- "http://wimaxrf:5052/wimaxrf/bs/restart"
     52wget -qO- "http://wimaxrf:5052/wimaxrf/datapath/config/load?name=default"
     53}}}
     54
     55
     56
     57'''[wiki:WiMAX/WiMAX-Tutorial/Dash/05 Previous]'''