Information Model, JSDL and XQuery: A proposed solution

Slides:



Advertisements
Similar presentations
© 2006 Open Grid Forum GHPN-RG Status update co-chairss:Cees de Laat Dimitra Simeonidou GGF22, Boston, February 2008.
Advertisements

© 2006 Open Grid Forum JSDL 1.0: Parameter Sweeps OGF 23, June 2008, Barcelona, Spain.
© 2006 Open Grid Forum Network Services Interface OGF30: Connection Services Guy Roberts, 27 th Oct 2010.
© 2006 Open Grid Forum Ellen Stokes, IBM Michel Drescher, Fujitsu Information Model, JSDL and XQuery: A proposed solution OGF-19 Chapel Hill, NC USA.
© 2006 Open Grid Forum Network Services Interface Introduction to NSI Guy Roberts.
© 2006 Open Grid Forum JSDL 1.0: Parameter Sweeps: Examples OGF 22, February 2008, Cambridge, MA.
© 2006 Open Grid Forum OGF19 Federated Identity Rule-based data management Wed 11:00 AM Mountain Laurel Thurs 11:00 AM Bellflower.
© 2007 Open Grid Forum JSDL-WG Session OGF27 – General Session 10:30-12:00, 14 October 2009 Banff, Canada.
©2010Open Grid Forum OGF28 OGSA-DMI Status Chairs: Mario Antonioletti, EPCC Stephen Crouch, Southampton Shahbaz Memon, FZJ Ravi Madduri, UoC.
© 2006 Open Grid Forum Joint Session on Information Modeling for Computing Resources OGF 20 - Manchester, 7 May 2007.
© 2007 Open Grid Forum JSDL-WG Session OGF21 – Activity schema session 17 October 2007 Seattle, U.S.
© 2006 Open Grid Forum 2 nd March 09 Enterprise Grid Requirements Research Group OGF25 EGR-RG Session Group.
© 2006 Open Grid Forum OGSA Next Steps Discussion Providing Value Beyond the Specifications.
© 2008 Open Grid Forum Resource Selection Services OGF22 – Boston, Feb
© 2006 Open Grid Forum Network Services Interface OGF29: Working Group Meeting Guy Roberts, 19 th Jun 2010.
Feb OGF22NML-WG: Welcome and Introduction Welcome and Introduction Paola Grosso - UvA Martin Swany - UDelaware.
© 2007 Open Grid Forum JSDL-WG Session 1 OGF25 – General Session 11:00-12:30, 3 March 2009 Catania.
© 2006 Open Grid Forum JSDL Optional Elements OGF 24 Singapore.
© 2007 Open Grid Forum Data/Compute Affinity Focus on Data Caching.
© 2006 Open Grid Forum Grid Resource Allocation Agreement Protocol GRAAP-WG working session 2 Wenesday, 17 September, 2008 Singapore.
© 2006 Open Grid Forum Joint Session on Information Modeling for Computing Resources (OGSA Modeling Activities) OGF 21 - Seattle, 16 October 2007.
© 2006, 2007 Open Grid Forum Michel Drescher, FujitsuOGF-20, Manchester, UK Andreas Savva, FujitsuOGF-21, Seattle, US (update) Extending JSDL 1.0 with.
© 2009 Open Grid Forum Usage Record Working Group Alignment and Production Profile.
1 ©2013 Open Grid Forum OGF Working Group Sessions Security Area – FEDSEC Jens Jensen, OGF Security Area.
© 2006 Open Grid Forum DCI Federation Protocol BoF Alexander Papaspyrou, TU Dortmund University Open Grid Forum March 15-18, 2010, Munich, Germany.
© 2007 Open Grid Forum Data Grid Management Systems: Standard API - community development Arun Jagatheesan, San Diego Supercomputer Center & iRODS.org.
© 2006 Open Grid Forum Service Level Terms Andrew Grimshaw.
© 2010 Open Grid Forum Standards All Hands Meeting OGF28, München, March 2010.
© 2006 Open Grid Forum Network Services Interface OGF 32, Salt Lake City Guy Roberts, Inder Monga, Tomohiro Kudoh 16 th July 2011.
© 2007 Open Grid Forum JSDL-WG Session OGF22 – General Session (11:15-12:45) 25 February 2008 Boston, U.S.
© 2006 Open Grid Forum FEDSEC-CG Andrew Grimshaw and Jens Jensen.
© 2006 Open Grid Forum Activity Instance Schema Philipp Wieder (with the help of the JSDL-WG) Activity Instance Document Schema BoF Monday, 25 February,
© 2006 Open Grid Forum Network Services Interface OGF 33, Lyon Guy Roberts, Inder Monga, Tomohiro Kudoh 19 th Sept 2011.
© 2015 Open Grid Forum ETSI CSC activities Wolfgang Ziegler Area Director Applications, OGF Fraunhofer Institute SCAI Open Grid Forum 44, May 21-22, 2015.
© 2006 Open Grid Forum GridRPC Working Group 15 th Meeting GGF22, Cambridge, MA, USA, Feb
OGSA-RSS Face-to-Face Meeting Sunnyvale, CA, US Aug 15-16, 2005.
© 2006 Open Grid Forum Network Services Interface CS Errata Guy Roberts, Chin Guok, Tomohiro Kudoh 29 Sept 2015.
© 2006 Open Grid Forum OGSA-WG: EGA Reference Model GGF18 Sept. 12, 4-5:30pm, #159A-B.
© 2006 Open Grid Forum Remote Instrumentation Services in Grid Environment Introduction Marcin Płóciennik Banff, OGF 27 Marcin Płóciennik.
© 2006 Open Grid Forum NML Progres OGF 28, München.
© 2008 Open Grid Forum PGI - Information Security in the UNICORE Grid Middleware Morris Riedel (FZJ – Jülich Supercomputing Centre & DEISA) PGI Co-Chair.
© 2007 Open Grid Forum OGF Management Area Meeting OGF20 7 May, am-12:30pm Manchester, UK.
© 2006 Open Grid Forum Grid Resource Allocation Agreement Protocol GRAAP-WG working session 1 Thursday, 5 March, 2009 Catania, Sicily.
© 2006 Open Grid Forum VOMSPROC WG OGF36, Chicago, IL, US.
© 2007 Open Grid Forum OGF20 Levels of the Grid Workflow Interoperability OGSA-WG F2F meeting Adrian Toth University of Miskolc NIIF 11 th May, 2007.
© 2006 Open Grid Forum 1 Application Contents Service (ACS) ACS-WG#1 Monday, September 11 10:30 am - 12:00 am (158A-B) ACS-WG#2 Wednesday, September 13.
© 2008 Open Grid Forum Production Grid Infrastructure WG State Model Discussions PGI Team.
© 2007 Open Grid Forum JSDL-WG Session OGF26 – General Session 11:00-12:30, 28 May 2009 Chapel Hill, NC.
Network Services Interface
SLIDES TITLE Your name Session Name, OGSA-WG #nn
Welcome and Introduction
OGSA EMS Session OGF19 OGSA-WG session #3 30 January, :30pm
RISGE-RG use case template
GridRPC Working Group 13th Meeting
Grid Resource Allocation Agreement Protocol
Service Virtualization via a Network Appliance….
OGF session PMA, Florence, 31 Jan 2017.
WS-Agreement Working Session
Network Services Interface
OGSA-Workflow OGSA-WG.
Network Measurements Working Group
WS Naming OGF 19 - Friday Center, NC.
Activity Delegation Kick Off
SAGA: Java Language Binding
Network Services Interface Working Group
OGSA-RSS-WG EPS Discussion.
Introduction to OGF Standards
SAGA: Java Language Binding
Proposed JSDL Extension: Parameter Sweeps
OGF 40 Grand BES/JSDL Andrew Grimshaw Genesis II/XSEDE
Presentation transcript:

Information Model, JSDL and XQuery: A proposed solution Michel Drescher, Fujitsu OGSA-16 Tampa, FL, USA

OGF IPR Policies Apply “I acknowledge that participation in this meeting is subject to the OGF Intellectual Property Policy.” Intellectual Property Notices Note Well: All statements related to the activities of the OGF and addressed to the OGF are subject to all provisions of Appendix B of GFD-C.1, which grants to the OGF and its participants certain licenses and rights in such statements. Such statements include verbal statements in OGF meetings, as well as written and electronic communications made at any time or place, which are addressed to: the OGF plenary session, any OGF working group or portion thereof, the OGF Board of Directors, the GFSG, or any member thereof on behalf of the OGF, the ADCOM, or any member thereof on behalf of the ADCOM, any OGF mailing list, including any group list, or any other list functioning under OGF auspices, the OGF Editor or the document authoring and review process Statements made outside of a OGF meeting, mailing list or other function, that are clearly not intended to be input to an OGF activity, group or function, are not subject to these provisions. Excerpt from Appendix B of GFD-C.1: ”Where the OGF knows of rights, or claimed rights, the OGF secretariat shall attempt to obtain from the claimant of such rights, a written assurance that upon approval by the GFSG of the relevant OGF document(s), any party will be able to obtain the right to implement, use and distribute the technology or works when implementing, using or distributing technology based upon the specific specification(s) under openly specified, reasonable, non-discriminatory terms. The working group or research group proposing the use of the technology with respect to which the proprietary rights are claimed may assist the OGF secretariat in this effort. The results of this procedure shall not affect advancement of document, except that the GFSG may defer approval where a delay may facilitate the obtaining of such assurances. The results will, however, be recorded by the OGF Secretariat, and made available. The GFSG may also direct that a summary of the results be included in any GFD published containing the specification.” OGF Intellectual Property Policies are adapted from the IETF Intellectual Property Policies that support the Internet Standards Process. 2

Overview Two documents Goals A job description A resource description Does the job meet the resource’s requirements? <Capabilities> </Capabilities> <Capabilities> </Capabilities> <Requirements> </Requirements> <Requirements> </Requirements> Does the resource meet the job’s requirements? 3

Contents Foundations: XML Schemas Foundations: XML Documents XQuery and context Solution Results 4

XML Schemas Information Model BES2 JSDL2 Makes use of Information Model JSDL2 5

Info Model XML Schema <Requirements> <XQuery> xs:string </XQuery> </Requirements> <Capabilities> <Host/>+ <VO/>+ </Capabilities> 6

Info Model XML Schema (cont’d) <Host> <CPU> <Architecture> <CPUSpeed> </CPU> <OS> <OSType> <PhysicalMemory> </OS> <Software> <Library>+ <SoftwarePackage>+ </Software>? </Host> <VO> <Name/> <Authentication> <X509/>? <UserPass/>? </Authentication> <Authorisation> <TAN/>+ <Kerberos5/>+ </Authorisation> </VO> 7

JSDL2 / BES2 XML Schema JSDL2 BES2 <JSDLJob> <Resources> <im:Capabilities/> <im:Requirements/> </JSDLJob> <Resources> <im:Capabilities/> <im:Requirements/> </Resources> 8

Contents Foundations: XML Schemas Foundations: XML Documents XQuery and context Solution Results 9

Sample JSDL2 document <Job> </Job> <Capabilities> <VO> <Name> DEISA </Name> <Authentication> <X509/> <UserPass/> <Authorisation> <TAN/> </Authorisation> </VO> </Capabilities> <VO> <Name> OGSA </Name> <Authentication> <X509/> </Authentication> <Authorisation> <TAN/> </Authorisation> </VO> <Requirements> <XQuery> im:OS/im:PhysicalMemory < 101 </XQuery> </Requirements> 10

Sample BES2 document <Job> </Job> <Capabilities> <Host Name=“Host1”> <CPU/> ( Intel, 10 ) <OS/> ( Linux, 100 ) <Software/> </Host> <Host Name=“Host2”> <OS/> ( Windows, 80 ) </Capabilities> <Host Name=“Host3”> <CPU/> ( AMD, 15 ) <OS/> ( Linux, 500 ) <Software/> </Host> <Host Name=“Host4”> <OS/> ( Windows, 80 ) <Requirements> <XQuery> im:Name = 'OGSA-Grid' or count(im:Authentication/im:X509) >= 1 </XQuery> </Requirements> 11

Contents Foundations: XML Schemas Foundations: XML Documents XQuery and context Solution Results 12

im:PhysicalMemory element Dynamic queries XQuery is all about context doc(“job.xml”) // im:OS / im:PhysicalMemory < 101 external function  document-node() decendant-or-self::  node() im:OS element  element() child::  element() im:PhysicalMemory element  element() boolean expression  xs:boolean typed Atomic value  xs:integer How to provide the correct context? 13

Contents Foundations: XML Schemas Foundations: XML Documents XQuery and context Solution Results 14

Providing context <Job> </Job> <Test> </Test> <Resource> </Resource> <Capabilities> </Capabilities> <Capabilities> </Capabilities> <Capabilities> </Capabilities> <Capabilities> </Capabilities> <Requirements> </Requirements> <Requirements> </Requirements> <Requirements> </Requirements> <Requirements> </Requirements> <Requirements> </Requirements> <Requirements> </Requirements> VO Host VO Host VO Host 15

Assessing the results Number of VOs Number of Hosts = 0: Job is not suitable ≥ 0: pick one VO Number of Hosts = 0: Can’t execute the Job ≥ 0: pick one Host 16

Contents Foundations: XML Schemas Foundations: XML Documents XQuery and context Solution Results 17

How XQuery is used XQuery is a suitable tool for our needs XQuery used in separate domains Requirements matching Document management Different domain usage allows: (restricted XQuery set) (full XQuery set) 18

Info Model work Controls how XQuery will be used XML Element reuse vs. XQuery path assembly Result should be reused in JSDL2 BES (2?) 19

Results (3) Non-standard XQuery function Define OGSA wrapper saxon:evaluate-node( $node ) Evaluates query stored in XML element Define OGSA wrapper Decouples functionality from used Interpreter Implementation left to the user 20

Results (4) JSDL 1.0 extension Define requirements extension Replaces the jsdl:Resources element Query should match container resource description Container requirements may query other JSDL extensions Transparent to existing JSDL 1.0! 21