Lattice QCD Data Grid Middleware: Meta Data Catalog (MDC) and Simple Replica Catalog (RC) Demo M. Sato, for ILDG Middleware WG ILDG5, Dec, 03, 2004 Grid-of-Grids on MDC Clients can access multiple MDC’s at different sites Directory service tells the locations of MDC’s, which may be managed by LDAP user web browser WS server-side client, or user app WS MDC Japan MDC UK MDC US WS MDC directory service Interface for MDC (1) Query to ensemble query service (in Java) returns a set of GFNs in EnsembleQueryResults EnsembleQueryResults doEnsembleQuery(String queryFormat, /* ALL, Xpath, SQL, …*/ String queryString, /* string for query */ int startIndex, /* the start index to be returned */ int maxResults); /* maximum # to be returned */ class EnsembleQueryResults String Status; String queryFormat; /* String queryString; /* int totalRresults; /* int startIndex; /* int numberOfGFNs; /* String GFNs[]; /* String QueryTime; /* } { same as input */ same as input */ total number of matched ensemble */ same as input */ # of GFNs returned */ the array of GFNs matched */ query time (optional) */ •If queryFormt == “ALL”, retrieve all data. •SQL-style query may be useful and efficient Interface for MDC (2) Query to metadata query service returns a set of metadata GFNs Almost the same to doEnsambleQuery. MetadataQueryResults doMetadataQuery(String queryFormat, /* ALL, Xpath, SQL, …*/ String queryString, /* string for query */ int startIndex, /* the start index to be returned */ int maxResults); /* maximum # to be returned */ class MetadataQueryResults String Status; String queryFormat; /* String queryString; /* int totalRresults; /* int startIndex; /* int numberOfGFNs; /* String GFNs[]; /* String QueryTime; /* } { same as input */ same as input */ total number of matched metadata */ same as input */ # of GFNs returned */ the array of GFNs matched */ query time (optional) */ A Use Case doEnsembleQuery get the ensemble file using GFN by RC and TRUL query (MDC) EnsembleQueryResults GFN (RC) TURL for ensemble XML and the file itself doMetadataQuery get the metadata file using GFN by RC and TURL get the configuration file using GFN and TURL ensemble query service(MDC) RC ensemble data query (MDC) metadata query MetadataQueryResults service GFN (RC) TRUL for metadata XML and the file itself GFN configuration (binary?) RC metadata RC configuration data Demo Design of MDC interface in WSDL Using Axis (an apache project) to generate interface A prototype implementation of WS by Axis Demo info page http://www.lqa.ccs.tsukuba.ac.jp/WS Plan Documentation of the definitions of MDC interface (for single MDC) Finish the implementation and some command interface Multiple MDCs Directory service of MDCs (project info?) Web browser interface for Multiple MDCs
© Copyright 2024 ExpyDoc