Alternatives - GPDK

judgedrunkshipServers

Nov 17, 2013 (4 years and 1 month ago)

100 views

Computational Science Portals Group

San Diego Supercomputer Center

GPDK

Kurt Mueller

Stephen Mock

Computational Science Portals Group

San Diego Supercomputer Center

GPDK


Grid Portal Development Kit


Author: Jason Novotny, Lawrence Berkeley
Labs, California jdnovotny@lbl.gov


Java Beans


Uses Java CoG kit


Requires Tomcat servlet container

Computational Science Portals Group

San Diego Supercomputer Center

GPDK

GSI

Request

User Proxy

HTTPS

Web server

JSP + JavaBeans

Myproxy

server

Client Web

browser

Compute

Resource

Storage

Resource

Information

Service

GRAM

GridFTP

LDAP

Computational Science Portals Group

San Diego Supercomputer Center

GPDK

Requirements


JDK 1.3 or higher


Java CoG kit from Globus


Apache Tomcat servlet container 3.1.1
(may not work with 4.0.x)


A host certificate used to retrieve
credentials from a Myproxy server


Secure web server
-

Apache

Computational Science Portals Group

San Diego Supercomputer Center

GPDK

Uses ANT, a Java based build tool


Becoming common in java / open source


Everything in XML:

<jar jarfile=“lib/${project}.jar”




basedir=“${classes.dir}”/>

<copy todir=“${tomcat.home}/lib”>


http://jakarta.apache.org/ant

Computational Science Portals Group

San Diego Supercomputer Center

GPDK
-

core bean capabilities

Security


Retrieve credentials from Myproxy server,
create proxy


Job submission


Submit jobs defined by a JobBean using
Globus GRAM API or GSI
-
enhanced SSH

Computational Science Portals Group

San Diego Supercomputer Center

GPDK
-

core bean capabilities

Information Services


Provides MDS connection pool to multiple
LDAP servers


Query and Result beans provide an API for
querying LDAP servers for information

File Transfer


Provides a connection pool to multiple GSI
FTP servers, and beans for using GridFTP
API or GSI
-
enhanced SCP


Computational Science Portals Group

San Diego Supercomputer Center

GPDK and GridPort

In theory, GPDK more efficient


Uses Globus Java classes



vs


System calls to Globus executables



Java servlet environment



vs


Perl/CGI

Computational Science Portals Group

San Diego Supercomputer Center

GPDK and GridPort

GPDK requires more software


GPDK: J2SDK, Tomcat, Java CoG, Apache,
Myproxy


GridPort: Perl, Globus, Apache

But…


GPDK is available in a package called
Webserver
-
SG with others bundled in


GPDK configuration is more streamlined

Computational Science Portals Group

San Diego Supercomputer Center

GPDK and GridPort

GPDK not actively maintained / expanded


Built for Tomcat 3.x, but 4.x is now standard


Java CoG is evolving, GPDK may break


GridPort IS actively maintained


Works with Globus 1.1.3, 2.0


Converting to Perl module architecture for
GridPort 2.0

Computational Science Portals Group

San Diego Supercomputer Center

Computational Science Portals Group

San Diego Supercomputer Center

GPDK Summary


GPDK is a nice Java
-
based portal
development kit


Some advantages, some disadvantages
compared with GridPort


Example portal

http://www.ipg.nasa.gov/launchpad/launchpad


Project home

http://www
-
itg.lbl.gov/grid/projects/GPDK/