activity schema

10
London e-Science Centre Activity Schema What we’ve discussed already A. Stephen M C Gough Imperial College London

Upload: gudrun

Post on 05-Jan-2016

28 views

Category:

Documents


0 download

DESCRIPTION

Activity Schema. What we’ve discussed already A. Stephen M C Gough Imperial College London. Job. Job. Job. JSDL. JSDL. JSDL. JLM. JLM. JLM. …. …. …. RRL. RRL. RRL. JPL. JPL. JPL. WS-A. WS-A. WS-A. SDL. SDL. SDL. …. …. …. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Activity Schema

London e-Science Centre

Activity SchemaActivity SchemaWhat we’ve discussed already

A. Stephen MCGough

Imperial College London

What we’ve discussed already

A. Stephen MCGough

Imperial College London

Page 2: Activity Schema

2

London e-Science Centre

WorkflowJob

JSDL

RRL

SDL WS-A

JLM

JPL

JobJSDLRRL

SDL WS-A

JLM

JPL…

JobJSDLRRL

SDL WS-A

JLM

JPL…

JobJSDLRRL

SDL WS-A

JLM

JPL…

JSDL: Conceptual relation with other standards

JSDL: Conceptual relation with other standards

RRL - Resource Requirements Language SDL – Scheduling Description Language WS-A – WS-Agreement

JLM – Job Lifetime Management JPL – Job Policy Language

Page 3: Activity Schema

3

London e-Science Centre

BES (GridSAM)

JSDL Document Life CycleJSDL Document Life Cycle

A JSDL document may beAbstract

Only the minimum information necessaryFor example, application name and input files

Runnable at sites that understand this level of description

RefinedMore detail provided

Target site, number of CPUs, which data sourceMay be refined several times

Tied to a specific site/systemIncarnated (Unicore speak); orGrounded (Globus speak)

This model is supported/allowed but not required by JSDL

A JSDL document may beAbstract

Only the minimum information necessaryFor example, application name and input files

Runnable at sites that understand this level of description

RefinedMore detail provided

Target site, number of CPUs, which data sourceMay be refined several times

Tied to a specific site/systemIncarnated (Unicore speak); orGrounded (Globus speak)

This model is supported/allowed but not required by JSDL

Page 4: Activity Schema

London e-Science Centre

GridSAM Job Submission and Monitoring Web Service

GridSAM Job Submission and Monitoring Web Service

Page 5: Activity Schema

5

London e-Science Centre

Integration with OMII Distribution

Integration with OMII Distribution

Page 6: Activity Schema

6

London e-Science Centre

Deployment Scenario: Globus 2.4.3

Deployment Scenario: Globus 2.4.3

Page 7: Activity Schema

7

London e-Science Centre

JSDL Extension ExampleJSDL Extension Example

<?xml version="1.0" encoding="UTF-8"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl">

<JobDescription> <POSIXApplication xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix">

<Executable>/bin/echo</Executable>

<Argument>hello world</Argument>

</POSIXApplication>

</JobDescription>

<MyProxy xmlns="urn:gridsam:myproxy">

<ProxyServer>myproxy.ncsa.uiuc.edu</ProxyServer>

<ProxyServerDN>

/C=US/O=National Center for Supercomputing

Applications/CN=bosco.ncsa.uiuc.edu</ProxyServerDN>

<ProxyServerPort>7512</ProxyServerPort>

<ProxyServerUserName>myusername</ProxyServerUserName>

<ProxyServerPassPhrase>mypassphrase</ProxyServerPassPhrase>

<ProxyServerLifetime>7512</ProxyServerLifetime>

</MyProxy>

</JobDescription>

</JobDefinition>

<?xml version="1.0" encoding="UTF-8"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl">

<JobDescription> <POSIXApplication xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix">

<Executable>/bin/echo</Executable>

<Argument>hello world</Argument>

</POSIXApplication>

</JobDescription>

<MyProxy xmlns="urn:gridsam:myproxy">

<ProxyServer>myproxy.ncsa.uiuc.edu</ProxyServer>

<ProxyServerDN>

/C=US/O=National Center for Supercomputing

Applications/CN=bosco.ncsa.uiuc.edu</ProxyServerDN>

<ProxyServerPort>7512</ProxyServerPort>

<ProxyServerUserName>myusername</ProxyServerUserName>

<ProxyServerPassPhrase>mypassphrase</ProxyServerPassPhrase>

<ProxyServerLifetime>7512</ProxyServerLifetime>

</MyProxy>

</JobDescription>

</JobDefinition>

Page 8: Activity Schema

8

London e-Science Centre

Or…Or…

Use GridSAM to add this info into a vanilla JSDL document for you

gridsam-submit -sn ngs -myproxy -myproxyuser myusername -myproxyhost myproxy.ncsa.uiuc.edu -j <HOME>/helloworld.jsdl

MyProxy passphrase: ********

urn:gridsam:ff80808201afccc00101afccc3900001

Use GridSAM to add this info into a vanilla JSDL document for you

gridsam-submit -sn ngs -myproxy -myproxyuser myusername -myproxyhost myproxy.ncsa.uiuc.edu -j <HOME>/helloworld.jsdl

MyProxy passphrase: ********

urn:gridsam:ff80808201afccc00101afccc3900001

Page 9: Activity Schema

9

London e-Science Centre

myproxy:MyProxyServer: MyProxy server hostname myproxy:ProxyServerDN: Expected MyProxy server

distinguished name so GridSAM can authenticate the server.

myproxy:ProxyServerPort: MyProxy server port. The default is 7512.

myproxy:ProxyServerUserName: The MyProxy username

myproxy:ProxyServerPassPhrase: The plain-text MyProxy passphrase. User should authenticate and authorise the GridSAM server before passing this information across the network.

myproxy:ProxyServerLifetime: The lifetime of the delegated proxy retrieved from the MyProxy server.

myproxy:MyProxyServer: MyProxy server hostname myproxy:ProxyServerDN: Expected MyProxy server

distinguished name so GridSAM can authenticate the server.

myproxy:ProxyServerPort: MyProxy server port. The default is 7512.

myproxy:ProxyServerUserName: The MyProxy username

myproxy:ProxyServerPassPhrase: The plain-text MyProxy passphrase. User should authenticate and authorise the GridSAM server before passing this information across the network.

myproxy:ProxyServerLifetime: The lifetime of the delegated proxy retrieved from the MyProxy server.

Page 10: Activity Schema

London e-Science Centre

Questions?Questions?

Official Downloadhttp://www.omii.ac.uk

Project Information and Documentationhttp://gridsam.sourceforge.net

Official Downloadhttp://www.omii.ac.uk

Project Information and Documentationhttp://gridsam.sourceforge.net