| 3 | == Clearing Experiment Settings == |
| 4 | |
| 5 | Before starting a wireless experiment, we want to restore the wireless environment to its default state. These commands are run from the console on Outdoor to |
| 6 | reset all of the base station and attenuation settings: |
| 7 | |
| 8 | {{{ |
| 9 | wget -qO- "http://wimaxrf:5004/wimaxrf/bs/default" |
| 10 | wget -qO- "http://wimaxrf:5004/wimaxrf/bs/restart" |
| 11 | wget -qO- "http://wimaxrf:5004/wimaxrf/datapath/config/load?name=default" |
| 12 | }}} |
| 13 | |
| 14 | |
| 15 | == Loading a Saved Disk Image == |
| 16 | |
| 17 | We're ready to load the previously prepared disk image onto a testbed node. We have separate images for the node that will act as a server, and the node that will act as a client. |
| 18 | |
| 19 | To load the image for Policy 1 onto the client node: |
| 20 | |
| 21 | {{{ |
| 22 | omf load -i gec17_dash_policy_1.ndz -t node1-3.outdoor.orbit-lab.org |
| 23 | }}} |
| 24 | |
| 25 | >Note: |
| 26 | > We have implemented 3 different policies in the VLC source code and created a separate disk image for each. |
| 27 | > These are named {{{gec17_dash_policy_1.ndz}}}, {{{gec17_dash_policy_2.ndz}}}, and {{{gec17_dash_policy_3.ndz}}} |
| 28 | |
| 29 | |
| 30 | You can load the server image onto another node at the same time: |
| 31 | {{{ |
| 32 | omf load -i gec17_dash_apache.ndz -t node1-5.outdoor.orbit-lab.org |
| 33 | }}} |
| 34 | |
| 35 | [[br]] |
| 36 | |
| 37 | > Tip: If any node doesn't seem to be checking in, e.g. you see output like this: [[br]] |
| 38 | > [[br]] |
| 39 | > {{{INFO stdlib: Waiting for nodes (Up/Down/Total): 2/1/3 - (still down: node1-5.outdoor.orbit-lab.org) [140 sec.]}}} [[br]] |
| 40 | > [[br]] |
| 41 | > try opening another SSH session to the outdoor console and resetting the misbehaving node: [[br]] |
| 42 | > {{{omf tell -a reset -t node1-5.outdoor.orbit-lab.org}}} [[br]] |
| 43 | [[br]] |