AstroGrid -D Job-Monitoring in AstroGrid-D with GRAM-audit-logging S. Braune, F. Breitling, H. Enke, AIP.

Slides:



Advertisements
Similar presentations
Building Portals to access Grid Middleware National Technical University of Athens Konstantinos Dolkas, On behalf of Andreas Menychtas.
Advertisements

LEAD Portal: a TeraGrid Gateway and Application Service Architecture Marcus Christie and Suresh Marru Indiana University LEAD Project (
TeraGrid Deployment Test of Grid Software JP Navarro TeraGrid Software Integration University of Chicago OGF 21 October 19, 2007.
© 2006 IBM Corporation Features of an Enterprise-ready Triple Store Ben Szekely June, 2006.
PHP and MySQL Database. Connecting to MySQL Note: you need to make sure that you have MySQL software properly installed on your computer before you attempt.
Semantic Web Introduction
1 Web Servers / Deployment Alastair Dawes Original by Bhupinder Reehal.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
PHP Programming with MySQL Slide 8-1 CHAPTER 8 Working with Databases and MySQL.
Exlibris: Developers Meet Developers Feb. 1-2, 2010 Voyager To NUFinancials ( peoplesoft ) System ( for Invoice Payment ) Michael North Northwestern University.
GRAM: Software Provider Forum Stuart Martin Computational Institute, University of Chicago & Argonne National Lab TeraGrid 2007 Madison, WI.
Accounting for the Grid Usage Records and a Resource Usage Service.
Module 7: Fundamentals of Administering Windows Server 2008.
Grid Resource Allocation and Management (GRAM) Execution management Execution management –Deployment, scheduling and monitoring Community Scheduler Framework.
Scalable Systems Software Center Resource Management and Accounting Working Group Face-to-Face Meeting October 10-11, 2002.
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Grid Computing at Yahoo! Sameer Paranjpye Mahadev Konar Yahoo!
Open Science Grid OSG CE Quick Install Guide Siddhartha E.S University of Florida.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
Introduction to the Semantic Web and Linked Data Module 1 - Unit 2 The Semantic Web and Linked Data Concepts 1-1 Library of Congress BIBFRAME Pilot Training.
RUS: Resource Usage Service Steven Newhouse James Magowan
MyGrid/Taverna Provenance Daniele Turi University of Manchester OMII f2f Meeting, London, 19-20/4/06.
ClearQuest XML Server with ClearCase Integration Northwest Rational User’s Group February 22, 2007 Frank Scholz Casey Stewart
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
Web-based Front End for Kraken Jing Ai Jingfei Kong Yinghua Hu.
CEDPS Services Area Update CEDPS Face-to-Face Meeting ANL October 2007.
Accounting in DataGrid HLR software demo Andrea Guarise Milano, September 11, 2001.
IBM Express Runtime Quick Start Workshop © 2007 IBM Corporation Deploying a Solution.
Chapter 04 Semantic Web Application Architecture 23 November 2015 A Team 오혜성, 조형헌, 권윤, 신동준, 이인용.
The AstroGrid-D Information Service Stellaris A central grid component to store, manage and transform metadata - and connect to the VO!
Software-Projekt 2008 Seminarvortrag“Short tutorial of MySql“ Wei Chen Verena Honsel.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
MESA A Simple Microarray Data Management Server. General MESA is a prototype web-based database solution for the massive amounts of initial data generated.
Open Science Grid Configuring RSV OSG Resource & Service Validation Thomas Wang Grid Operations Center (OSG-GOC) Indiana University.
Parallel Computing Globus Toolkit – Grid Ayaka Ohira.
GES 2007 Baden-Baden, Providing Remote Access to Robotic Telescopes by adopting Grid Technology T. Granzer & F. Breitling 1 Providing Remote Access.
Integraion und Steuerung von verteilten Sensorsystemen Grid-Package for a Robotic Telescope Network (RTN) Geoforschungszentrum Potsdam 2010 October 20.
Virtual Organisation Management in the Level 2 Grid Steven Newhouse Technical Director London e-Science Centre Department of Computing, Imperial College.
The Abdus Salam ICTP Trieste, Workshop on Scientific Instruments and Sensors on the Grid Integration of Robotic Telescopes Frank Breitling 1.
AstroGrid-D Host Monitoring in AstroGrid-D with GRAM-Audit or SGAS based on Usage Records Format S. Braune, F. Breitling, H. Enke AIP.
GES 2007 Baden-Baden, Providing Remote Access to Robotic Telescopes by adopting Grid Technology T. Granzer & F. Breitling 1 Providing Remote Access.
How to integrate portals with EGI accounting system R.Graciani EGI TF 2012.
Architecture Review 10/11/2004
Fundamental of Databases
SmartCenter for Pointsec - MI
GPIR GridPort Information Repository
A Grid Job Monitoring System
Introduction to Dynamic Web Programming
OGF PGI – EDGI Security Use Case and Requirements
The Client-Server Model
CS320 Web and Internet Programming SQL and MySQL
World Wide Web policy.
PGT(CS) ,KV JHAGRAKHAND
Introduction to the Application Hosting Environment
Database System Concepts and Architecture
How to connect your DG to EDGeS? Zoltán Farkas, MTA SZTAKI
Overview – SOE PatchTT November 2015.
Overview – SOE PatchTT December 2013.
Grid-Integration of Robotic Telescopes
Accounting at the T1/T2 Sites of the Italian Grid
Middleware independent Information Service
Cristina del Cano Novales STFC - RAL
a VO-oriented perspective
Chapter 8 Working with Databases and MySQL
Web Servers / Deployment
CS3220 Web and Internet Programming SQL and MySQL
CS3220 Web and Internet Programming SQL and MySQL
Presentation transcript:

AstroGrid -D Job-Monitoring in AstroGrid-D with GRAM-audit-logging S. Braune, F. Breitling, H. Enke, AIP

2 D-Grid Monitoring Workshop, Dresden Overview Audit-Logging AuditDatabase + Trigger Stellaris User Interface: Timeline RDF and SPARQL Queries Statistic Further Application: Robotic Telescopes Data Privacy

3 D-Grid Monitoring Workshop, Dresden GRAM Audit Logging Globus Client Globus Resource (Computer)‏ Browser Audit Database Stellaris RDF- Datenbank WS GRAM: globusrun_ws Pre WS-GRAM: globus_job_run Trigger SPARQL Queries Timelines cron XML2RDF UR

4 D-Grid Monitoring Workshop, Dresden auditDatabase Schema job_grid_id: String representation of the resource EPR local_job_id: Job/process id generated by the scheduler subject_name: Distinguished name (DN) of the user username: Local username idempotence_id: Job id generated on the client-side creation_time: Date when the job resource is created queued_time: Date when the job is submitted to the scheduler stage_in_grid_id: String representation of the stageIn-EPR (RFT)‏ stage_out_grid_id: String representation of the stageOut-EPR (RFT)‏ clean_up_grid_id: String representation of the cleanUp-EPR (RFT)‏ globus_toolkit_version: Version of the server-side GT resource_manager_type: Type of the resource manager (Fork, Condor,...)‏ job_description: Complete job description document success_flag: Flag that shows whether the job failed or finished successfully finished_flag: Flag that shows whether the job is already fully processed or still in progress jj

5 D-Grid Monitoring Workshop, Dresden Requirements + Installation Globus version ≧ one auditDatabase (PostgreSQL or mySQL, even central)‏ --with-perl (to connect Stellaris) Configuration files  WS GRAM Audit Logging:  $GLOBUS_LOCATION/container-log4j.properties, $GLOBUS_LOCATION/etc/gram-service/jndi-config.xml  Pre WS GRAM Audit Logging:  $GLOBUS_LOCATION/log4j.properties, $GLOBUS_LOCATION/etc/globus-job-manager.conf Documentation:   Documentation in AstroGrid-D (incl. Source code of the triggers):  known Problems (alredy discussed with Globus developer team):  Instable connection from Globus to auditDatabase,  No UUID or link to job-epr-file to identify the job  Not enough information for real statistics (e.g. job end time, #CPUs, CPU-hours)

6 D-Grid Monitoring Workshop, Dresden Stellaris as Information Service Stellaris  development of AstroGrid-D by ZIB (M. Högqvist, ZIB)‏  Data format: Resource Description Framework (RDF)‏ for Stellaris a conversion from RTML documents and UR XML into RDF required  developed an XSLT (Extensible Stylesheet Language Transformation) at AIP  can transform arbitrary XML files into RDF/XML format (e.g. RTML)‏  usage very simple, only two command line programs „xsltproc“, and „cURL“ for uploading to Stellaris  available at (Apache License)‏ download:

7 D-Grid Monitoring Workshop, Dresden Resource Description Framework (RDF) standard for storing information (part of 'semantic web') based on graph theory (RDF graphs), and presents information in triples (subject, predicate, object) different formats exist:  RDF/XML (W3C recommendation), and  Notation 3 (N3) (W3C specification)‏ XML->RDF XSL-Transformation (e.g. for UR) was developed in AstroGrid-D Stellaris is a RDF database the SPARQL query language exists for retrieval of RDF information further information: AstroGrid-D examples

8 D-Grid Monitoring Workshop, Dresden Database Trigger CREATE FUNCTION update_stellaris() RETURNS "trigger" AS $update_stellaris$ use strict; use URI; use Net::hostent; use XML::Writer; use use LWP::UserAgent; my $job_grid_id = URI->new($_TD->{new}{job_grid_id}); my $id = unpack("H*", $job_grid_id->query()); my $host = gethost($job_grid_id->host())->name(); my $usage_record = ""; my $writer = XML::Writer->new(OUTPUT => \$usage_record, NEWLINES => 1, UNSAFE => 1); $writer->xmlDecl("UTF-8"); $writer->startTag("JobUsageRecord", "xmlns" => " $writer->startTag("RecordIdentity"); $writer->dataElement("LocalJobId", $_TD->{new}{local_job_id});..... $writer->endTag("RecordIdentity");..... $writer->raw($_TD->{new}{job_description}); $writer->dataElement("success_flag", $_TD->{new}{success_flag}); $writer->dataElement("finished_flag", $_TD->{new}{finished_flag}); $writer->endTag("JobUsageRecord"); $writer->end(); my $req = " => length($usage_record)), $usage_record); my $ua = LWP::UserAgent->new(); my $res = $ua->request($req);..... return; $update_stellaris$ LANGUAGE plperlu; CREATE TRIGGER update_stellaris_trig BEFORE INSERT OR UPDATE ON gram_audit_table FOR EACH ROW EXECUTE PROCEDURE update_stellaris();

9 D-Grid Monitoring Workshop, Dresden AstroGrid-D Timeline GUI for Stellaris Base on Ajcax user data are password protected

10 D-Grid Monitoring Workshop, Dresden SPARQL Protocol and RDF Query Language (SPARQL) SPARQL is the counterpart for retrieving information from RDF (part of 'semantic web') simple syntax for selected and sorted retrieval Perl modules exist for the integration into Perl scripts SPARQL web browser interface is implemented into Stellaris for a quick lookup Example: PREFIX ur: PREFIX x2r: SELECT distinct(?username) WHERE { n1 ur:UserIdentity ?user_id. ?user_id ur:GlobalUserName ?username. } gives a list of all users.

11 D-Grid Monitoring Workshop, Dresden SPARQL example

12 D-Grid Monitoring Workshop, Dresden Statistic Statistics about Users, Jobs (binary), and machine time (e.g. Monthly) can be done query language: SPARQL Examples from AstroGrid-D:

13 D-Grid Monitoring Workshop, Dresden Telescope Monitoring Telescope Server Browser Telescope Database Stellaris RDF- Datenbank Trigger SPARQL Queries Timelines STELLA I + II RoboTel Client

14 D-Grid Monitoring Workshop, Dresden AstroGrid-D Telescope Timeline GUI for Stellaris Base on Ajcax user data are password protected STELLA I + II (Tenerife)

15 D-Grid Monitoring Workshop, Dresden Policy for Usage Record Collection The AstroGrid-D Steering Board accepts the policy below as part of the AUP of AstroGrid-D. (Telecon, ) Policy for using Monitoring Data of Grid-Jobs 1.) AstroGrid-D collects data delivered by the Globus Audit-Module into usage records on a per job basis. 2.) The records are stored in Stellaris. Each AstroGrid-D resource runs the Globus-Audit-module and the trigger-software provided by the working group, starting in May ) The software collects only data for the members of VO AstroGrid. 4.) The collected data is displayed without exposing names or accounts in the GridTimeline. 5.) A protected interface allows additional queries for VO members and administrators. Description of the Data collection: With the Globus Audit module the following items of a grid-job are logged into a database: Times: Start, Submit, End Flags: Success, Failure, Running/Stopped Job-Description: Executable and RSL-file, Job-Manager (Fork, PBS, LSF, SGE, CONDOR) IDs : DN and local account name, execution host Local and Global Job-ID download:

16 D-Grid Monitoring Workshop, Dresden Summary Partial installation in AstroGrid-D Tests have been successful and are ongoing Information about job execution on each grid host Missing information: Feature Request (Bug Tracker) Telecon Globus developers