Changes between Version 33 and Version 34 of Tutorials/oMF/tut1
- Timestamp:
- May 5, 2015, 2:29:32 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/oMF/tut1
v33 v34 1 = Exercise 1: Simple !MobilityFirst Network Deployment and Test=1 == Exercise 1: Simple !MobilityFirst Network Deployment and Test == 2 2 3 3 [[TOC(Tutorials/oMF*, depth=2)]] 4 4 5 5 6 == !Design/Setup ==7 8 === Objective===6 === !Design/Setup === 7 8 ==== Objective ==== 9 9 10 10 In this exercise we will establish a simple topology consisting of !MobilityFirst routers, hosts and applications, deploy the software components onto physical nodes, and run an end-to-end 'ping' application. At the end of the exercise, you should expect to acquire a general knowledge of the !MobilityFirst software components and how to deploy and configure them using the Orbit testbed. 11 11 12 === Pre-requisites===12 ==== Pre-requisites ==== 13 13 14 14 * Experimenters are expected to have basic networking knowledge and familiarity with Linux OS and some of its tools (command line tools, ssh, etc.). … … 16 16 * Some familiarity with the !MobilityFirst terminology. 17 17 18 === Topology===18 ==== Topology ==== 19 19 20 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: … … 22 22 [[Image(Tutorials/oMF:MFTurorialNetwork.png)]] 23 23 24 === !MobilityFirst ORBIT Image===24 ==== !MobilityFirst ORBIT Image ==== 25 25 26 26 The complete set of components from the latest release of the !MobilityFirst software is available as a compressed image within the ORBIT testbed for imaging nodes using the 'OMF' tool. The current pre-prepared image is built over Ubuntu 12.04 LTS distribution and will be moved to newer distributions as they become available and we have had a chance to test compatibility. … … 89 89 your nodes have been imaged correctly. 90 90 91 === Deploy Network===91 ==== Deploy Network ==== 92 92 93 93 Software and experiment control in the ORBIT testbed can be automated greatly using the OMF framework. An OMF control script is written in Ruby and allows the experimenter to specify the set of nodes, their network configuration, to specify software components and arguments, and to control their execution on one or more nodes. We will use an OMF script to bring up 4 ORBIT nodes to host our topology, with the corresponding software components. … … 95 95 We will first introduce the main details of the scripts that will be run and then we will step to the execution process itself. 96 96 97 ==== Software Component Specification====97 ===== Software Component Specification ===== 98 98 99 99 The following snippet shows the specification of the !MobilityFirst components along with the required arguments. A typical application will have at least a brief description, a path for the associated binary to execute and a list of properties that correspond to the parameters that will be passed once starting the executable. … … 150 150 * Most of the client settings are located in a configuration file pre-loaded on the ORBIT image in the folder ''/usr/local/src/mobilityfirst/eval/orbit/conf/''. 151 151 152 ==== Setting up the Software Node Groups====152 ===== Setting up the Software Node Groups ===== 153 153 154 154 The following snippet shows how the node groups for the routers are setup in the OMF control scripts. Node groups allow experimenters to use single statements to set configuration (e.g. network interfaces) and execute commands across all nodes belonging to the group. … … 238 238 239 239 240 == Execute==241 242 ==== Starting the !MobilityFirst Components====240 === Execute === 241 242 ===== Starting the !MobilityFirst Components ===== 243 243 244 244 The final part of the experiment script is dedicated to the execution events and commands. The following snippet shows the starting of the router software, the gnrs server and the client network protocol stack: … … 288 288 289 289 290 ==== Executing the script====290 ===== Executing the script ===== 291 291 292 292 First of all you will first need to turn your assigned nodes on: … … 365 365 * The GUIDs assigned to the nodes can be seen. For this particular snippet, the routers (nodes1-1 and 1-2 on the grid) are assigned GUID 1 and 2, and the hosts (nodes2-1 and 2-2 on the grid) have GUID 101 and 102. Since we have a simple topology in this experiment, only a single instance of GNRS server is running, which as shown above is hosted by router with GUID 1. 366 366 367 === Test The Network===367 ==== Test The Network ==== 368 368 369 369 Before proceeding to the next step, make sure your OMF script has reached the line: … … 421 421 422 422 423 == Finish==423 === Finish === 424 424 425 425 Once the application has successfully completed its task, follow these steps to complete the experiments: … … 428 428 This will stop all the applications and will conclude the experiment. 429 429 430 === References===430 ==== References ==== 431 431 432 432 For more information regarding the !MobilityFirst project, visit the project page: http://mobilityfirst.winlab.rutgers.edu/