Transcript Document

Holding slide prior to starting
show
A Portlet Service Model for
GECEM
Maria Lin and David Walker
Cardiff University
Project Collaborators
•
•
•
•
•
Cardiff University
Swansea University
BAE Systems
HP
Singapore Institute of HPC
Outline
•
•
•
•
•
Project Overview
Design
Screenshot
Future Work
Conclusion
Project Objective
• Integration of mesh generation, largescale linear system solver, and
collaborative visualization within a Web
service framework.
• Problem domain is computational
electromagnetics
GECEM Prototype Grid
BAE SYSTEMS
Create
geometry
UWS
Geometry data
Output
Mesh
Generate mesh
Output
Output
WeSC
CEM simulation
Other locations
GECEM Production Grid
UWS
BAE SYSTEMS
Geometry data
Create
geometry
Output
Mesh
Generate mesh
Output
Output
Singapore
CEM simulation
Other locations
Design
• Use portal and portlets to provide enduser interfaces for using grid services
• Use Globus Reliable File Transfer (RTF)
Service
• Use Globus Job Submission Service
• Use MyProxy as a single user log-on
GECEM Portal
• GridSphere
• Grid Portlets
• GECEM Portlets
GridSphere vs Jetspeed
• http://www.gridsphere.org/gridsphere/gridsphere?cid=comparison
GridSphere
Jetspeed
y
n
Support for third-party portlet packaging y
and deployment
n
Template project build support for the
creation of new portlet web applications
y
n
Support for "portlet service" model for
the development of services to perform
portlet business logic
y
n
Custom tag library for creating higher
level visual components
y
n
Integrated unit testing
y
n
Support for localization
GridSphere
• Provide login service
– Different role base
– Different user
• Provide Portlet subscription
• Provide layout selection
• Allow third-party portlet
GridSphere
•
•
•
•
•
•
Based on IBM Websphere
Open source
Developed by people from GridLab
Based on MVC model
Compliant with JSR 168
Use ActionPortlet Model : tags, beans
and events
Grid Portlets
• Registry Resource
• Implement authentication and
certification management through
myproxy
• Provide Job Submission Service
• Reliable File Transfer Portlet
Registry Resource
• Hand-written XML registry
• Define Hardware resources
• Define Service resources
– For myproxy-server
Specifying resource
<hardware-resource label=“Gecem Myproxy machine”
description=“Myproxy resource”
hostname=“myproxy.grid-support.ac.uk”
<credential-repository label=Gecem Myproxy machine”
port=“7512”
certfile=“”
keyfile=“”
proxyfile=“/tmp/proxy.pem”/>
</hardware-resource>
MyProxy
• Store Credential in a MyProxy Server
• Configure GridPortlets to apply single
logon using myproxy credential
• Retrieve credential using myproxy
password
• Next time logon using myproxy
password
GECEM Portlets
• Select Resources/Machines
• Select Files
• Submit Job to run meshes and solvers
simulation
Select Files
Data
Geometry Files
BAES
Meshers
Solvers
Code
Code
Swansea
Swansea
Job Submission
• View input files
• Use Gridportlets for myproxy
authentication, Reliable File Transfer
and Job Submission
• Run script to automate execution of file
transfer and job submission
• Use Gnuplot to visualize output
Current Version
• Use Gridsphere 1.1.2 as the portlet-based
portal
• Use Gridportlets for myproxy authentication,
Credential Management and Retrieval
• Data Portlets to select files
• Job Submission Portlet
– transfer file using GT3 Reliable File Transfer
(RFT) Service
– submit jobs for remote execution
GECEM portal
File Selection
Data
Mesh
Job Submission Portlet
Solver
RFT
GridSphere Portal
+
Tomcat
GRAM
gnuplot
Credential
Management
Logon
MyProxy
OGSA
OGSI (GT3)
Deploy and startup
• make sure $CATALINA_HOME
environment variable is set to the rootdir of
the tomcat installation
• startup tomcat
point your browser to
http://localhost:8080/gridsphere/gridsphere
Gecem Portal Login
Gecem Portal
Configure GridPortlet
Credential Management
Select File
Submit Job
Visualize Output
Software
• Prerequisite Software
– Java 2 Standard Edition version 1.4.2 or
higher.
– Apache Ant version 1.6 +
– GridSphere 1.1.2
– Grid portlets web application (CVS)
– Globus Toolkit (GT3)
Limitations
• The standards and technology are
changing
– Globus 3 was still in development
– GridSphere was still in development
– Grid Portlets web application was still in
CVS version
Limitations
• The codes are not stable
• The codes was not compatible between
versions especially from Gridportlets
– Credential Management
– File Transfer
– File Browser
• Difficult to integrate the works done
from one version to the other
Advantages of GridSphere
• User interface is great to hide the
complexity of accessing grid resources
• One single password is needed to
access different resources
• Portlet API similar to Java Servlet API
• User Interface tag library
• Use of third-party portlet
• JSR-168 compliant
Related Work
• Alliance Portal at Indiana University
• Open Grid Computing Environment
(OGCE)
• Sakai Project
(http://www.sakaiproject.org)
– CHEF
• Gridport 3.0
Under Development
• Use GridSphere 2.0 as the portlet-based portal
• GridPortlets
– myproxy authentication, Credential Management
and Retrieval
– Use GridFTP for file transfer
• Meshes and Solvers as OGSA grid services
• Data Portlet to select files using a file browser
• UDDI Portlet to publish and inquire web services
• Portlets to invoke grid services
Future Work
• Integrate with the Web Service provided
by Swansea
• Use workflow model
• Extend GECEM grid to include all
project partners
References
• GridSphere
– http://www.gridsphere.org/
• A Web Service Architecture for GECEM
– Maria Lin, David Walker, Yu Chen and Jason
Jones
– At AHM2004