wiki:GEC16Agenda/WiMAX-Tutorial/Streamload/05

Version 8 (modified by Fraida Fund, 7 years ago) (diff)

--

Previous

Creating and Loading a Disk Image

To prepare his experiment, he loaded a baseline image onto a node on ORBIT's Sandbox 4.

Try it yourself another time: To load a baseline image onto a node, e.g. node1-6 on ORBIT's Sandbox 4, run
omf load -i baseline.ndz -t node1-6.sb4.orbit-lab.org


Then he installed all the applications he needs on the node, and saved the disk image.

Try it yourself another time: To save a disk image from a node, e.g. node1-6 on ORBIT's Sandbox 4, run
omf save -n node1-6.sb4.orbit-lab.org


When 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:

omf load -i gec16-streamload.ndz -t node1-5.sb4.orbit-lab.org,node1-6.sb4.orbit-lab.org,node1-7.sb4.orbit-lab.org

Clearing Experiment Settings

In 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 reset all of the base station and attenuation settings:

wget -qO- "http://wimaxrf:5052/wimaxrf/bs/default"
wget -qO- "http://wimaxrf:5052/wimaxrf/bs/restart"
wget -qO- "http://internal2dmz.orbit-lab.org:5052/instr/setAll?att=0" 
wget -qO- "http://wimaxrf:5052/wimaxrf/datapath/config/load?name=default"

Next