Changes between Version 12 and Version 13 of P2pnsInstall


Ignore:
Timestamp:
Mar 22, 2009, 10:39:14 PM (15 years ago)
Author:
baumgart
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • P2pnsInstall

    v12 v13  
    2222}}}
    2323
    24 5. Edit !OverSim-20080919/Simulations/realworld/realdhtapp.ini and remove the bootstrap IP (since this is the first node in the overlay):
     245. Edit !OverSim-20090320/simulations/realworld/realdhtapp.ini and remove the bootstrap IP (since this is the first node in the overlay):
    2525{{{
    2626   bootstrapIP: replace the "10.6.0.1" by ""
     
    29296. Start !OverSim and click on the "FAST" button:
    3030{{{
    31   cd ~/sim/OverSim
    32   bin/OverSim -f Simulations/realworld/realdhtapp.ini
     31  cd ~/sim/OverSim-20090320/simulations/realworld
     32  ../../src/OverSim -f realdhtapp.ini
    3333}}}
    3434
     
    5555=== Emulation of additional nodes by using the tun interface (needs root privileges) ===
    5656
    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.
     575a. If you removed the bootstrapIP paramter from realdhtapp.ini earlier in step 5 restore the old "10.6.0.1" setting.
    5858
    59596a. Start !OverSim, enter your password and click on the "FAST" button on both !OverSim processes:
    6060{{{
    61   cd ~/sim/OverSim/Simulations/realworld
     61  cd ~/sim/OverSim-20090320/simulations/realworld
    6262  ./setup-realdht
    6363}}}
     
    6767=== Adding additional overlay nodes (you need multiple machines for this) ===
    6868
    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):
     699. Install !OverSim and OpenSER on a second machine. If you simply want to copy the !OverSim binary, please mind you also need to copy
     70all NED and ini files maintaining the directory structure and use static OMNeT++ libraries (unfortunately you can't make a static OpenSER binary):
    7071{{{
    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)
    7474}}}
    7575
    767610. Now adapt realdhtapp.ini on the second machine:
    7777{{{
    78   - Replace the run number (''Run'' and ''default-run'') by a unique number for each node
     78  - Replace the seed-set by a unique number for each node
    7979    (Otherwise all nodes will have the same nodeID!)
    8080  - Set bootstrapIP to the IP of the first machine