11.1 Grid Portals ITCS 4146/5146 Grid Computing, 2007, UNC-Charlotte, B. Wilkinson. March 11, 2007.

Slides:



Advertisements
Similar presentations
Using the Collaborative Tools in NEESgrid Charles Severance University of Michigan.
Advertisements

A Blackboard Building Block™ Crash Course for Web Developers
Reusable Components for Grid Computing Portals Marlon Pierce Community Grids Lab Indiana University.
Holding slide prior to starting show. Supporting Collaborative Working of Construction Industry Consortia via the Grid - P. Burnap, L. Joita, J.S. Pahwa,
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
Slides for Grid Computing: Techniques and Applications by Barry Wilkinson, Chapman & Hall/CRC press, © Chapter 1, pp For educational use only.
1-2.1 Grid computing infrastructure software Brief introduction to Globus © 2010 B. Wilkinson/Clayton Ferner. Spring 2010 Grid computing course. Modification.
1 Teaching Grid Computing across North Carolina and Beyond Dr. Clayton Ferner University of North Carolina Wilmington Dr. Barry Wilkinson University of.
11.1 Grid Portals ITCS 4010 Grid Computing, 2005, UNC-Charlotte, B. Wilkinson.
GridSphere for GridLab A Grid Application Server Development Framework By Michael Paul Russell Dept Computer Science University.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
Globus Computing Infrustructure Software Globus Toolkit 11-2.
1 Java Server Programming zLecture 1 focuses on: yIntroduction to web services y Web Services using Axis y The bigger Picture: Introduction to J2EE y Java.
Understanding and Managing WebSphere V5
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
Grid Computing, B. Wilkinson, a.1 Grid Portals.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
NBCR Summer Institute 2006 GridSphere:Hands-on Installation and Development Jason Novotny
Commodity Grid (CoG) Kits Keith Jackson, Lawrence Berkeley National Laboratory Gregor von Laszewski, Argonne National Laboratory.
Grid Portals ITCS 4010 Grid Computing, 2005, UNC-Charlotte, B. Wilkinson.
8-2.1 Grid Portals Slides for Grid Computing: Techniques and Applications by Barry Wilkinson, Chapman & Hall/CRC press, © Chapter 8, pp
XCAT Science Portal Status & Future Work July 15, 2002 Shava Smallen Extreme! Computing Laboratory Indiana University.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
8-2.1 Grid Portals © 2011 B. Wilkinson/Clayton Ferner. Fall 2011Grid computing course. Modification date: July 26, 2011.
Holding slide prior to starting show. A Grid-based Problem Solving Environment for GECEM Maria Lin and David Walker Cardiff University Yu Chen and Jason.
HPC club presentation A proposal for a campus-wide research grid Barry Wilkinson Department of Computer Science UNC-Charlotte Dec. 2, 2005.
Presentation: SOAP in a distributed object framework, Application Servers & AXIS SOAP.
CoG Kit Overview Gregor von Laszewski Keith Jackson.
Java Server Pages A JSP page is a text-based document that contains two types of text: static template data, which can be expressed in any text-based format,
© 2006 IBM Corporation IBM WebSphere Portlet Factory Architecture.
J2EE Structure & Definitions Catie Welsh CSE 432
GT Components. Globus Toolkit A “toolkit” of services and packages for creating the basic grid computing infrastructure Higher level tools added to this.
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
CS 390- Unix Programming Environment CS 390 Unix Programming Environment Topics to be covered: Distributed Computing Fundamentals.
Grid Computing, B. Wilkinson, b.1 National Science Foundation Middleware Initiative (NMI) Started in 2001 initially over 3 years “to create and deploy.
Grids and Portals for VLAB Marlon Pierce Community Grids Lab Indiana University.
OGCE Consortium Reusable Grid Portal Components Mary Thomas.
23:48:11Service Oriented Cyberinfrastructure Lab, Grid Portals Fugang Wang April 29
National Center for Supercomputing Applications NCSA OPIE Presentation November 2000.
GEM Portal and SERVOGrid for Earthquake Science PTLIU Laboratory for Community Grids Geoffrey Fox, Marlon Pierce Computer Science, Informatics, Physics.
Presentation: SOAP/WS in a distributed object framework, Application Servers & AXIS SOAP.
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.
Holding slide prior to starting show. A Portlet Interface for Computational Electromagnetics on the Grid Maria Lin and David Walker Cardiff University.
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
1 The Portal Expedition Beth Plale, Dennis Gannon Indiana University – Project Leads Jay Alameda NCSA – Project Coordinator The Alliance Portals Expedition.
WALSAIP Portal Automated Composition of Signal Processing Operators Mariana Mendoza Botero.
GRID Overview Internet2 Member Meeting Spring 2003 Sandra Redman Information Technology and Systems Center and Information Technology Research Center National.
11a.1 Grid Portals Copyright B. Wilkinson, This material is the property of Professor Barry Wilkinson (UNC-Charlotte) and is for the sole and exclusive.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
Some comments on Portals and Grid Computing Environments PTLIU Laboratory for Community Grids Geoffrey Fox, Marlon Pierce Computer Science, Informatics,
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Development of e-Science Application Portal on GAP WeiLong Ueng Academia Sinica Grid Computing
VisPortal Project developer’s experience C.E.Siegerist, J. Shalf, E.W. Bethel NERSC/LBNL Visualization Group T.J. Jankun-Kelley, O. Kreylos, K.L. Ma CIPIC/UC.
Short Course on Grid Computing Jornadas Chilenas de Computación 2010 INFONOR-CHILE 2010 November 15th - 19th, 2010 Antofagasta, Chile Dr. Barry Wilkinson.
The Jetspeed Portal Bluesunrise.com and The Apache Software Foundation January 28, 2002 From
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
Application Web Service Toolkit Allow users to quickly add new applications GGF5 Edinburgh Geoffrey Fox, Marlon Pierce, Ozgur Balsoy Indiana University.
Holding slide prior to starting show. Lessons Learned from the GECEM Portal David Walker Cardiff University
Shaowen Wang 1, 2, Yan Liu 1, 2, Nancy Wilkins-Diehr 3, Stuart Martin 4,5 1. CyberInfrastructure and Geospatial Information Laboratory (CIGI) Department.
Writing Grid Portlets.
Outline SOAP and Web Services in relation to Distributed Objects
Shaowen Wang1, 2, Yan Liu1, 2, Nancy Wilkins-Diehr3, Stuart Martin4,5
Outline SOAP and Web Services in relation to Distributed Objects
OGCE OGCE The Open Grid Computing Environments Collaboratory
MSIS 655 Advanced Business Applications Programming
Middleware for Grid Portal Development
Open Grid Computing Environments
OGCE Architecture: Portlets and Services for Science Gateways
Grid Computing Software Interface
Presentation transcript:

11.1 Grid Portals ITCS 4146/5146 Grid Computing, 2007, UNC-Charlotte, B. Wilkinson. March 11, 2007

11.2 Grid Portal “A web-based application server enhanced with the necessary software to communicate to grid services and resources” “Provides application scientist a customized view of software and hardware resources from a web browser” [1] [1] “Grid Computing Making the Global Infrastructure a Reality” ed. F. Berman, G. C. Fox and A. J. G. Hey, Wiley, 2003, Chapter 27 “The Grid portal development kit” by J. Novotny.

11.3 Grid Portals Uses a Web browser interface –Can use from anywhere. Hides details of Grid middleware –Good!! Provides –Access to grid information –Access to grid services –Automated execution of applications/jobs –Workflow management –File management –Single sign-on to grid resources

11.4 Access to Grid Services Security Services –management of certificates –access to virtual organization (people) Remote File Management –access to files and directories –moving files Remote job management –job submission –workflow management

11.5 Access to Information Portals also provide access to information -- anything related to tasks at hand, including communication with virtual organization. In fact, some portals started simply as informational portals in the same vein as web portals such as yahoo.

11.6 Grid Portal Toolkits Need software tools to put together grid portals Several portal “toolkits” developed since mid-1990’s. Used for application specific grid projects, and for general-purpose grid portals

11.7 Available Technologies for putting together portal toolkits

11.8 Java Servlets Objects that allows a software developer to add dynamic content to a Web server using the Java platform. Generate content commonly HTML but may be other data such as XML. Servlets can maintain state across many server transactions by using HTTP cookies, session variables or URL rewriting (altering URL before requesting item).

11.9 JavaServer Pages (JSP) A Java technology that allows software developers to dynamically generate HTML, XML or other types of documents in response to a Web client request. JSP syntax adds additional XML-like tags, called JSP actions, to be used to invoke built-in functionality. JSPs compiled into Java Servlets by a JSP compiler. From:

11.10 JavaBeans Java classes used to encapsulate many objects into a single object (the bean), so that the bean can be passed around rather than the individual objects.

11.11 Commodity Grid (CoG) Kits ( Examples: Java and Python CoG Kits) A higher-level framework for grid devopment. Allow rapid Grid application development. Encourage collaborative code reuse and avoid duplication of effort. Used within GT3.2 and GT4. Java-based GSI, gridFTP, myProxy, GRAM client. Provides support for portal developers.

11.12 Servlet engines Provides support for servlets. Example Apache Tomcat Apache Tomcat used in Assignment 6, together with Gridsphere portlet framework)

11.13 Early Portal Toolkit Examples 1990s: The Grid Portal Development Kit (GPDK) (not now supported) – Used Java Server Pages (JSPs) for presentation layer, and JavaBeans to access backend. NPACI Grid Portal Toolkit (Gridport) (National Partnership for Advanced Computational Infrastructure)

11.14 GridPort 2.0 –Perl-based Grid portal toolkit Ninf Portal –JSP/Java Servlet front-end GridSpeed portal –an extension of Ninf

11.15

11.16 Application-Based Portals Portals often specialized to a particular application. –for example, grid portal for high energy physics. Portal toolkits give ability to taylor portal to application or user.

11.17 MPI program Starting job From a paper”Building GridPortals: The NPACI Grid Portal Toolkit” by M. P. Thomas and J. R. Boisseau. NPACI Hotpage Grid portal (based upon GridPort)

11.18 Adapted from slides “The NCSA Alliance Portal and the Open Grid Computing Environment Project” by D. Gannon, G. Fox, B. Plale, M. Pierce, M. Thomas, C. Severance, G. von Lazewski, and J. Alameda.

11.19 DOE Fusion Grid Portal Adapted from slides “Reuseable Grid Portral Components” by M Thomas.

11.20 Linked Environments for Atmospheric Discovery (LEAD) Adapted from slides “Reuseable Grid Portral Components” by M Thomas.

11.21 NEES – George E. Brown, Jr. Network for Earthquake Engineering Simulation –Large Installations of physical equipment for earthquake experiments and simulations –Part of the award is to make equipment available for remote collaborators Focus is on collaboration and experimental equipment sharing in addition to access to computation From slides “The NCSA Alliance Portal and the Open Grid Computing Environment Project” by D. Gannon, G. Fox, B. Plale, M. Pierce, M. Thomas, C. Severance, G. von Lazewski, and J. Alameda.

11.22 Network for Earthquake Eng. and Simulation (NEESGrid) Adapted from slides “Reuseable Grid Portral Components” by M Thomas.

11.23 Early grid portals “tools” not very flexible. Tied to specific programming tools and grid software, such as Globus 2.4. Specific programming structure not suitable for users to develop portals themselves. Not standardized APIs.

11.24 Portal Implementation Should be flexible, meet grid industry standards, be able to be extended using parts developed by others. General approach currently is to use “software components” called portlets.

11.25 Portals with Portlets Portal server consists of portlets Each portlet provides certain functionality and a window within the portal. Each portlet can be associated with a particular grid service User can have any number of portlets as he/she wishes (will be associated with user’s persistent context).

11.26 Portlets provided for: –Management of user proxy certificates –Remote file Management via Grid FTP –News/Message systems for collaborations –Grid Event/Logging service –Access to OGSA services –Access to directory services –Specialized Application Factory access Distributed applications Workflow –Access to Metadata Index tools User searchable index

11.27 Portal Server MyProxy Server Metadata Directory Service(s) Directory & index Services Application Factory Services Messaging and group collaboration Event and logging Services Portal Server Adapted from slides “The NCSA Alliance Portal and the Open Grid Computing Environment Project” by D. Gannon, G. Fox, B. Plale, M. Pierce, M. Thomas, C. Severance, G. von Lazewski, and J. Alameda.

11.28 Portlet Approach to Grid Services Portal Server MyProxy Server Metadata Directory Service(s) Directory & index Services Application Factory Services Messaging and group collaboration Event and logging Services Portlet 1 Portlet 2 Portlet 3 Portlet 4 Portlet 5 Portlet 6 Adapted from slides “The NCSA Alliance Portal and the Open Grid Computing Environment Project” by D. Gannon, G. Fox, B. Plale, M. Pierce, M. Thomas, C. Severance, G. von Lazewski, and J. Alameda.

11.29 A Pane and portlet Proxy Manager Portlet The current Visible pane Adapted from slides “The NCSA Alliance Portal and the Open Grid Computing Environment Project” by D. Gannon, G. Fox, B. Plale, M. Pierce, M. Thomas, C. Severance, G. von Lazewski, and J. Alameda.

11.30 Advantages of Portlet Approach Easy to add new grid services and reconfigure user’s view (context) Different software developers can provide portals to be plugged into portal –Many parties developing portal and portlet tools -- Jetspeed (Apache), Websphere (IBM), GridSphere, … Portal/portlet standard called JSR 168 (portlet Java Specification Request open standard).

11.31 Portal Layout

11.32 National Science Foundation Middleware Initiative (NMI) Started in 2001 initially over 3 years “to create and deploy advanced network services that simplify access to diverse Internet information and services.” Provides a centralized location for important grid software. Current NMI package includes Globus, Condor, MPI-G2, and: – a new grid portal project called OGCEGrid (funding started Sept 2003).

11.33 Consortium established “Fall 2003 to foster collaborations and shareable components with portal developers worldwide” The following screenshots taken from

11.34 OGCE version 1 Sample feature

11.35 Membership: Join/participate in different topic groups (Group tabs across top).

11.36 Schedule: Maintain a personal or group calendar.

11.37 Chat: Engage other members of your group in online discussion.

11.38 Proxy Manager and Job Submit: Obtain/manage Grid credentials to access Grid resources through browser. Also shown are GRAM job launchers and sample "ping" portlet.

11.39 Grid FTP: Use your credential to browse remote directories/upload/download files.

11.40 Grid Context: Store arbitrary web objects (movies, web pages, audio files) in a customizable, annotated directory tree.

11.41 The OGCE Release 2 Consists of a core set of JSR 168 compatible Grid portlets. Portal container-independent. Currently can choose between uPortal and GridSphere containers to deploy OGCS2 portlets.

11.42 GridSphere Portal framework provides an open- source portlet based Web portal.

11.43

11.44 Assignment 6a Goal: To learn how to deploy portlets within Gridsphere. Makes underlying software structure of JSR 168 grid portals more concrete.

11.45 Structure Apache Tomcat servlet engine Gridsphere portal framework Deploy Portlet

11.46 Step 1: Download and Install Tomcat Testpage:

11.47 Step 2: Download and Install Gridsphere After downloading and installing Gridsphere, Gridsphere located at:

11.48 Goto to get set-up screen:

11.49 After filling details, get usual Gridsphere screen. Similar to course portal except PURSe registration portlet not installed (a separate package):

11.50 Creating your own portlet The portlet will accept one number and say whether it is odd or even (“oddeven” portlet)

11.51 Files Gridsphere provides tool to create template files. Portlet designer then needs to provide java source file that does the required evaluation, and Provide/modify three portlet deployment descriptor files.

11.52 Directory Structure src holds directory structure leading to java source file webapp holds deployment descriptor files

11.53 Deployment descriptor files Three deployment descriptor files needed to create a portlet: Portlet.xmlJSR 168 standard, describing portlet Layout.xmlGridsphere file describing layout of portlet within page Group.xmlGridsphere file describing collection of portlets Files are held webapp\WEB-INF directory. (There are other deployment files, which generated automatically during deployment.)

11.54 webapp\WEB-INF directory Layout.xml Portlet.xml Group.xml

11.55 Odd Even Odd Even edu.uncc.abw.portlets.OddEven Layout.xml Specified columns and rows of a table in portlet. Components are in cells of table. Path to portlet code (There is an alternative format using # symbol)

11.56 group.xml Specifies group for portlet demo The demo group PUBLIC edu.uncc.abw.portlets.OddEven USER Group name Portlet

11.57 Portlet.xml … Odd Even Portlet OddEven Odd Even Portlet edu.uncc.abw.portlets.OddEven 60 text/html edit help en Odd Even odd even Portlet

11.58 Java portlet code public class OddEven extends ActionPortlet { private static final String DISPLAY_PAGE = "MainPage.jsp"; public void init(PortletConfig config) throws PortletException { super.init(config); DEFAULT_VIEW_PAGE = "prepare"; } public void action(ActionFormEvent event) throws PortletException { TextFieldBean value1 = event.getTextFieldBean("valueTF1"); TextBean answer = event.getTextBean("answer"); int val = Integer.parseInt( value1.getValue() ); if (value1.getValue() == null ) { answer.setValue(""); } else { if( isEven(val) ) { answer.setValue("The number: " + value1.getValue() + " is Even"); } else { answer.setValue("The number: " + value1.getValue() + " is Odd"); } setNextState(event.getActionRequest(), DISPLAY_PAGE); } public void prepare(RenderFormEvent event) throws PortletException { setNextState(event.getRenderRequest(), DISPLAY_PAGE); } public boolean isEven(int val) { return val % 2 == 0; }

11.59 JavaServer Pages,.jsp OddEven.java also uses a file called MainPage.jsp to dynamically generate an HTML page. MainPage.jsp held in webapp\jsp directory

11.60 MainPage.jsp This portlet will figure out if the inputed number is even or odd.

11.61 Final Odd Even portlet

11.62 More Information See the links on the Gridsphere portal page

11.63 General information on portals Books: “ Grid Computing Making the Global Infrastructure a Reality” ed. F. Berman, G. C. Fox and A. J. G. Hey, Wiley, –Chapter 27 “The Grid portal development kit” by J. Novotny. –Chapter 28 “Building grid computing portals: the NPACI grid portal toolkit” by M. P. Thomas and J. R. Boisseau

11.64 More Information JSR 168 Portlet specification jsr168 GridLab, The GridSphere Portal Network for Earthquake Engineering Simulation Grid (NEESGrid)

11.65 Questions