Changes between Version 8 and Version 9 of tutorials/mf-exp1


Ignore:
Timestamp:
May 5, 2020, 3:50:35 PM (4 years ago)
Author:
pnetalkar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • tutorials/mf-exp1

    v8 v9  
    1 Tutorials on running simple mfping application using mobilityfirst routers, host stack and GNRS.
     1=== Description ===
     2The MobilityFirst project was started in 2010 with funding from the National Science Foundation's Future Internet Architecture (FIA) program as one of the four clean-slate architectures.The major design goals of the architecture are:
     3* Mobility as a norm with dynamic host and network mobility at scale
     4* Robustness with respect to intrinsic properties of wireless medium
     5* Trustworthiness in the form of enhanced security and privacy for both mobile networks and wired infrastructure
     6* Support for context-aware pervasive mobile services, evolvable network services, manageability and economic viability
     7
     8This tutorials describes running simple mfping application using mobilityfirst routers, host stack and GNRS with ethernet, WiFi and OAI interfaces.
     9
     10=== Requirements ===
     11Five nodes are required to run this experiment (currently ORBIT SB4 is used as described below).
    212
    313=== Set up ===
    4141. In order to access the test bed, create a reservation and have it approved by the reservation service.
    5152. Access to the resources are granted after the reservation is confirmed.
    6 3. Please follow the process shown on the COSMOS workflow page to get started (currently ORBIT sb4 is used for the experiments described below).
     163. Please follow the process shown on the COSMOS/ORBIT workflow page to get started .
    717
    818= Experiment 1 (Ethernet Interfaces) =
     
    2333}}}
    2434
    25 3. Open separate terminals for each of the nodes either using mobaxterm or putty
     353. Open separate terminals for each of the nodes either using mobaxterm or putty. Also, in our above topology {{{eth1}}} represents core interface and {{{eth0}}} represents edge interface.
    2636
    27 4. Configuration of GNRS
     374. Download the bash script into your console environment
     38{{{
     39console:~$ git clone https://gitlab.orbit-lab.org/pnetalkar/cosmos-mf-tutorial.git
     40}}}
     41
     425. Configuration of GNRS
    2843* Login into the GNRS node (node1-8 in this case) {{{console:~$ ssh root@node1-8}}}
    2944* Change the ipv4 address in {{{vim ~/mf/gnrs/jserver/sample-configs/single-server/net-ipv4.xml}}} file to X.X.X.X (eth1 address – 10.14.1.8)
    3045* Change the ipv4 address and the binding port in {{{vim ~/mf/gnrs/jserver/sample-configs/single-server/as-binding.ipv4}}} file to X.X.X.X (eth1 address-10.14.1.8)
    31 
    32 5. Download the bash script into your console environment
    33 {{{
    34 console:~$ git clone https://gitlab.orbit-lab.org/pnetalkar/cosmos-mf-tutorial.git
    35 }}}
    3646
    37476. Run/Execute the scripts present in {{{exp1}}} folder from the console (see below for more instruction)
     
    7888}}}
    7989
     90{{{
     91console:~/cosmos_tutorial/exp1$./copy_hostconf.sh
     92}}}
     93
    809411. Run ./start_gnrs.sh to start the GNRS at node1-8
    8195{{{
     
    8397}}}
    8498
    85 Verify the status of the GNRS using command: {{{root@node1-8:~# tail -f /var/log/mfgnrs.log}}} at node1-8
     99         Verify the status of the GNRS using command: {{{root@node1-8:~# tail -f /var/log/mfgnrs.log}}} at node1-8
    86100
    8710112. Run ./start_routers.sh to start the routers on node1-4 and node1-7.
     
    90104}}}
    91105
    92 Verify the status of the routers using command: {{{root@node1-4:~# tail -f /var/log/mfrouter2.log}}} to read the logs of router with id 2 and {{{root@node1-7:~# tail -f /var/log/mfrouter3.log}}} to read the logs of router with id 3.
     106         Verify the status of the routers using command: {{{root@node1-4:~# tail -f /var/log/mfrouter2.log}}} to read the logs of router with id 2 and {{{root@node1-7:~# tail -f /var/log/mfrouter3.log}}} to read the logs of router with id 3.
    93107
    9410813. Run ./start_hosts.sh to start the host on node1-3, node1-6 respectively.
     
    96110console:~/cosmos_tutorial/exp1$./start_hosts.sh
    97111}}}
    98 Use the command {{{root@node1-3:~# tail -f /var/log/mfhost1.log}}} and {{{root@node1-6:~# tail -f /var/log/mfhost4.log}}} to read the logs/status of host with id 1 and id 4 respectively.
     112         Use the command {{{root@node1-3:~# tail -f /var/log/mfhost1.log}}} and {{{root@node1-6:~# tail -f /var/log/mfhost4.log}}} to read the logs/status of host with id 1 and id 4 respectively.
    99113
    100114=== Running MFPING ===
    101 1. At Host 4: Server(Start the server first)
     1151. At Host 4: Server (Start the server first)
    102116{{{
    103117root@node1-6:~# mfping -m 4 -o 1 -s -d
     
    109123}}}
    110124
    111 3. Use the stop script to stop the respective host, routers and GNRS
     1253. Stop scripts can be used to stop the respective host, routers and GNRS
    112126{{{
    113127console:~/cosmos_tutorial/exp1$./stop_gnrs.sh