Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 Introduction to Python Grid Tools Keith R. Jackson David E. Konerding Lawrence Berkeley.

Slides:



Advertisements
Similar presentations
Legacy code support for commercial production Grids G.Terstyanszky, T. Kiss, T. Delaitre, S. Winter School of Informatics, University.
Advertisements

Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
BiodiversityWorld GRID Workshop NeSC, Edinburgh – 30 June and 1 July 2005 Resource wrappers, web services, grid services Jaspreet Singh School of Computer.
This product includes material developed by the Globus Project ( Introduction to Grid Services and GT3.
USING THE GLOBUS TOOLKIT This summary by: Asad Samar / CALTECH/CMS Ben Segal / CERN-IT FULL INFO AT:
1 CENTER FOR PARALLEL COMPUTERS An Introduction to Globus Toolkit® 3 -Developing Interoperable Grid services.
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
6/11/2015Page 1 Web Services-based Distributed System B. Ramamurthy.
1-2.1 Grid computing infrastructure software Brief introduction to Globus © 2010 B. Wilkinson/Clayton Ferner. Spring 2010 Grid computing course. Modification.
Data Grids: Globus vs SRB. Maturity SRB  Older code base  Widely accepted across multiple communities  Core components are tightly integrated Globus.
Office of Science U.S. Department of Energy Globus World 2005 PyGridWare Performance Aspects Keith R. Jackson Lawrence Berkeley National Laboratory.
4b.1 Grid Computing Software Components of Globus 4.0 ITCS 4010 Grid Computing, 2005, UNC-Charlotte, B. Wilkinson, slides 4b.
Peoplesoft: Building and Consuming Web Services
Globus Computing Infrustructure Software Globus Toolkit 11-2.
Web-based Portal for Discovery, Retrieval and Visualization of Earth Science Datasets in Grid Environment Zhenping (Jane) Liu.
Getting Started with WCF Windows Communication Foundation 4.0 Development Chapter 1.
Globus 4 Guy Warner NeSC Training.
Kate Keahey Argonne National Laboratory University of Chicago Globus Toolkit® 4: from common Grid protocols to virtualization.
- 1 - Grid Programming Environment (GPE) Ralf Ratering Intel Parallel and Distributed Solutions Division (PDSD)
XForms: A case study Rajiv Shivane & Pavitar Singh.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Data Management Kelly Clynes Caitlin Minteer. Agenda Globus Toolkit Basic Data Management Systems Overview of Data Management Data Movement Grid FTP Reliable.
OPEN GRID SERVICES ARCHITECTURE AND GLOBUS TOOLKIT 4
NeSC Grid Apps Workshop Exposing Legacy Applications as OGSI Components using pyGlobus Keith R. Jackson Distributed Systems Department Lawrence Berkeley.
CoG Kit Overview Gregor von Laszewski Keith Jackson.
Flexibility and user-friendliness of grid portals: the PROGRESS approach Michal Kosiedowski
WSRF & WSRF’s Application in VO-DAS Haijun Tian ChinaVO
GT Components. Globus Toolkit A “toolkit” of services and packages for creating the basic grid computing infrastructure Higher level tools added to this.
Job Submission Condor, Globus, Java CoG Kit Young Suk Moon.
Grid Resource Allocation and Management (GRAM) Execution management Execution management –Deployment, scheduling and monitoring Community Scheduler Framework.
Through the development of advanced middleware, Grid computing has evolved to a mature technology in which scientists and researchers can leverage to gain.
INFSO-RI Module 01 ETICS Overview Alberto Di Meglio.
COMP3019 Coursework: Introduction to GridSAM Steve Crouch School of Electronics and Computer Science.
Condor Birdbath Web Service interface to Condor
GRAM5 - A sustainable, scalable, reliable GRAM service Stuart Martin - UC/ANL.
1 Overview of the Application Hosting Environment Stefan Zasada University College London.
INFSO-RI Module 01 ETICS Overview Etics Online Tutorial Marian ŻUREK Baltic Grid II Summer School Vilnius, 2-3 July 2009.
CSF4 Meta-Scheduler Name: Zhaohui Ding, Xiaohui Wei
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
Stuart Wakefield Imperial College London Evolution of BOSS, a tool for job submission and tracking W. Bacchi, G. Codispoti, C. Grandi, INFN Bologna D.
Shannon Hastings Multiscale Computing Laboratory Department of Biomedical Informatics.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Wrapping Scientific Applications As Web Services Using The Opal Toolkit Wrapping Scientific Applications As Web Services Using The Opal Toolkit Sriram.
1 Grid Portal for VN-Grid Cu Nguyen Phuong Ha. 2 Outline Some words about portals in principle Overview of OGCE GridPortlets.
Rochester Institute of Technology Cyberaide Shell: Interactive Task Management for Grids and Cyberinfrastructure Gregor von Laszewski, Andrew J. Younge,
Institute For Digital Research and Education Implementation of the UCLA Grid Using the Globus Toolkit Grid Center’s 2005 Community Workshop University.
Grid Services I - Concepts
Grid Security: Authentication Most Grids rely on a Public Key Infrastructure system for issuing credentials. Users are issued long term public and private.
XML and Web Services (II/2546)
Grid Execution Management for Legacy Code Applications Grid Enabling Legacy Applications.
Kemal Baykal Rasim Ismayilov
INFSO-RI Enabling Grids for E-sciencE Ganga 4 – The Ganga Evolution Andrew Maier.
Development of e-Science Application Portal on GAP WeiLong Ueng Academia Sinica Grid Computing
© Geodise Project, University of Southampton, Geodise Middleware Graeme Pound, Gang Xue & Matthew Fairman Summer 2003.
On Using BPEL Extensibility to Implement OGSI and WSRF Grid Workflows Aleksander Slomiski Presented by Onyeka Ezenwoye CIS Advanced Topics in Software.
Overview of Grid Webservices in Distributed Scientific Applications Dennis Gannon Aleksander Slominski Indiana University Extreme! Lab.
Data Manipulation with Globus Toolkit Ivan Ivanovski TU München,
Office of Science U.S. Department of Energy Globus World Python WS Core Joshua R. Boverhof Lawrence Berkeley National Laboratory.
Lecture VI: SOAP-based Web Service CS 4593 Cloud-Oriented Big Data and Software Engineering.
Matthew Farrellee Computer Sciences Department University of Wisconsin-Madison Condor and Web Services.
EGI Technical Forum Amsterdam, 16 September 2010 Sylvain Reynaud.
WP3 Implementing R-GMA grid services in GT3 Abdeslem Djaoui & WP3 Grid Services Task Force 7 th EU Datagrid meeting 26/09/2003
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
© Geodise Project, University of Southampton, Workflow Support for Advanced Grid-Enabled Computing Fenglian Xu *, M.
DataGrid is a project funded by the European Commission EDG Conference, Heidelberg, Sep 26 – Oct under contract IST OGSI and GT3 Initial.
INFSO-RI Enabling Grids for E-sciencE Ganga 4 Technical Overview Jakub T. Moscicki, CERN.
December, 2006 ws-VLAM Workflow Management System a Re-factoring of VLAM Dmitry Vasyunin Adianto Wibisono Adam Belloum.
Sabri Kızanlık Ural Emekçi
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Introduction to Web Services
Presentation transcript:

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 Introduction to Python Grid Tools Keith R. Jackson David E. Konerding Lawrence Berkeley National Lab

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 Outline Overview Pre-WS Grid Tools Web Service Tools Python WS Core Python Command Line Legacy Tool Wrapper Scientific Workflow Conclusions

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 Overview Why Python tools? –Simple, high-level language that is easy to learn –Good support for interacting with C, C++, Java,.Net, and Fortran codes Many automated tools to make this process less tedious –Widely used in the scientific computing world Python bindings already exist for a large number of common scientific packages

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 Python CoG Kit (pyGlobus) The Python CoG Kit provides a mapping between Python and the Globus Toolkit®. It extends the use of Globus by enabling to access advanced Python features such as exceptions and objects for Grid programming The Python CoG Kit is implemented as a series of Python extension modules that wrap the Globus C code Uses SWIG ( to help generate the interfaces

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 Why Use pyGlobus? Provides a full interface to the pre-WS Globus Toolkit components Little/no changes are involved in switching between different versions of the Globus Toolkit High level language allows for easier Grid programming Supports rapid prototyping of Grid services/applications Many automated tools exist for exposing legacy C/C++ or Fortran codes as Python objects

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 Python Web Service Toolkit ZSI is an open-source toolkit for building web services and clients in Python –Added the support to ZSI that is needed for implementing the WSRF and WS-N families of specifications Supports the automatic generation of Python code from the WSDL/XML Schema interface definition using “wsdl2py” –Automatically maps XML Schema types to Python types

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 WS Tools (cont.) Provides a lightweight, asynchronous hosting environment, based on Twisted Extended code generation –Client calls look like methods –Schema data members look like instance properties Some security support –TLS for transport layer security –WS-Security Password Profile –Basic HTTP Authentication –Supports a standard authorization callout

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 Python WS Core Python WS Core, or, pyGridWare, implements the WSRF and WS-N family of specifications used to build stateful resources and services Provides APIs and tools for building WS- Resources (Web services that operate on stateful resources) Designed to be interoperable with current WSRF implementations –GT4 Java and C implementations –WSRF.NET –WSRF::Lite

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 Python WS Core Builds Python bindings from WSDL using ZSI for Web Services support Lifetime management –defines how and when services expire Security –Transport layer (https) –Secure Conversation –Secure Messaging –Authorization callout Interfaces to facilitate resource state persistence Notifications provide asychronous messaging

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 pyGridWare Container Security Handler Lifetime Management Grid Service Container User-implemented service Persistent Resource Notification Producer Client request response notify createdestroy persist delegate RP changes Web container context

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 PythonCLServiceTool We wanted to build a tool that exposed legacy applications as Grid services We targeted command-line applications initially Client tool is “just like” running command locally but run on a Grid server The client and server can be delivered as single executables on many platforms for easy deployment Based on ZSI & pyGridWare- code can be used as a learning example for building a Grid Service

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 PyCLST TODO Delegation- so service can do 3 rd party transfers Flexible, configurable input/output file transfer management, declared in the config file. User can override Flexible callout to auth modules (gridmap, SAML, etc)

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 PyCLST usage Developer writes a simple config file and runs PyCLST to build container, service app, and client app When invoked, the client app parses command line, wraps request to run command in a SOAP message The grid service executes the application; stdout and stderr are sent back immediately via WS- Notifications; client writes to user’s console Stdin, stdout, stderr and files sent in base64 encoded- GridFTP and other formats to be supported

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 pythonCLserviceTool ### This example exposes “BLAST” [main] name=blastpgp executable=/usr/local/bin/blastpgp ## optionarguments start with one or two ## dashes, and may have an extra value ## argument [optionarguments] arg1option=-i arg1desc=input arg1hasvalue=True arg1optional=False arg2option=-d arg2desc=database arg2hasvalue=True arg2optional=False ### “BLAST” takes no positional arguments Grid service template filesBLAST CL-specific service % python setup.py

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 createstart notify destroy Server: %./blastpgp-server.sh Client: %./blastpgp.sh –i {input.fa} –d db notify BLAST example timeline Server runs BLAST stdout stderr Return code

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 Visual Workflow Design and Execution Scientific workflows are becoming more complex, require more resource discovery, more data management Workflows have a strong parallel to visual programming systems We have created a Visual Computing Environment designed to make it easy to run complex workflows on the grid easily

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 GUI Planner Execution Manager Execution Context Logical separation of workflow functionality into a stack of services GUI outputs abstract workflow Planner converts abstract workflow into concrete execution plan Execution manager submits jobs from the concrete execution plan according to their dependencies ViCE/CBEI architecture ViCE Condor DAGman, VDS, CBEI CBEI CBEI, Condor, PBS, LSF, SGE, GT2.4 GRAM, GT4 GRAM, ssh Execution context manages job submission (or script execution) from birth to death and provides feedback to GUI and planner Some planners can modify the execution plan once it has been started (adaptive optimization & fault recovery) Physical resources CBEI

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 ViCE- design of a simple BLAST network

Office of Science U.S. Department of Energy DANSE Kickoff Meeting 2006 Conclusion The Python Web Service work is funded by the U.S. Department of Energy Office of Science ZSI – pyGridWare – ViCE – PythonCLServiceTool – Thanks to Michel Sanner for the idea of using a visual programming environment for workflow.