| 1 | = !OnTimeMeasure Early Integration Efforts with Instrumentation Tools = |
| 2 | '''Prasad Calyam, Rohit Patali, Yingxiao Xu'''[[BR]] |
| 3 | '''January 15, 2012'''[[BR]] |
| 4 | |
| 5 | ''Software License:'' [http://www.geni.net/wp-content/uploads/2009/02/geniprojlic.pdf ''GENI Project License (GPL)''] [[BR]] |
| 6 | ''For questions regarding this document, please contact - Rohit Patali rpatali@oar.net'' |
| 7 | |
| 8 | == 1. Overview == |
| 9 | |
| 10 | !OnTimeMeasure can provide measurement service that can be used to perform centralized and distributed orchestration and provisioning of active measurements within experiment slices for purposes such as: |
| 11 | |
| 12 | * Network paths monitoring |
| 13 | * Network weather forecasting |
| 14 | * Network performance anomaly detection |
| 15 | * Network-bottleneck fault-location diagnosis |
| 16 | For more details regarding !OnTimeMeasure please visit [http://groups.geni.net/geni/wiki/OnTimeMeasure OnTimeMeasure Wiki]. |
| 17 | |
| 18 | Instrumentation Tools can provide passive measurement services within your experimental slices for purposes such as: |
| 19 | |
| 20 | * CPU and Memory Utilization |
| 21 | * ARP Cache, TCP streams, UDP listeners, Process list, Installed kernel modules, Routing table |
| 22 | * IC, ICMP, TCP, UDP, Link-specific Unicast, Total network traffic |
| 23 | For details regarding Instrumentation Tools please visit [http://groups.geni.net/geni/wiki/InstrumentationTools Instrumentation Tools Wiki][[BR]] |
| 24 | |
| 25 | This document describes our early efforts of integrating !OnTimeMeasure with Instrumentation Tools.[[BR]] |
| 26 | |
| 27 | == 2. Integration Steps : == |
| 28 | |
| 29 | Follows http://protogeni.net/tutorial.html and http://protogeni.net/flack to get slice with INSTOOLS installed. |
| 30 | |
| 31 | Access the Live View in browser with UI below. |
| 32 | |
| 33 | [[Image(image001.png,50%)]] |
| 34 | |
| 35 | === 2.2 Slice Configuration and !OnTimeMeasure Installation === |
| 36 | |
| 37 | Install !OnTimeMeasure as instructed in http://groups.geni.net/geni/wiki/OnTime-Install. |
| 38 | |
| 39 | |
| 40 | === 2.3 Modifying Drupal Interface === |
| 41 | |
| 42 | ==== 2.3.1 Creating Content Types ==== |
| 43 | |
| 44 | We create content types for metrics first which can be reused for different nodes.[[BR]] |
| 45 | This is done by by selecting: Administer -> Content Management -> Content types. |
| 46 | |
| 47 | [[Image(image002.png)]] |
| 48 | |
| 49 | Some existing content types will be listed. |
| 50 | |
| 51 | [[Image(image003.png,50%)]] |
| 52 | |
| 53 | Click the "Add content type" link. A form will appear, fill in the Name (i.e. "!OnTimeMeasure Graph"), Type, and Description for the content type. A sample content type creation is show here. |
| 54 | |
| 55 | [[Image(image004.png,50%)]] |
| 56 | |
| 57 | |
| 58 | Click the “Save content type” button and a new content type menu item will appear in the page. |
| 59 | |
| 60 | [[Image(image005.png,50%)]][[BR]] |
| 61 | |
| 62 | ==== 2.3.2 Adding Content ==== |
| 63 | |
| 64 | Click the menu "Create content". The name your set in previously step (i.e. "!OnTimeMeasure Graph") will appear. Click it. |
| 65 | |
| 66 | [[Image(image006.png,50%)]][[BR]] |
| 67 | |
| 68 | As in figure below, fill the title. Click the Menu link title, choose a parent item(i.e. "!ProtoGeni"). |
| 69 | |
| 70 | In the Body, Enter the following: |
| 71 | {{{ |
| 72 | <img src= "http://root_machineIP:17280/render?height=300&width=500&&from=-3d&until=now&target=Graphite.node1_node2.RoundTripDelay&uniq='+new Date().getTime();" align ="middle" alt = "round-trip delay graph"/> |
| 73 | <!-- This is for link named node1_node2 in graphite and returns Round-trip Delay for last 3 days, for link node2 to node1, change "node1_node2" --> |
| 74 | |
| 75 | }}} |
| 76 | |
| 77 | '''Note: ''' Change the root_machineIP to IP address of your !RootBeacon. |
| 78 | |
| 79 | [[Image(image007.png,50%)]][[BR]] |
| 80 | |
| 81 | Choose full HTML for Input format |
| 82 | |
| 83 | [[Image(image008.png,50%)]][[BR]] |
| 84 | |
| 85 | Click Save button. |
| 86 | |
| 87 | Newly created menu with the name set in the "Menu link title" will appear under the item set in the "Parent item". |
| 88 | |
| 89 | [[Image(image010.png,50%)]][[BR]] |
| 90 | |
| 91 | |
| 92 | |