Building Science Gateways Marlon Pierce Community Grids Laboratory Indiana University.

Slides:



Advertisements
Similar presentations
LEAD Portal: a TeraGrid Gateway and Application Service Architecture Marcus Christie and Suresh Marru Indiana University LEAD Project (
Advertisements

Open Grid Computing Environments Marlon Pierce (IU) & Gopi Kandaswamy (RENCI)
Developing Grid User Interface Components Portlets, gadgets, etc.
General introduction to Web services and an implementation example
Building and Testing OGCE Software on the NMI Build and Test Facility Marlon Pierce Indiana University.
Building Grid Portlets with GTLAB Mehmet A. Nacar and Marlon E. Pierce Community Grids Lab Indiana University.
Reusable Components for Grid Computing Portals Marlon Pierce Community Grids Lab Indiana University.
OGCE Overview: Portals, Services, Workflows, Gadgets, and Tags Marlon Pierce (IU), Suresh Marru (IU), Gregor von Laszewski (RIT), Mary Thomas (SDSU), Nancy.
Building QuakeSim portlets with GTLAB Mehmet A. Nacar 1, Marlon E. Pierce 1, Andrea Donnellan 2, and Geoffrey C. Fox 1 1 Community Grids Lab, Indiana University.
MTA SZTAKI Hungarian Academy of Sciences Grid Computing Course Porto, January Introduction to Grid portals Gergely Sipos
Building Science Gateways Marlon Pierce Community Grids Laboratory Indiana University.
Indiana University QuakeSim Activities Marlon Pierce, Geoffrey Fox, Xiaoming Gao, Jun Ji, Chao Sun.
4b.1 Grid Computing Software Components of Globus 4.0 ITCS 4010 Grid Computing, 2005, UNC-Charlotte, B. Wilkinson, slides 4b.
Open Grid Computing Environments Marlon Pierce, Suresh Marru, Gregor von Laszewski, Mary Thomas, Maytal Dahan, Gopi Kandaswamy, and Wenjun Wu.
1 Multicore and Cloud Futures CCGSC September Geoffrey Fox Community Grids Laboratory, School of informatics Indiana University
Web-based Portal for Discovery, Retrieval and Visualization of Earth Science Datasets in Grid Environment Zhenping (Jane) Liu.
Toward an OpenSocial Life Science Gateway Wenjun Wu, Michael E. Papka, Rick Stevens.
Globus 4 Guy Warner NeSC Training.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
TeraGrid Information Services John-Paul “JP” Navarro TeraGrid Grid Infrastructure Group “GIG” Area Co-Director for Software Integration and Information.
Application Web Service Toolkit Geoffrey Fox, Marlon Pierce, Ozgur Balsoy Indiana University July
Future Grid Future Grid User Portal Marlon Pierce Indiana University.
OPEN GRID SERVICES ARCHITECTURE AND GLOBUS TOOLKIT 4
Installing and Building GTLAB Marlon Pierce Indiana Univeristy.
Software for Science Gateways: Open Grid Computing Environments Marlon Pierce, Suresh Marru Pervasive Technology Institute Indiana University
GT Components. Globus Toolkit A “toolkit” of services and packages for creating the basic grid computing infrastructure Higher level tools added to this.
Grids and Portals for VLAB Marlon Pierce Community Grids Lab Indiana University.
Grid Resource Allocation and Management (GRAM) Execution management Execution management –Deployment, scheduling and monitoring Community Scheduler Framework.
23:48:11Service Oriented Cyberinfrastructure Lab, Grid Portals Fugang Wang April 29
COMP3019 Coursework: Introduction to GridSAM Steve Crouch School of Electronics and Computer Science.
Javascript Cog Kit By Zhenhua Guo. Grid Applications Currently, most grid related applications are written as separate software. –server side: Globus,
Peter Laird. | 1 Building Dynamic Google Gadgets in Java Peter Laird Managing Architect WebLogic Portal BEA Systems.
Web Services BOF This is a proposed new working group coming out of the Grid Computing Environments Research Group, as an outgrowth of their investigations.
1 Welcome to CSC 301 Web Programming Charles Frank.
GEM Portal and SERVOGrid for Earthquake Science PTLIU Laboratory for Community Grids Geoffrey Fox, Marlon Pierce Computer Science, Informatics, Physics.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Grid Architecture William E. Johnston Lawrence Berkeley National Lab and NASA Ames Research Center (These slides are available at grid.lbl.gov/~wej/Grids)
1 Grid Portal for VN-Grid Cu Nguyen Phuong Ha. 2 Outline Some words about portals in principle Overview of OGCE GridPortlets.
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
Grid Security: Authentication Most Grids rely on a Public Key Infrastructure system for issuing credentials. Users are issued long term public and private.
QuakeSim Project: Portals and Web Services for Geophysics Marlon Pierce Indiana University
QuakeSim Project: Portals and Web Services for Geo-Sciences Marlon Pierce Indiana University
Designing Grid Tag Libraries and Grid Beans Mehmet Nacar, Marlon Pierce, Gordon Erlebacher, Geoffrey Fox GCE 2006 Tampa, FL.
OGCE Components for Enhancing UltraScan Job Management. Suresh Marru,Raminder Singh, Marlon Pierce.
1 Alternative view on Internet Computing Web 1.0 –Web 1.0 is first generation, Web Information based. Driven by Information provider. Web 2.0 Ajax enabled.
The Open Grid Computing Environments Project Marlon Pierce Community Grids Laboratory Indiana University.
QuakeSim Project: Portals and Web Services for Geo-Sciences Marlon Pierce Indiana University
Some comments on Portals and Grid Computing Environments PTLIU Laboratory for Community Grids Geoffrey Fox, Marlon Pierce Computer Science, Informatics,
Biomedical and Bioscience Gateway to National Cyberinfrastructure John McGee Renaissance Computing Institute
Building Grid Portals with OGCE: Big Red Portal and GTLAB Mehmet A. Nacar, Jong Youl Choi, Marlon Pierce, Geoffrey Fox Community Grids Lab Indiana University.
Development of e-Science Application Portal on GAP WeiLong Ueng Academia Sinica Grid Computing
Portals, Services, Interfaces Marlon Pierce Indiana University March 15, 2002.
Partnerships in Innovation: Serving a Networked Nation Grid Technologies: Foundations for Preservation Environments Portals for managing user interactions.
The Gateway Computational Web Portal Marlon Pierce Indiana University March 15, 2002.
A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department Advisor:
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Application Web Service Toolkit Allow users to quickly add new applications GGF5 Edinburgh Geoffrey Fox, Marlon Pierce, Ozgur Balsoy Indiana University.
Interacting Data Services for Distributed Earthquake Modeling Marlon Pierce, Choonhan Youn, and Geoffrey Fox Community Grids Lab Indiana University.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
Open Grid Computing Environment Summary
OGCE Short Summary Marlon Pierce Community Grids Lab
Writing Grid Portlets.
Shaowen Wang1, 2, Yan Liu1, 2, Nancy Wilkins-Diehr3, Stuart Martin4,5
Open Grid Computing Environments
GTLAB: Grid Tag Libraries Supporting Workflows within Science Gateways
Standard Portlet Architecture Supports Reusable Components
Metadata-rich Service Oriented Grid Portals
OGCE Portal Software for Big Red and the TeraGrid
Open Grid Computing Environments
OGCE Architecture: Portlets and Services for Science Gateways
Presentation transcript:

Building Science Gateways Marlon Pierce Community Grids Laboratory Indiana University

Slide URL

Concept #1: Web Portal Web container that aggregates content from multiple sources into a single display. o “Start Pages” Typically consume RSS/Atom news feeds. More powerful versions these days support Flickr, calendars, games, etc. o Gadgets, widgets Examples: iGoogle, Netvibes, My Yahoo!

Gadget RSS Feeds

Concept #2: Grid Computing Grid computing software is designed to integrate large supercomputing facilities. TeraGrid, Open Science Grid, EGEE, etc. This is done via network services Key Service Components Authentication and authorization framework (MyProxy) Remote process access and control (GRAM, Condor) Remote file, I/O access (GridFTP, SRB, RFT) Additional Services Information services, replica management, database federation, storage management, schedulers, etc. Example Grid Software Stacks: CTSS and VDT

Science Portals and Gateways Science Gateways adapt Web portal technology to build user interfaces to the Grid. Science portals resemble standard portals, but must also o Support access to computing and storage resources. o Allow users remote, Unix-like access to these resources. o Provide access to science applications and data sets. And we must provide value added services as well as user interfaces.

Example Science Gateways Many listed here: o Cover many different scientific fields: o Atmospheric science, geophysics, computational chemistry, bioinformatics, etc See also GCE07 and earlier proceedings o ogce.org/gce07/index.php/Main_Page ogce.org/gce07/index.php/Main_Page o GCE08 accepted workshop for Supercomputing 2008.

Portlets + Client Stubs DB Service JDBC DB Job Sub/Mon And File Services Operating and Queuing Systems WSDL Browser Interface WSDL Visualization Service DB WSDL Host 1Host 2Host 3 My 2002 “octopus” SOA diagram, from the archives. SOAP/HTTP HTTP(S) WSDL

Terminology Portlet: this is a standard Java component that generates HTML and can also act as a client to a remote service. o Lives in a portal container. o I will also use this term generically. Web Service: a remotely invokeable function on the Internet. o SOAP: the XML message envelop for carrying commands over HTTP. o WSDL: describes the service’s API in XML. o REST: A variation of this approach. Lots more info: ntations/I590WebService.ppt ntations/I590WebService.ppt

But Why? Three-tiered Service Oriented Architecture is the network equivalent of the the famous Model-View- Controller design pattern. o View: the user interface components. o Controller: Web service middleware o Model: the backend resources. Independence of tiers gives flexibility o Services can be reused with alternative user interfaces  Workflow composers like Taverna, Xbaya, Kepler o User interfaces can work with different service implementations. Drawback: reliability and robustness are issues.

Two Approaches to the Middle Tier Grid Service Backend Resource Web Service Portal Comp. Grid Client Backend Resource Fat ClientThin Client Grid Protocol (SOAP) Grid Client HTTP + SOAP Grid Protocol (SOAP)

Disloc output converted to KML and plotted.

GeoFEST Finite Element Modeling portlet and plotting tools

What’s In the Screenshots? GeoFEST and Disloc Portlets o Live on gf7.ucs.indiana.edu o Manage the user’s display: Web forms, links to output, graphics. o Save user session state persistently. QuakeTables Fault DB Web Service o Lives on gf2.ucs.indiana.edu o Contains geometric fault models. GeoFEST and Disloc Execution Web Services o Lives on gf19.ucs.indiana.edu o Generates input files from fault models. o Runs and manages codes.

Best Practice for Scientific Web Services There are many tools to choose from. o.NET, Apache Axis, Sun WS, Ruby on Rails, etc. Make them self-contained. o If possible, generate input files within the service. o Or have an input file generating service. o Remember that they may be used by other people with other client tools. Communicate data files with URLs. Be very careful about exposing the state of the service. o Don’t assume persistent connections.

Components for Portals Open Grid Computing Environments Examples. See ogce.org/ ogce.org/

Components for Science Portals OGCE is founded on the principal that portals should be built out of reusable parts. Key standard in our first phase: the JSR 168 portlet specification. Portlets can run in multiple containers o uPortal, Sakai, GridSphere, LifeRay, etc. Allows us to build Grid specific components and deploy along side other goodies: Sakai collaboration tools, contributed portlets, etc. Future: Open Social compliant Google Gadgets

OGCE GPIR portlet can interoperate with TeraGrid and your own GPIR services.

Manage TeraGrid MyProxy credentials with the OGCE ProxyManager portlets.

OGCE file management client portlets interact with TeraGrid GridFTP servers.

General purpose batch and interactive job submission to GRAM, WS-GRAM is supported.

Dashboard Portlet 23 The dashboard portlet allows users to track jobs on the selected resource. The user can view either his own set of jobs or get information on all submitted jobs.

Queue forecasting portlets work with the NWS QBETS to predict wait times and deadlines.

PURSe portlets manage user requests for portal accounts and Grid credentials.

Condor and Condor-G

OGCE IFrame Portlet can be used to integrate external sites.

Client Libraries for Grid Computing

Two Major Grid Client Efforts The Java COG Kit o Supports several versions of Globus and SSH. Condor-G o Has a Web Service interface (BirdBath) and Java client libraries. o Supports Globus (v2 and v4) and several other Grid middleware systems. You can build either portlets or Web services with either of these. OGCE portlets use primarily COG We prefer Condor-G based Web services for long running jobs.

CoG Abstraction Layer CoG CoG Data and Task Management Layer CoG Gridfaces Layer CoG CoG GridIDE GT2 GT3 (X) GT4 WS-RF CondorUnicore Applications SSHOthers Nano materials Bio- Informatics Disaster Management Portals CoG Abstraction Layer CoG CoG Data and Task Management Layer CoG Gridfaces Layer CoG CoG GridIDE Development Support CoG Abstraction Layers

Task Handler Service Task Specification Security Context Service Contact The class diagram is the same for all grid tasks (running jobs, modifying files, moving data). Classes also abstract toolkit provider differences. You set these as parameters: GT2, GT4, etc.

Coupling CoG Tasks The COG abstractions also simplify creating coupled tasks. Tasks can be assembled into task graphs with dependencies. o “Do Task B after successful Task A” Graphs can be nested.

Grid Client Development Problems Grid portlets typically wrap each single Grid capability in a separate portlet Problem is that Grid portlets need to combine these operations o Portlets are entire web applications, so we need a component model for portlets: reusable portlet parts Even with the COG Abstraction Layer, we must still do a lot of coding to build new applications. To address these problems we have adopted Java Server Faces o Provides several nice Model-View-Controller features o JSF provides an extensible framework (tag libraries) for making reusable components. o Apache JSF portlet bridge allows you to convert standalone JSF applications (development phase) into portlets (deployment phase).

GTLAB JSF Example …. <o:myproxy id=”pr” hostname=”gf1.ucs.indiana.edu” port=”7512” lifetime=”2” username=“mnacar” password=”***” /> <o:jobsubmit id=”task” hostname=”cobalt.ncsa.teragrid.org” provider=”GT4” executable=”/bin/ls” stdout=”tmp/result stderr=”tmp/error” /> 35

Grid TagsAssociated Grid BeansFeatures ComponentBuilderBean Creating components, job handlers, submitting jobs MonitorBean Handling monitoring page actions MultitaskBean Constructing simple workflow MultitaskBean Defining dependencies among sub jobs MyproxyBean Retrieving myproxy credential FileOprationBean Providing Gridftp operations JobSubmitBean Providing GRAM job submissions FileTransferBean Providing Gridftp file transfer ResourceBean Describes common properties among all tags and beans. Passing values given by standard visual JSF components.

Managing Scientific Workflows

Scientific Workflows Portal interfaces encode scientific use cases. If you have a rich set of services, it is a lot of work to make portlets for all possible use cases.  And power users will have always want something more. Example: our CICC project has dozens of chemical informatics Web services. Workflow composers can simplify this. o Allow users to encode and execute their own use cases.

Web Services and Workflows Perform a similarity search on the NIH DTP Human Tumor data. Filter the results based on Pharmacokinetic properties (FILTER) Convert to 3D (OMEGA) Docking into a pre- defined protein (FRED) Visualize (JMOL). Taverna workflow connects remote services.

OGCE’s XBaya Workflow Composer

Future of Science Gateways Web 2.0, Clouds, and other Stuff

Social Gadgets+AJAX DB Service JDBC DB Job Sub/Mon And File Services Operating and Queuing Systems REST Browser Interface REST WSDL REST Visualization Service DB REST Host 1Host 2Host 3 Updating the Octopus RSS,JSON/HTTP HTTP(S) REST

Enterprise ApproachWeb 2.0 Approach JSR 168 PortletsGadgets, Widgets Server-side integration and processing AJAX, client-side integration and processing, JavaScript SOAPRSS, Atom, JSON WSDLREST (GET, PUT, DELETE, POST) Portlet ContainersOpen Social Containers (Orkut, LinkedIn, Shindig); Facebook; StartPages User Centric GatewaysSocial Networking Portals Workflow managers (Taverna, Kepler, etc) Mash-ups Grid computing: Globus, condor, etcCloud computing: Amazon WS Suite, Xen Virtualization Semantic Web: RDF, OWL, ontologies Microformats, folksonomies

Sample Grid Gadgets in iGoogle

Microformats, KML, and GeoRSS feeds used to deliver SAR data to multiple clients.

More Information Contact me: See what I’m up to: OGCE software: QuakeSim: CICC: Lots of people worked on all of these.