User Tools

Site Tools


assignment-2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
assignment-2 [2008/10/04 16:01]
arulraj
assignment-2 [2008/10/10 19:32]
arulraj more clarity
Line 59: Line 59:
 Once the experiment starts , you will have 2 hours to complete the experiment ( since we specifed 3 hrs in Max Duration field while setting up the experiment Step 3-(ii)-e above. Follow these steps to run the experiment:​  Once the experiment starts , you will have 2 hours to complete the experiment ( since we specifed 3 hrs in Max Duration field while setting up the experiment Step 3-(ii)-e above. Follow these steps to run the experiment:​
   - Login to emucontrol-1.ece.cmu.edu and type the command "​emulatorDaemon <​username>​ emulator <​experimentname>"​. This command will complete the swap in process. This step is very important.   - Login to emucontrol-1.ece.cmu.edu and type the command "​emulatorDaemon <​username>​ emulator <​experimentname>"​. This command will complete the swap in process. This step is very important.
-  - Login to the nodes allocated in this experiment by “ssh <​username>​@nodew1.leo-exp001.emulator.cmcl.cs.cmu.edu” and “ ssh <​username>​@nodew2.leo-exp001.emulator.cmcl.cs.cmu.edu”. In each of the nodes, run the command : “/​opt/​jdk1.6.0_05/​bin/​rmiregistry &” and “ ~/​emuNode/​nodeDaemon”. You should see some output like  “NodeDaemon bound”. Now each of the wireless nodes has a the NodeDeamon on them bound to the emucontrol-1 which waits for commands to execute on the wireless nodes.+  - Login to the nodes allocated in this experiment ​(Note : You should first login to ops.cmcl.cs.cmu.edu and then login to the wireless nodes from there otherwise the domain names for the wireless nodes won't be resolved) ​by “ssh <​username>​@nodew1.leo-exp001.emulator.cmcl.cs.cmu.edu” and “ ssh <​username>​@nodew2.leo-exp001.emulator.cmcl.cs.cmu.edu”. In each of the nodes, run the command : “/​opt/​jdk1.6.0_05/​bin/​rmiregistry &” and “ ~/​emuNode/​nodeDaemon”. You should see some output like  “NodeDaemon bound”. Now each of the wireless nodes has a the NodeDeamon on them bound to the emucontrol-1 which waits for commands to execute on the wireless nodes.
   - Login to emucontrol-1.ece.cmu.edu and change your current directory to the directory where you expanded the archive experiment.tgz that we downloaded earlier in Step 2-(ii)-(d).   - Login to emucontrol-1.ece.cmu.edu and change your current directory to the directory where you expanded the archive experiment.tgz that we downloaded earlier in Step 2-(ii)-(d).
   - Compile experiment.java into experiment.class using the command “javac experiment.java” ​   - Compile experiment.java into experiment.class using the command “javac experiment.java” ​
-  - Run the command “emuRun experiment.xml” . This will emulate the experiment and write out results into files in the same directory. The output files all have names starting with exp01. Most of the stderr files created will usually be empty and you can delete such empty file using the command “ file -size 0 -delete” so that you can concentrate on the rest of the non-empty files that have the iperf command output with data transfer rates. Take a look at the result files.+  - Run the command “emuRun experiment.xml” . This will emulate the experiment and write out results into files in the same directory. The output files all have names starting with exp01. Most of the stderr files created will usually be empty and you can delete such empty file using the command “ find -size 0 -delete” so that you can concentrate on the rest of the non-empty files that have the iperf command output with data transfer rates. Take a look at the result files.
   - Now change the experiment.java file so that you can gather enough data to present on how distance of separation between wireless nodes affect the data transfer rates.   - Now change the experiment.java file so that you can gather enough data to present on how distance of separation between wireless nodes affect the data transfer rates.
   - Once you have completed executing the experiment, we will have to swap out the experiment so that the physical resources held by this experiment are released for use by others. For this, go to the https://​boss.cmcl.cs.cmu.edu/​ and click on "My Emulab"​ link under "​Experimentation tab". On the page that shows up, click on the EID link and you will be taken to the experiment page. Click on Swap "​Experiment Out" link on the left menu. Once the swap out completes, login to emucontrol-1.ece.cmu.edu and type the command "​emulatorDaemon <​username>​ emulator <​experimentname>"​. This command will complete the swap in process. This step is very important.   - Once you have completed executing the experiment, we will have to swap out the experiment so that the physical resources held by this experiment are released for use by others. For this, go to the https://​boss.cmcl.cs.cmu.edu/​ and click on "My Emulab"​ link under "​Experimentation tab". On the page that shows up, click on the EID link and you will be taken to the experiment page. Click on Swap "​Experiment Out" link on the left menu. Once the swap out completes, login to emucontrol-1.ece.cmu.edu and type the command "​emulatorDaemon <​username>​ emulator <​experimentname>"​. This command will complete the swap in process. This step is very important.
assignment-2.txt · Last modified: 2008/10/10 19:32 by arulraj