IRODS: the use of rules and micro services for automatic data conversion and signal pattern searching Martyn Fletcher, Tom Jackson, Bojian Liang, Michael.

Slides:



Advertisements
Similar presentations
Chapter 6 Server-side Programming: Java Servlets
Advertisements

ASPiS - Architecture for a Shibboleth-Protected iRODS System Mark Hedges, Tobias Blanke Centre for e-Research, Kings College London Adil Hasan, Jens Jensen.
JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Introduction To Java Objectives For Today â Introduction To Java â The Java Platform & The (JVM) Java Virtual Machine â Core Java (API) Application Programming.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
A Very Brief Introduction to iRODS
What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Introduction to Web Interface Technology (CSE2030)
Multiple Tiers in Action
Russell Taylor Lecturer in Computing & Business Studies.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
Presented by Mina Haratiannezhadi 1.  publishing, editing and modifying content  maintenance  central interface  manage workflows 2.
Data Grid Web Services Chip Watson Jie Chen, Ying Chen, Bryan Hess, Walt Akers.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
8/17/2015CS346 PHP1 Module 1 Introduction to PHP.
Java Server Pages B.Ramamurthy. Topics for Discussion 8/20/20152 Inheritance and Polymorphism Develop an example for inheritance and polymorphism JSP.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
Experience of a low-maintenance distributed data management system W.Takase 1, Y.Matsumoto 1, A.Hasan 2, F.Di Lodovico 3, Y.Watase 1, T.Sasaki 1 1. High.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Discussion and conclusion The OGC SOS describes a global standard for storing and recalling sensor data and the associated metadata. The standard covers.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
HTTP; The World Wide Web Protocol
Web Application Architecture and Communication. Displaying a Web page in a Browser
Chapter 1: Introduction to Web
Server-side Scripting Powering the webs favourite services.
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
OSG Public Storage and iRODS
ISpheres Project. Project Overview iSpheresCore iSpheresImage Demonstration References.
Rule-Based Data Management Systems Reagan W. Moore Wayne Schroeder Mike Wan Arcot Rajasekar {moore, schroede, mwan, {moore, schroede, mwan,
Components of Database Management System
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
CSU - DCE Advanced Perl CGI Operation - Fort Collins, CO Copyright © XTR Systems, LLC Introduction to the Common Gateway Interface (CGI) on the.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Production Data Grids SRB - iRODS Storage Resource Broker Reagan W. Moore
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
National Partnership for Advanced Computational Infrastructure San Diego Supercomputer Center Persistent Archive for the NSDL Reagan W. Moore Charlie Cowart.
Java Portals and Portlets Submitted By: Rashi Chopra CIS 764 Fall 2007 Rashi Chopra.
SERVER web page repository WEB PAGE instructions stores information and instructions BROWSER retrieves web page and follows instructions Server Web Server.
Policy Based Data Management Data-Intensive Computing Distributed Collections Grid-Enabled Storage iRODS Reagan W. Moore 1.
Company Confidential OVERVIEW. Application and activity control software for networked computer classrooms …. designed to be used by teachers in order.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
Solutions using Microsoft Content Management Server 2002 Connector for SharePoint Technologies Sue Corke Mark Harrison Microsoft UK.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
The Global Land Cover Facility is sponsored by NASA and the University of Maryland.The GLCF is a founding member of the Federation of Earth Science Information.
A Practical Approach to Metadata Management Mark Jessop Prof. Jim Austin University of York.
Dean Anderson Polk County, Oregon GIS in Action 2014 Modifying Open Source Software (A Case Study)
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
File Uploads. The Form tag Set the method to “post” The form attribute enctype="multipart/form- data” must be in the opening form tag Before the file.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
The Storage Resource Broker and.
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative.
Digital Library Storage using iRODS Data Grids Mark Hedges, Tobias Blanke Centre for e-Research, King’s College London Arts and Humanities Data Service.
Project Objectives Publish to a remote server
An Overview of iRODS Integrated Rule-Oriented Data System
Web Interface for Formatter
VI-SEEM Data Discovery Service
PHP / MySQL Introduction
Configuring Internet-related services
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Web Application Development Using PHP
Presentation transcript:

iRODS: the use of rules and micro services for automatic data conversion and signal pattern searching Martyn Fletcher, Tom Jackson, Bojian Liang, Michael Weeks, Mark Jessop and Jim Austin.

Slide 2 8-Dec-2009 Contents 1.The iREAD project. 2.iRODS overview. 3.What are iRODS micro-services? 4.What are iRODS rules? 5.iREAD Demonstrations. 6.Data conversion using iRODS. 7.Pattern searching using iRODS. 8.iRODS browser web client. 9.Conclusions / experiences. 10.Potential future work.

Slide 3 8-Dec-2009 The iREAD Project The iREAD (iRODS Evaluation and Demonstrator) Project: –Funded by JISC: –All documentation, experiences, results and demonstrations are available on the public website see –Demonstration of searching available for all at and on the White Rose Grid stand at 3:00 pm. –Only part of the iREAD work is reported in this presentation. –iRODS™- the Integrated Rule-Oriented Data System iRODS (DICE group at UNC Chapel Hill, University of California, San Diego. Enhancement of Storage Request Broker (SRB).

Slide 4 8-Dec-2009 iRODS overview Virtual file system (layer over existing data and meta data) Meta data (iCAT) User iRODS System Disk, tape, etc. iRODS Server Disk, tape, etc. iRODS Server Distributed Enhancement over SRB: Rules and micro–service (within each server) can be used to automatically process data, make copies on other servers, enforce access controls, etc.

Slide 5 8-Dec-2009 What are iRODS micro services? Written C. Perform actions - executed as part of a rule. Inbuilt micro services for accessing various parts of the system: –create, delete, read files and collections (directories), deny access to files, simple workflow constructs, etc. Users can create their own micro services: –Operate on data, run external web services, etc –We have created ones for searching, data conversion, etc. e.g. msiSearch. Adding or changing a micro service necessitates: –Re-compilation of the iRODS installation. –A stop / start of the iRODS system. –This situation may change in future.

Slide 6 8-Dec-2009 What are iRODS rules? A rule is a “grouping” of: –Other rules. –Micro-services. Can be executed: –Automatically on events, time, upload, etc. – part of the rule base (core.irb file). –By users on command from API or rule files. Can be added to a live iRODS system: –No need for a recompile and stop / start.

Slide 7 8-Dec-2009 What are iRODS rules (2)? iRODS rules have the: Action_Name|Condition|Workflow_Chain|Recovery_Chain Action_Name is the name of the rule. Condition is the condition for execution of the rule. Workflow_Chain is a list of micro-services or other rules to be executed. Recovery_Chain is a list of recovery actions if any of the Workflow_Chain fails.

Slide 8 8-Dec-2009 iREAD demonstrations The iREAD iRODS demonstration setup is as follows: –iRODS version –The iRODS browser installation (part of the extrods package) for connection to iRODS. –Apache web server for the browser. –PHP 5.26 for the browser. Rules and micro-services have been added to iRODS as necessary. The browser installation and PHP service have also been modified for demonstration purposes.

Slide 9 8-Dec-2009 Data conversion using iRODS Image conversion micro-services have been compiled and installed (supplied with iRODS). Additional skeleton micro-services have been included for future conversion of Neurophysiology data formats. Installed rules (acPostProcForPut) for post processing of the put command. The acPostProcPut rules – only one is executed (each is a single line in the core.irb file): 1.acPostProcForPut|$objPath like /tempZone/home/demo/files-and- conversions/*\.gif|msiImageConvert($objPath,null,$objPath.jpg,null)|nop 2.acPostProcForPut|$objPath like /tempZone/home/demo/files-and- conversions/*\.bmp|msiImageConvert($objPath,null,$objPath.png,null)|nop 3.acPostProcForPut|$objPath like /tempZone/home/demo/files-and- conversions/*\.mcd|msiDataObjCopy($objPath,$objPath.ndf,demoResc,*Junk)|nop 4.acPostProcForPut||nop|nop

Slide 10 8-Dec-2009 Pattern searching using iRODS (1) Used an existing remote search service developed during the DAME and BROADEN e- Science projects. Created micro services which access the web service. Created rule to run the search micro services. Modified browser to add buttons, display functions, etc. (Javascript / HTML.) Used PHP API to run the rule.

Slide 11 8-Dec-2009 Pattern searching using iRODS (2)

Slide 12 8-Dec-2009 Pattern searching using iRODS (3) The pattern search rule: MyNewSearchTestRule||msiDataObjUnlink(*resultsPath,*STATUS)# #msiDataObjOpen(*queryPath,*QUERY_FD)##msiDataObjRead(*Q UERY_FD,10000,*QUERY_BUF)##msiDataObjClose(*QUERY_FD,* junk)##msiNewRemoteMthSearch(*QUERY_BUF,*ClIP,*HtIP,*HtTim e,*HtIndex)##msiNewRemoteGetResult(*ClIP,*HtIP,*HtTime,*HtInde x,*results)##msiDataObjCreate(*resultsPath,null,*RESULTS_FD)## msiDataObjWrite(*RESULTS_FD,*results,100)##msiDataObjClose(* RESULTS_FD,*junk)|nop##nop##nop##nop##nop##nop##nop##no p##nop

Slide 13 8-Dec-2009 Pattern searching using iRODS (4) Micro services used (in following : –msiDataObjUnlink - delete the existing results.txt file. –msiDataObjOpen - open the query.txt file. –msiDataObjRead - read the query.txt file. –msiDataObjClose - close the query.txt file. –msiNewRemoteMthSearch - invoke the search web service and pass the query data for matching. –msiNewRemoteGetResult - poll the search service and when it has finished search retrieve the results. –msiDataObjCreate - create a new results.txt file. –msiDataObjWrite - write the retrived results to the new results.txt file. –msiDataObjClose - close the results.txt file.

Slide 14 8-Dec-2009 iRODS web browser client All demonstrations available through the modified iRODS web browser client accessible at

Slide 15 8-Dec-2009 Conclusions / experiences (1) Rules and micro services can be run remotely on other servers (same / different zone) using the remoteExec micro service. Parallel execution / broadcast execution modes would greatly assist the use of iRODS for distributed operation.

Slide 16 8-Dec-2009 Conclusions / experiences (2) Micro services (and rules) need to be installed on every server where they need to executed. Rules can become very long and unwieldy - plan carefully - tool support would be good. It would beneficial to be able to add micro services to a live system without: –Recompiling the iRODS server. –Starting and stopping the server. Debugging: –Information not extensive e.g. a micro service can fail producing a non informative messages on the command line and in the rodsLog.

Slide 17 8-Dec-2009 Potential Future Work (1) Provide automatic: –Generation of the search databases (as new data arrives). –Search for known conditions in bulk data - automatically. iRODS would provide benefits to the CARMEN neuroscience project to provide: –Automatic data conversion. –Service execution.

Slide 18 8-Dec-2009 The iREAD Project Work funded by JISC: All documentation, experiences, results and demonstrations are available on the public website see: Demonstration of searching on the White Rose Grid stand (3:00pm today) and available for all at