12 | | 1. The demo works for a specific set of nodes. Incase one of the nodes is down , certain changes have to be made to the scripts. |
| 12 | 1. The demo works for a specific set of nodes. Incase one of the nodes is down , certain changes have to be made to the scripts. Presently the following nodes that are fixed for the demo and included in the image are |
| 13 | |
| 14 | 4,6: Virtual Access point |
| 15 | 1,5: Video Receiver/Client |
| 16 | 7,5: Video Server |
| 17 | |
| 18 | The other nodes can be chosen randomly. The experiment script has to be changed depending upon the nodes used. The experiment script is stored in the home folder rmahindra and its exact location is |
| 19 | |
| 20 | /home/rmahindra/nodeHandler-3.6.4-plab/src/repository/test/exp/DEMO2 |
| 21 | |
| 22 | I am working on checking in our nodeHandler code. After that the demo can be run using the normal procedure. Presently it has to run using the nodeHandler from my home directory. |
| 23 | |
| 24 | |
| 25 | 2. Incase one of three above nodes have to be changed.. then just ssh into that node and edit "startitall" script in the root directory of that node. A simple "if" statement would have to be altered to include the new node. |
| 26 | |
| 27 | |
| 28 | 3. The three nodes that send data to the VAP over the wired network have to have their eth0 configured. This includes the video server node. ssh into these nodes and type in |
| 29 | |
| 30 | ifconfig eth0 10.20.0.x netmask 255.255.0.0 up |
| 31 | |
| 32 | Double check by pinging 10.20.0.1 . |
| 33 | |
| 34 | 4. Now the nodes are configured and the experiment is ready to be run. Goto rmahindra home folder and type the following commands |
| 35 | |
| 36 | cd nodeHandler-3.6.4-plab/src/ruby |
| 37 | ruby -W0 handler/nodeHandler.rb -k test:exp:DEMO2 |
| 38 | |
| 39 | This will run the VAP modified nodeHandler and start the experiment. |
| 40 | |
| 41 | |
| 42 | 5. The video can be viewed in vlc at http://10.10.x.y:10xy where x,y is the video client node. |
| 43 | |
| 44 | The graph for the other data flows can be viewed at http://console.grid.orbit-lab.org:4000/orbit?rcvd_pkt_size_sample_sum |