| 20 |  | In this exercise we will use a simple linear topology consisting of two !MobilityFirst routers (MFR) that interconnect two hosts: Host1 will initiate a 'ping' communication and Host2 will respond to the ping request: | 
          
            | 21 |  |  | 
          
            | 22 |  | [[Image(Tutorials/oMF:MFTurorialNetwork.png)]] | 
          
            |  | 15 | In this exercise we will use a simple linear topology consisting of two !MobilityFirst routers (MFR) that interconnecting two hosts: Host1 will initiate a 'ping' communication and Host2 will respond to the ping request. | 
          
            |  | 16 |  | 
          
            |  | 17 | [[Image(MFTutorialNetwork.png)]] | 
          
            |  | 18 |  | 
          
            |  | 19 | The two hosts will use !WiFi to connect to the edge routers (i.e. they are considered to be "mobile"). | 
          
            |  | 20 |  | 
          
            |  | 21 | This tutorial is assuming use of grid resources which is not a strict a requirement i.e. for the successful execution of this experiment any sandbox with at least 4 nodes could be used (i.e. sb4, sb9, etc.) | 
          
            |  | 22 | Note: This tutorial won't work on SB9 without modification since SB9 nodes don't have WiFi devices. | 
        
        
          
            | 28 |  | A typical Orbit experiment requires the following six steps: | 
          
            | 29 |  |  | 
          
            | 30 |  | 1. [[CollapsibleStart(Create resource reservation)]][[Include(Documentation/Short/CreateRes)]][[CollapsibleEnd]] | 
          
            | 31 |  |  | 
          
            | 32 |  | 2. [[CollapsibleStart(Login into reserved domain: "ssh username@sb1.orbit-lab.org")]][[Include(Documentation/Short/Login)]][[CollapsibleEnd]] | 
          
            | 33 |  |  | 
          
            | 34 |  | 3. [[CollapsibleStart(Load an image on the nodes: "omf load -i baseline.ndz -t all")]] [[Include(Documentation/Short/LoadImage)]][[CollapsibleEnd]] | 
          
            | 35 |  |  | 
          
            | 36 |  | 4. [[CollapsibleStart(Turn the nodes on: "omf tell -a on -t all")]][[Include(Documentation/Short/TellOn)]][[CollapsibleEnd]] | 
          
            | 37 |  |  | 
          
            | 38 |  | 5. [[CollapsibleStart(Execute the experiment: "omf exec test:exp:tutorial:hello-world-wireless -- --res1 node1-1.sb1.orbit-lab.org --res2 node1-2.sb1.orbit-lab.org")]][[Include(Software/cOMF/aExec)]][[CollapsibleEnd]] | 
          
            | 39 |  |  | 
          
            | 40 |  | 6. Analyze the results | 
          
            | 41 |  |  | 
          
            | 42 |  | While, most of the experiments follow the presented structure, for this specific tutorial some simplifications have been applied. | 
          
            | 43 |  |  | 
          
            | 44 |  | From now on, the following assumptions are considered: | 
          
            | 45 |  |  | 
          
            | 46 |  | * You will be working with resources belonging to the Orbid grid. | 
          
            | 47 |  | * You have been assigned a group number, username and password. | 
          
            | 48 |  |  | 
          
            | 49 |  | While for this experiment we are using the grid, it is not a strict a requirement and for the successful execution of the experiment any sandbox with at least 4 nodes could be employed (i.e. sb4, sb9, etc.) | 
          
            | 50 |  | Note: This tutorial won't work on SB9 because SB9 currently doesn't have WiFi. | 
          
            | 51 |  |  | 
          
            | 52 |  | First of all, log in into the grid console using SSH: | 
          
            | 53 |  |  | 
          
            | 54 |  | {{{ | 
          
            | 55 |  | #!sh | 
          
            | 56 |  |  | 
          
            | 57 |  | ssh username@console.grid.orbit-lab.org | 
          
            | 58 |  | }}} | 
          
            | 59 |  |  | 
          
            | 60 |  | For simplicity, open 3 different consoles on your laptop and access the grid's console with all of them; you will need them in the continuation of the exercise. | 
          
            | 61 |  | From the console we will start loading the !Mobilityfirst image into the four nodes that have been assigned to you: | 
          
            | 62 |  |  | 
          
            |  | 28 | ==== Experiment Execution ==== | 
          
            |  | 29 |  | 
          
            |  | 30 | As is the case with every ORBIT based experiment, it starts with [wiki:Tutorials/a0Basic/Tutorial1 the first four of the six step experiment lifecycle]. Once your grid reservation is approved, log in into the grid console using SSH: | 
          
            |  | 31 | {{{ | 
          
            |  | 32 | #!sh | 
          
            |  | 33 |  | 
          
            |  | 34 | ssh your_user_username@console.grid.orbit-lab.org | 
          
            |  | 35 | }}} | 
          
            |  | 36 |  | 
          
            |  | 37 | For simplicity, open 3 simultaneous sessions on your local machine and access the grid's console with all of them; you will need them in the continuation of the exercise. | 
          
            |  | 38 |  | 
          
            |  | 39 | In one of the consoles we will start loading the !Mobilityfirst image into the four nodes that have been assigned to you: |