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
assignment-2 [2008/10/06 20:45]
arulraj
assignment-2 [2008/10/10 19:32] (current)
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” ​
assignment-2.txt · Last modified: 2008/10/10 19:32 by arulraj