FREE ELECTRONIC LIBRARY - Theses, dissertations, documentation

Pages:     | 1 ||

«•  NITOS aims to provide a Video Framework to support: •  Monitoring and capturing real time video streams •  QoS for video streaming in ...»

-- [ Page 2 ] --

–  The experimenter’s interface to the testbed –  Receives an ED and orchestrates the experiment by sending the appropriate commands to the resources (configura7on instruc7ons, applica7on invoca7ons) –  Users can also perform certain management ac7ons, as the EC communicates with the AM –  It can be installed on the user’s PC or run via some testbed portal server Architecture – Components (III) •  Resource Controller (RC):

the soGware component that must be installed in the soGware image of a resource, in order for it to par7cipate in OMF experiments •  It receives commands from the EC, executes them (configures resources, invokes local applica7ons) and reports back its state •  It can be easily extended to provide support for new resources, by adding Ruby wrappers around the respec7ve resource configura7on u7li7es/tools Architecture Communica7on •  XMPP message protocol (an open technology for 7me communica7on) and its associated subscribe mechanism is used for the communica7on between the different soGware components of OMF •  An XMPP server, which is accessible by the OMF en77es, serves as the messaging relay for them •  XMPP offers authen7ca7on between XMPP clients and XMPP server, however authen7ca7on support between clients is not supported and must be provided independently Architecture Communica7on • Each en7ty (EC, RC, AM) is subscribed to one or more PubSub groups • En77es post messages to a specific PubSub group • Each en7ty receives messages for the group(s) it has subscribed to • During an experiment, an specific XMPP group is created (and also some groups for groups of nodes in the ED) and all the involved par7es subscribe to it XMPP PubSub server(s) Resource Experiment Controller ED Controller Aggregate Manager User Interface •  User only interacts with the EC •  Currently through terminal commands omf


executes an ED (op7onal extra


slicename, exp_ID, experiment proper7es, etc.) omf


installs an image into a resource (Frisbee is used for fast imaging) omf


saves a resource image into a testbed repository (compressed into a.ndz file) omf


turns power on/off, reboots resources (CM service) omf


returns the state of resources OEDL •  OEDL (OMF Experiment Descrip7on Language) is a specific high level language.

•  It is based on the Ruby language, but one doesn’t have to learn Ruby in order to use it.

•  We use it to


–  Resource requirements for our experiment (must be a subset of the resources we have reserved).

–  Ini7al configura7on (e.g.

nodeX is in AP mode, all nodes use channel 11, etc.).

–  The different tasks to be performed in order to realize the experiment (e.g.

applica7on Y starts at t0 and runs for 60 seconds).

Basics •  The experiment is described within a script saved somewhere in the console with an.rb extension, e.g.

/home/thanasis/myscript.rb •  Then you can execute it as


–  omf exec /home/thanasis/myscript.rb or –  omf exec home:thanasis:myscript Defining Groups •  The method defGroup defines a group of resources.

For example, a common dis7nc7on is between sources (which send traffic) and sinks (which receive traffic).

•  The basic syntax is as in the following


defGroup (‘source’, [1, 1] ) { |node| ……..

group_configuraLons……… } •  In this example, we define a group named source containing only a single node.

Group configura7ons •  Let’s see what kind of configura7ons we can place within the curly braces.

•  In our example, we want the node [1, 1] to send traffic, so we need a traffic generator.

OMF has prototyped the most common applica7ons used in experiments.

In this case, we can use the test:proto:udp_sender prototype, which generates constant bitrate traffic.

•  We can set the applica7on’s parameters, as shown in the following slide.

Group configura7ons •  We declare the prototype we described along with its parameters, as


node.prototype (“test:proto:udp_sender”, { ‘desLnaLonHost’ = ‘’, ‘localHost’ = ‘’, ‘packetSize’ = 256 #in Bytes ‘rate’ = 8192 # in bits/sec } ) Group configura7ons •  Another configura7on for the nodes of a group is the mode of wireless opera7on.

•  For example, if we want our source node to be in master point) mode, we can declare it as


node.net.w0.mode = “master” •  Other possible modes are “adhoc” and “managed”.

Defining groups •  Summarizing, the en7re command for defining the source group in our example would be defGroup (‘source’, [1, 1] ) { |node| node.prototype (“test:proto:udp_sender”, { ‘desLnaLonHost’ = ‘’, ‘localHost’ = ‘’, ‘packetSize’ = 256, ‘rate’ = 8192 }) node.net.w0.mode = “master” } Defining groups •  In the same fashion, we can create a group for sink nodes as


defGroup (‘sink’, [1, 2] ) { |node| node.prototype (“test:proto:udp_receiver”, { ‘localHost’ = ‘’ } ) node.net.w0.mode = “managed” } Global configura7ons •  We’ll probably need to set some common global configura7ons on all of the nodes in our experiment, e.g.

make them use the same channel.

We can do that as


allGroups.net.w0 { |w| w.type = ‘g’ w.channel = “6” w.essid = “helloworld” w.ip = “%192.168.0.%y” } •  Of course, we can set these agributes individually for each group of resources within the defgroup block, just as we saw before Defining tasks •  In the last part of the script we must define the tasks we want to be performed in order to carry out our experiment.

•  In general, in this part we define a set of commands to be executed, when the experiment enters a par7cular state.

•  In our simple example, we’ll use one state, the one reached when –  all the nodes are turned on –  they have received their configura7on seings –  they have the requested applica7ons installed Defining tasks •  A simple experiment could be like


whenAllInstalled() { |node| wait 30 allGroups.startApplicaLons wait 20 Experiment.done } •  Comments:

–  The first wait command tells the system to suspend the execu7on for 30 seconds.

We do that to give 7me to the nodes to reach their desired configura7on.

–  The experiments ends with a call to Experiment.done Collec7ng Experiment Measurements (OML) Handling Measurements OML •  OML stands for OMF Measurement Library •  It is a companion soGware framework for OMF, focused on suppor7ng the lifecycle of measurement data,


Genera7on and capturing –  Processing – Filtering –  Collec7on –  Storage –  •  It can also be used independently of OMF, in any environment where devices connected to a network generate measurements Handling Measurements OML • OML


responsible of gathering the measurements and storing them in a database • OML


soGware library for injec7ng measurements generated at measurement points (MP) inside applica7ons into streams towards the OML server OML Architecture Experiment ID •  Every single experiment has its own unique ID, e.g.

npc_2009_11_27_18_09_52 •  Every single experiment has its own SQLite database, where the measurements collected are gathered.

For the above experiment, that would be npc_2009_11_27_18_09_52.sq3 •  These databases can be found in the /tmp directory of the console server.

How do I know my experiment’s ID?

•  AGer execu7ng an experiment script, you get output on your screen like the one below.

Make a note of your experiment’s ID, in order to look for its database.

How do I access the results?

•  There are several


1.  Using the ‘Result’ service provided by the Aggregate Manager.

2.  Using SQLite3 directly.

3.  Expor7ng the SQL database to a text file.

•  We’ll only describe op7on 1 here.

You can check the OMF website to see how you can use op7ons 2 and 3.

The ‘Result’ Service •  Open your web browser and type the address hhp:// •  Or, since you’re probably in the console server, you can type wget "hhp://localhost:5022/result/" O – •  In both cases, what you’ll get on your screen is an XML representa7on of the available funcLons in the ‘Result’ service.

The ‘Result’ Service Func7ons •  dumpDatabase:

Dump the complete database holding the measurement results for a given experiment.

•  getSchema:

Get the Schema of a given experiment measurement database.

•  listTables:

Get the list of tables in given experiment measurement database.

•  queryDatabase:

Run a specific formaged query against the database.

How do I call these func7ons?

•  wget "hgp://localhost:5022/result/dumpDatabase?expID= npc_2009_11_27_18_09_52" O myMeasures.sq3 –  This command will dump the en7re Database of the experiment in the file myMeasures.sq3 •  wget O myResult.txt "hgp://oml:5022/result/ queryDatabase?expID=npc_2009_11_27_18_09_52 &query=Select * from otg2_udp_out limit 3" –  This command will place the results of the specified query on the database in a file called myResult.txt •  The replies from the ‘Result’ Service are XML formahed.

•  You can learn the basic syntax of SQL queries through the Internet.

There are a lot of tutorials online.

The ‘HelloWorld’ example •  In the case of the ‘HelloWorld’ experiment we discussed a while ago, the resul7ng database will consist of two


–  'otg2_udp_out‘ –  'otr2_udp_in‘ •  The first table contains an entry (row) for every UDP packet sent out by the traffic generator, running on the ‘source’ node.

•  The second table contains an entry for every UDP packet received by the traffic receiver, running on the ‘sink’ node.

The ‘HelloWorld’ example •  Some of the fields of the 'otr2_udp_in‘ table are the


–  dst_host Packet/Applica7on


des7na7on host from the packet in this measurement –  pkt_length Packet/Applica7on


length of the packet in this measurement –  seq_no Packet/Applica7on


sequence number that was set inside the packet in this measurement –  ts Packet/Applica7on


7mestamp that was set inside the packet in this measurement •  In general, one can see all the tables in a database through the listTables func7on and see a descrip7on of the tables through the getSchema func7on.

Measurement Points •  Measurement points can be defined as the stages at which the measurements are to be collected.

•  They are C structures, in which a set of measurements is defined as a standard variable data type (e.g.

long, double).

•  The measurements we saw earlier derive from default measurement points already existent in the prototyped applica7ons.

•  You can define custom measurement points within the source code of the applica7ons that are part of the experiment.

•  Adding your own measurement points requires some knowledge of C.

You’ll find instruc7ons


hgp://omf.mytestbed.net/wiki/omf/Collec7ng_Measurements Experiment Lifecycle All the procedures described fit together to create the experiment lifecycle in an



omf.mytestbed.net Some extra


OMF graph visualiza7on tool • A graphical visualiza7on tool allows for 7me monitoring of the measurements collected by the OML server as part of an experiment • This feature has been available as part of OMF EC’s web interface.

It will soon evolve as a standalone visualiza7on feature of OMF Some extra


support for disconnected experiments •  In experiments involving mobility, some resources may move out of the range of the control and measurement collec7on network for a frac7on of the experiment dura7on •  In order to support seamless collec7on of measurements from these resources, a proxy server is available as part of the OML client soGware.

In case of disconnec7on, measurements are buffered in it locally, un7l the resource returns within the control network’s range Summary •  OMF/OML


–  Centralized control of experiments, minimiza7on of user effort –  A basis for experiment reproducibility through defined experiment scripts –  Efficient management of resources –  Modular structure, support for new resources/apps can be easily added structured architecture, support for federa7on Reference Website •  nitlab.inf.uth.gr •  omf.mytestbed.net Thank You!

Pages:     | 1 ||

Similar works:

«BWV 56 “Ich will den Xstab gerne tragen” An Attempt to Trace the Symbols and Other Poetic Expressions in the Libretto Back to Their Original Sources 1 Thomas Braatz © 2014 It should come as no surprise to anyone that, in the first half of the 18th century, portions of a sacred cantata’s text can be taken directly or even indirectly from the Bible. What is unusual about text of BWV 56 is the sheer density of references which is complemented by the powerful intensity and beauty of Bach’s...»

«neumáticos coche baratos neumáticos coche baratos Neumaticos baratos Especialista en neumaticos baratos para coches, motos y furgonetas, les ofrece sus servicios de mecanica rapida y ofertas en neumaticos en Malaga Neumáticos online baratos comprar Comparación de precios, siempre las mejores ofertas en tiendas en linea para neumáticos, llantas y accesorios de coche. Siempre los mejores proveedores Neumáticos de coche baratos Venta de neumáticos de coche baratos. Tienda de neumáticos...»

«Research program: “Theories of computations for continuous systems. Applications to models of computations, to distributed computing, and to algorithmic complexity.” Olivier Bournez February 15, 2016 1 Preamble This document presents my research program on theories of computations for continuous systems, and their applications to models of computations, to algorithmic complexity of problems in verification and control theory, and to distributed computing. I first present theories of...»

«Dainty Tote A Mini Quilted Tote Tutorial By Three Owls Handmade This is a small, but fairly deep bag (hence the name Dainty Tote). The handles are short, with a 4 handle drop to carry in your hands or on your forearm. Strap length can be easily adjusted. There are some curved seams with binding that make for interesting wrangling, but it is completely doable. I am giving instructions for a zip top panel, but if you are deathly afraid of zippers, you can substitute the zipper for a magnetic...»

«UNITED STATES NUCLEAR REGULATORY COMMISSION REGION IV 1600 E LAMAR BLVD ARLINGTON, TX 76011-4511 April 3, 2014 EA-13-201 Louis P. Cortopassi, Vice President and Chief Nuclear Officer Omaha Public Power District Fort Calhoun Station FC-2-4 P.O. Box 550 Fort Calhoun, NE 68023-0550 SUBJECT: FORT CALHOUN – MANUAL CHAPTER 0350 TEAM INSPECTION REPORT NO. 05000285/2013013 AND NOTICE OF VIOLATION Dear Mr. Cortopassi: On February 18, 2014, the U.S. Nuclear Regulatory Commission (NRC) completed a team...»

«Informe sobre Talleres Clandestinos en la Ciudad de Buenos Aires 29 de Agosto de 2006 Introducción: Este informe se produce a partir del estado público que toma la situación de ciudadanos bolivianos explotados laboralmente en talleres clandestinos de la Ciudad de Buenos Aires. Se realizó un estudio sobre el problema estructural, a partir del cual se instalan y funcionan los talleres clandestinos, con el objetivo de poder deslindar la dimensión fáctica del fenómeno. El trabajo fue...»

«AMR‐09‐0402.R2 Comments to editors and reviewers    I have now received and considered the reviews of your revised manuscript submitted to Academy of Management Review “HUMAN RESOURCE SYSTEMS AND HELPING IN ORGANIZATIONS: A RELATIONAL  PERSPECTIVE” (Manuscript AMR‐09‐0402.R1). All three of your reviewers agree that your manuscript ...»

«Privacy Impact Assessment for the Standard Management Analysis Reporting Tool (SMART) DHS/USCIS/PIA-050 August 27, 2013 Contact Point Donald Hawkins Privacy Officer U.S. Citizenship and Immigration Services (202) 272-8030 Reviewing Official Jonathan R. Cantor Acting Chief Privacy Officer Department of Homeland Security (202) 343-1717 Privacy Impact Assessment USCIS, SMART Page 1 Abstract The Department of Homeland Security (DHS), United States Citizenship and Immigration Services (USCIS),...»

«CORPORATE TRAVEL NEWSLETTER May 20, 2016 Southwest Airlines Launching Five New Routes Southwest Airlines has revealed the launch of five new routes beginning later this year. All new flights begin on November 6, and three of the routes are from each of the three Washington DC-area airports. Southwest announced a daily Washington Dulles-Orlando flight, twice daily from Washington Reagan National to Providence, and daily from Baltimore to San Jose, CA. Additionally, San Jose-Salt Lake City and...»

«Cathy L. Silber csilber@skidmore.edu 518-580-5227 Dept. of Foreign Languages and Literatures 17 Hillside Ave. Skidmore College Saratoga Springs, NY 12866 Saratoga Springs, NY 12866 518-306-6362 EDUCATION Intercultural Communication Institute Summer Institute, Portland, OR July 2009 University of Michigan, Ann Arbor, MI Ph.D., Asian Languages and Cultures: Chinese 1995 Dissertation: Nüshu (Chinese Women’s Script) Literacy and Literature University of Iowa, Iowa City, IA Coursework in cultural...»

«SHORT FORM ORDER SUPREME COURT STATE OF NEW YORK COUNTY OF NASSAU HON. ZELDA JONAS Present: Justice TRIAL/IAS PART 26 ROSEMARIE RUSSO, Plaintiff, Index # 18519/99 Sequence #:1 & 2 against Motion Date: March 13,2002 JILL CACOSSA d/b/a JILL CACOSSA STABLES, INC. and ERIK HIMELEIN, Defendants..1 Notice of Motion ’. Affirmation in Opposition Affirmation in Reply.4 Notice of Cross Motion Affirmation in Opposition.6 Reply Affirmation Memorandum of Law of Defendant..7 Motion by defendant, Jill...»

«SINGUR AND NANDIGRAM AND THE UNTOLD STORY OF CAPITALISED MARXISM Editors Editors :: Editors Editors Dola Sen Dola Sen Debasish Bhattacharya Debasish Bhattacharya Our big ‘No’ to unstable market-centered development at the cost of stable people-oriented development First Edition : 30th January, 2007 Acknowledgement For a publication of this nature – where interactions with thousands of people took place and contributions received, it is impossible to thank each one individually, nor, do we...»

<<  HOME   |    CONTACTS
2016 www.theses.xlibx.info - Theses, dissertations, documentation

Materials of this site are available for review, all rights belong to their respective owners.
If you do not agree with the fact that your material is placed on this site, please, email us, we will within 1-2 business days delete him.