1 / 1

Fine-grained Instrumentation and Monitoring of Legacy Applications

Fine-grained Instrumentation and Monitoring of Legacy Applications in a Service-Oriented Environment. Bartosz Baliś 1 , Marian Bubak 1,2 , Krzysztof Guzy 1 1 Institute of Computer Science AGH, Mickiewicza 30, 30-059 Kraków, Poland

norton
Télécharger la présentation

Fine-grained Instrumentation and Monitoring of Legacy Applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Fine-grained Instrumentation and Monitoring of Legacy Applications in a Service-Oriented Environment Bartosz Baliś1, Marian Bubak1,2, Krzysztof Guzy1 1Institute of Computer Science AGH, Mickiewicza 30, 30-059 Kraków, Poland 2Academic Computer Centre CYFRONET, Nawojki 11, 30-950 Kraków, Poland {balis,bubak}@uci.agh.edu.pl, guzy@o2.pl Overview Grid systems based on modern service-oriented architecture (SOA) still heavily use legacy code. Fordebugging and performance measurement there is necessity to monitor such legacy applications. The basis of monitoring of applications is instrumentation which in a service-oriented environment can not be static - we usually do not have opportunity to instrument application source code and deploy it at runtime. We propose a solution for instrumentation which is: (1)dynamically enabled and disabled, (2) fine-grained to enable monitoring at the level of code regions, (3) accessible through a standardized instrumentation service to expose instrumentation functionality to arbitrary tools and services. Instrumentation SIR – a high level representation of application’s code. Presented to end-user who, based on SIR, at runtime picks code regions to be instrumented. Our approach to instrumentation is to combine source code instrumentation and binary wrapping with the dynamic control of the measurement process at runtime. The instrumentation is inserted statically via patching of source code or binary libraries, while activation and deactivation of the instrumentation is done at runtime. We provide a tool to automatically insert probe functions at defined places into source files and to generate SIR (Standard Intermediate Representation) descriptions of the code. The OCM-G system can dynamically enable/disable instrumentation probes. We include SIR into the application executable from where it can be retrieved by the OCM-G. Example of probe functions inserted at beginningand end of call code regions If needed we could provide our own pre-instrumented libraries Monitoring • Sensor features and functionality: • compliant with the GEMINI infrastructure • hide legacy monitoring system - OCM-G • delivers information to Monitoring Service of GEMINI • used to convert interfaces and data representation between GEMINI and OCM-G (WIRL into OMIS) • can dynamically enable/disable instrumentation probes • intercepts events from application: beginning and end of code region Used by GEMINI to specifying instrumentation requests Used by OCM-G to specifying monitoring requests References B. Baliś, M. Bubak, J. Dziwisz, H.-L. Truong, and T. Fahringer.Integrated Monitoring Framework for Grid Infrastructure andApplications. In P. Cunningham and M. Cunningham, editors, Innovationand the Knowledge Economy. Issues, Applications, Case Studies, pages269-276, Ljubljana, Slovenia, October 2005. IOS Press.

More Related