Changes between Version 12 and Version 13 of P2pnsInstall
- Timestamp:
- Mar 22, 2009, 10:39:14 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
P2pnsInstall
v12 v13 22 22 }}} 23 23 24 5. Edit !OverSim-200 80919/Simulations/realworld/realdhtapp.ini and remove the bootstrap IP (since this is the first node in the overlay):24 5. Edit !OverSim-20090320/simulations/realworld/realdhtapp.ini and remove the bootstrap IP (since this is the first node in the overlay): 25 25 {{{ 26 26 bootstrapIP: replace the "10.6.0.1" by "" … … 29 29 6. Start !OverSim and click on the "FAST" button: 30 30 {{{ 31 cd ~/sim/OverSim 32 bin/OverSim -f Simulations/realworld/realdhtapp.ini31 cd ~/sim/OverSim-20090320/simulations/realworld 32 ../../src/OverSim -f realdhtapp.ini 33 33 }}} 34 34 … … 55 55 === Emulation of additional nodes by using the tun interface (needs root privileges) === 56 56 57 5a. Adapt !OverSim-20080919/Simulations/realworld/setup-realdht to your environment (username and LD_LIBRARY_PATH).If you removed the bootstrapIP paramter from realdhtapp.ini earlier in step 5 restore the old "10.6.0.1" setting.57 5a. If you removed the bootstrapIP paramter from realdhtapp.ini earlier in step 5 restore the old "10.6.0.1" setting. 58 58 59 59 6a. Start !OverSim, enter your password and click on the "FAST" button on both !OverSim processes: 60 60 {{{ 61 cd ~/sim/OverSim /Simulations/realworld61 cd ~/sim/OverSim-20090320/simulations/realworld 62 62 ./setup-realdht 63 63 }}} … … 67 67 === Adding additional overlay nodes (you need multiple machines for this) === 68 68 69 9. Install !OverSim and OpenSER on a second machine. If you simply want to copy the !OverSim binary, you should make a static binary with compiled in NED files (unfortunately you can't make a static OpenSER binary): 69 9. Install !OverSim and OpenSER on a second machine. If you simply want to copy the !OverSim binary, please mind you also need to copy 70 all NED and ini files maintaining the directory structure and use static OMNeT++ libraries (unfortunately you can't make a static OpenSER binary): 70 71 {{{ 71 - Set build_shared_libs=no in omnetpp-3.4b2/configure.user 72 - Remove ''-N'' from OPTS in OverSim-20080919 73 - Rebuild OMNeT++, INET, and OverSim (run configure, makemake and make) 72 - Set SHARED_LIBS=no in omnetpp-4.0/configure.user 73 - Rebuild OMNeT++, INET, and OverSim (run ./configure and make) 74 74 }}} 75 75 76 76 10. Now adapt realdhtapp.ini on the second machine: 77 77 {{{ 78 - Replace the run number (''Run'' and ''default-run'')by a unique number for each node78 - Replace the seed-set by a unique number for each node 79 79 (Otherwise all nodes will have the same nodeID!) 80 80 - Set bootstrapIP to the IP of the first machine