Changes between Version 37 and Version 38 of Tutorials/oMF/tut1
- Timestamp:
- Dec 3, 2016, 12:26:40 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/oMF/tut1
v37 v38 24 24 ==== !MobilityFirst ORBIT Image ==== 25 25 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 1 2.04 LTS distribution and will be moved to newer distributions as they become available and we have had a chance to test compatibility.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 14.04 LTS distribution and will be moved to newer distributions as they become available and we have had a chance to test compatibility. This tutorial image is made under the assumption that a fixed set of VLANs is used for topology creation and will need to be modified for different execution environments. 27 27 28 28 ==== Experiment Execution ==== … … 41 41 #!sh 42 42 43 omf load -i 'mf-release-latest.ndz' -t system:topo:mf-groupX 44 }}} 45 46 ''system:topo:mf-groupX '' represents the topology of 4 nodes that has been assigned to you're group and ''mf-groupX'' has to be replaced by the group id assigned to you (i.e. 01,02,...).43 omf load -i 'mf-release-latest.ndz' -t system:topo:mf-groupXX 44 }}} 45 46 ''system:topo:mf-groupXX'' represents the topology of 4 nodes that has been assigned to you're group and ''mf-groupXX'' has to be replaced by the group id assigned to you (i.e. 01,02,...). 47 47 48 48 For example, ''mf-group01'' will load the image on nodes 'node20-20,node20-19,node19-19,node19-20' 49 49 50 If ''system:topo:mf-groupX '' doesn't work for you, replace that part with a list of four nodes: ''node1-1,node1-2,node1-3,node1-4''50 If ''system:topo:mf-groupXX'' doesn't work for you, replace that part with a list of four nodes: ''node1-1,node1-2,node1-3,node1-4'' 51 51 52 52 If at the end of the execution, the final output of your console looks similar to: … … 268 268 269 269 270 ===== Turning on nodes ===== 271 272 First of all you will first need to turn your assigned nodes on: 273 274 {{{ 275 #!sh 276 omf tell -a on -t system:topo:imaged 277 }}} 278 279 ===== Configuring the topology ===== 280 281 ====== Configure VLAN interfaces on the nodes ====== 282 283 On all nodes prepare '''/etc/network/interfaces''' and add VLAN based interfaces based on your group. The file should look like this: 284 285 {{{ 286 auto eth0.1XX1 287 iface eth0.1XX1 inet static 288 289 auto eth0.1XX2 290 iface eth0.1XX2 inet static 291 292 auto eth0.1XX3 293 iface eth0.1XX3 inet static 294 }}} 295 296 where XX is your group number (i.e. 01,02,03,..). 297 298 ====== Configure MF components to use appropriate VLANs ====== 299 300 The assumption is that the routers will be using VLAN 1XX1, and clients VLANs 1XX2 and 1XX3. 301 Edit file '''/usr/local/src/mobilityfirst/eval/orbit/tutorial/conf/hoststack2.conf''' on all four nodes to assign appropriate VLANs based on the instructions from the script. 302 270 303 ===== Executing the script ===== 271 272 First of all you will first need to turn your assigned nodes on:273 274 {{{275 #!sh276 omf tell -a on -t system:topo:imaged277 }}}278 304 279 305 All the aggregated definitions just presented are included in a single script that you have to download to your grid console. In order to download it to your console, copy and paste the following command: