wiki:OTM-DOR

User Manual for archiving OnTimeMeasure measurement data along with meta-data into the GENI Measurement Data Archive

Prasad Calyam, Yingxiao Xu
June 28, 2011

Software License: 'GENI Project License (GPL)'

1. Overview

This document describes the use cases and features for archiving experiment slice measurement datasets along with meta-data collected by OnTimeMeasure into the GENI Measurement Data Archive being developed/hosted by Digital Object Registry(DOR).

2. Use Case

2.1 Use Case 1: Archive and Share Subsets of Experiment Results

  1. Researcher1 queries "measurement time series with forecasts" from experiment slice and clicks "Transfer" to send the measurement query results to the GENI Measurement Data Archive.
  2. Anyone who Researcher1 has authorized can access http://mda.doregistry.org/ manually or using API provided by DOR to download the archived results.

2.2 Use Case 2: Archive and Share Entire Experiment Slice Measurement Results

  1. Researcher1 clicks "Query Archive" button to instruct OnTimeMeasure to create a measurement archive file (i.e., mysqldump file). Subsequent click of "Transfer" button sends archive file along with meta-data to GENI Measurement Data Archive.
  2. Anyone who Researcher1 has authorized can access http://mda.doregistry.org/ manually or using API provided by DOR to download the archive file with entire experiment slice measurement results.

2.3 Use Case 3: Backup and Restore Entire Experiment Slice Measurement Results

  1. Researcher1 clicks "Query Archive" button to instruct OnTimeMeasure to create a measurement archive file (i.e., mysqldump export file). Subsequent click of "Transfer" button sends archive file along with meta-data to GENI Measurement Data Archive.
  2. If Researcher1 or anyone who Researcher1 has authorized wants to restore state of the experiment results to previous backup state, they can access http://mda.doregistry.org/ manually or using API provided by DOR to download the archive file. Subsequent import of the measurement archive file can be done using mysqldump utility or phpMyAdmin tool.

3. Operation with Researcher Web-portal (OnTimeBeacon)

Video of the operation of the use cases can be viewed at - http://ontime.oar.net/demo/archive_to_dor.htm

3.1 Archive Experiment Query Results to GENI Measurement Data Archive

  1. Visit http://ontime.oar.net/OTM_DOR/

Login with a "demo" username and corresponding password provided to you for testing purposes(Please contact Prasad Calyam (email: Prasad Calyam) for the password).

You can also test by creating your own slice, registering an account in http://ontime.oar.net/OTM_DOR/ and configuring your slice as described in http://groups.geni.net/geni/wiki/OnTime-Install

  1. Click "MEASUREMENT QUERY" on the left pane, select "query options" and "results type", and then click "Submit Query" button.

  1. The following UI will appear, you can either click "View Result" link to download the result or click the "Transfer" Button to send query result to GENI Measurement Data Archive.

  1. The following UI will appear to confirm the success of your operation.

3.2 Archive Experiment Slice Data along with Meta-Data to GENI Measurement Data Archive

  1. Visit http://ontime.oar.net/OTM_DOR/

Login with a "demo" username and corresponding password provided to you for testing purposes(Please contact Prasad Calyam (email: Prasad Calyam) for the password).

You can also test by creating your own slice, registering an account in http://ontime.oar.net/OTM_DOR/ and configuring your slice as described in http://groups.geni.net/geni/wiki/OnTime-Install

  1. Click "MEASUREMENT QUERY" on the left-pane, then click "Query Archive" button.

  1. The following UI will appear, you can either click "Download" link to download the archive file or click the "Transfer" button to send experiment slice data along with meta-data to GENI Measurement Data Archive.

  1. The following UI will appear to confirm the success of your operation.

3.3 Search and Download Archived Data from GENI Measurement Data Archive

Access http://mda.doregistry.org/ with your browser, input username (i.e., demo) as keyword, you can search and download data along with its meta-data. For more details on the DOR capabilities, please refer to http://www.doregistry.org/

4. Operation with Command-line Tool (OnTimeControl)

4.1 Archive Experiment Query Results to GENI Measurement Data Archive

Use "query.py" to query the measurement results from experiment slice and automatically download the results into a local folder. In addition to the download, a user can transfer measurement query results to the GENI Measurement Data Archive by using the -k parameter as follows:

-f from time "YYYY-MM-DD HH:MM:SS" in UTC
-t to time "YYYY-MM-DD HH:MM:SS" in UTC
-s source node name
-d destination node name
-m metric {RountTripDelay|Throughput|Loss|Jitter}
-r result type {RawFiles|TimeSeries|TimeSeriesPlusAnomalies|TimeSeriesPlusForecasts}
-k a key word to identify the measurement data object being archived

An example is as follows:

python query.py -f "2011-07-22 09:00:00" -t "2012-08-22 17:50:00" -s node1 -d node2 -m RoundTripDelay -r TimeSeries -k dordemo

In this example, two result files 20110722212234_Ping_RoundTripDelay.txt and 20110722212234_Ping_RoundTripDelay.png were created in the folder C:\OnTimeControl\results. The result files are also accessible from the URL http://mda.doregistry.org/ by typing in the key word as the search parameter.

4.2 Archive Experiment Slice Data to GENI Measurement Data Archive

Use "request_measurement_archive.py" to generate the measurement archive of the experiment slice data and automatically download the results into a local folder. In addition to the download, a user can transfer the experiment slice archive to the GENI Measurement Data Archive by using the -k parameter

An example is as follows:

python request_measurement_archive.py -k dordemo

In this example, a file MeasurementDump.gz was created in the folder C:\OnTimeControl\results. The result files are also accessible from the URL http://mda.doregistry.org/ by typing in the key word as the search parameter.

4.3 Search and Download Archived Data from GENI Measurement Data Archive

Access http://mda.doregistry.org/ with your browser, input the key word (i.e. "dordemo" in this example), you can search and download experiment query results or entire experiment slice measurement results. For more details on the DOR capabilities, please refer to http://www.doregistry.org/

Last modified 8 years ago Last modified on 08/18/11 17:53:31

Attachments (10)

Download all attachments as: .zip