Changes between Version 1 and Version 2 of GEC15Agenda/WiMAXTutorial/WSN
- Timestamp:
- 10/25/12 04:01:23 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC15Agenda/WiMAXTutorial/WSN
v1 v2 6 6 7 7 == Experiment Design == 8 ''' 9 Step 1''': Create the application that you want to run on the nodes. 8 9 '''Step 1''': Choose the application that you want to run on the WiMAX nodes (or create a new one) 10 10 11 11 In this case, we will run two applications: a ''sensor'' application that collects measurements from temperature, humidity, and light sensors attached to the node, and a ''wmxstat'' application that collects measurements about the state of the WiMAX link. 12 12 13 Both of these applications are Ruby scripts. 13 14 14 Both of these applications are Ruby scripts. 15 16 '''Step 2''': Instrument the applications with OML so that you can collect measurements from them during experiment runtime. 15 '''Step 2''': If you've written your own application, instrument it with OML so that you can collect measurements from it during experiment runtime 17 16 18 17 These applications were instrumented with the [https://rubygems.org/gems/oml4r oml4r] Ruby client library. … … 20 19 OML client libraries are also available for [http://pypi.python.org/pypi/oml4py/ Python] and [http://mytestbed.net/projects/oml/wiki/Client_Programming C or C++]. 21 20 22 === Experiment Requirements ===23 === Selecting Resources ===24 21 25 22 == Experiment Deployment == 23 24 '''Step 3''': Create a disk image with your applications installed 25 26 Log onto a testbed and load a baseline disk image onto a node: 27 {{{ 28 omf load -i baseline-witest.ndz -t omf.witest.node1 29 }}} 30 31 Log onto the node (''ssh root@node1'') and install your applications and any required files. 32 33 Then save your disk image: 34 {{{ 35 omf save -n omf.witest.node1 36 }}} 37 38 This can take a while, so we've already created a disk image for use in this tutorial. It's called '''gec15sensor.ndz''' 39 40 You can load this disk image onto any number of nodes, e.g.: 41 {{{ 42 omf load -i gec15sensor.ndz -t omf.witest.node1,omf.witest.node2,omf.witest.node3,omf.witest.node4,omf.witest.node5,omf.witest.node6,omf.witest.node7 43 }}} 44 45 46 26 47 === OML-enabled Applications === 27 48 === Custom Application ===