Changes between Version 4 and Version 5 of DSC/dc_trial1


Ignore:
Timestamp:
Jun 14, 2013, 3:21:22 AM (11 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DSC/dc_trial1

    v4 v5  
    44Use OEDL script to execute hurdle3 transmit and receive benchmark scripts from the grid.
    55
    6 In this tutorial we'll use the USRPs on the grid for FFT-based spectrum sensing. Each USRP (centered on a frequency with specified bandwidth) will collect data into an OML server for post processing. For details on available USRP2s on the grid, please check the status page in [https://www.orbit-lab.org/loginService/ControlPanel Control Panel] or check the [http://www.orbit-lab.org/wiki/Hardware/fDevices/gUSRP#USRPdevices available USRP2 HW table].
    7 
    86== Hardware / Software Resources utilized ==
    97 1. Two grid nodes with USRPs.
    10  2. ''baseline-gnu-12-04-32bit.ndz'': disk image loaded onto nodes. This image has all the pre-compiled - software required to configure the USRPs and analyze recorded data. The USRP2's interface with the node is already configured.
     8 2. ''baseline-gnu-12-04-32bit.ndz'': disk image loaded onto nodes. This image has all the prerequisite software to configure the USRPs.
    119 3. Orbit's Arbitrary Waveform Injection System: used to inject noise or simple signal into RF environment. [http://www.orbit-lab.org/wiki/Software/bAM/mInterf#InterferenceAggregateManager More information of this generator can be found here.]
    1210 4. Packet server: This is server that resides on the grid console and used by a transmitting node to send data packets over the air via USRP.
    13  5. dc.rb: this is the ODEL experiment script to run the transmit and receive scripts.
     11 5. dc.rb: this is the ODEL experiment script to manage GNURadio code, interference service and packet server and execute the hurdle (i.e. run the transmit and receive scripts).
    1412
    1513== Set up ==
    1614 * To get started first make a reservation on the [https://www.orbit-lab.org/loginService/ControlPanel Orbit Scheduler] for using the Grid.
    1715
    18  * After logging into grid console, make sure all nodes are turned off
     16 * After logging into grid console, make sure all nodes are turned off (in the example below, turn off all the nodes in the grid):
    1917{{{
    20 nilanjan@console.grid:~$ omf tell -a offh -t system:topo:n210
     18username@console.grid:~$ omf tell -a offh -t system:topo:all
    2119}}}
    2220
    23  * Verify state of node before continuing. Make sure all nodes are in the POWEROFF state.
     21 * Verify state of node before continuing. Make sure nodes are in the POWEROFF state.
    2422{{{
    25 nilanjan@console.grid:~$ omf stat
     23username@console.grid:~$ omf stat
    2624}}}
    2725
    28  * Image nodes
     26 * Image nodes (this will image all nodes with USRPs with SBX daughtercards):
    2927{{{
    30 nilanjan@console.grid:~$ omf load -i baseline-gnu-12-04-32bit.ndz -t system:topo:n210 -r 20
     28username@console.grid:~$ omf load -i baseline-gnu-12-04-32bit.ndz -t inventory:topo:sbx -r 20
    3129}}}
    3230
    3331 * After nodes are imaged, verify that nodes are in POWEROFF state. Otherwise issue the following to turn them off for a reboot
    3432{{{
    35 nilanjan@console.grid:~$ omf tell -a offh -t system:topo:n210
     33username@console.grid:~$ omf tell -a offh -t inventory:topo:sbx
    3634}}}
    3735
    3836 * Turn nodes back on and verify they are in POWERON state
    3937{{{
    40 nilanjan@console.grid:~$ omf tell -a on -t system:topo:n210
     38username@console.grid:~$ omf tell -a on -t inventory:topo:sbx
    4139}}}
    4240
    43  * Download the [http://www.orbit-lab.org/raw-attachment/wiki/DSC/dc_trial1/dc.rb OEDL experiment script] to your local directory.
     41 * Download the [attachment:dc.rb OEDL experiment script] to your local directory.
    4442{{{
    45 nilanjan@console.grid:~/UHD$ wget http://www.orbit-lab.org/raw-attachment/wiki/DSC/dc_trial1/dc.rb
     43username@console.grid:~/UHD$ wget http://www.orbit-lab.org/raw-attachment/wiki/DSC/dc_trial1/dc.rb
    4644}}}
    4745
     
    5048 * Type to following command to run the experiment. This will start the packet server, configure and start the interference generator and finally kick off the transmit and receive benchmark scripts within the nodes.
    5149{{{
    52 nilanjan@console.grid:~/UHD$ omf exec dc.rb
     50username@console.grid:~/UHD$ omf exec dc.rb
    5351}}}
    5452
    5553 * The output should look similar to the following:
    5654{{{
    57 nilanjan@console.grid:~/UHD$ omf-5.4 exec dc.rb
     55username@console.grid:~/UHD$ omf-5.4 exec dc.rb
    5856
    5957 INFO NodeHandler: OMF Experiment Controller 5.4 (git 578791f)