Software Links
Getting Started
- Doc Structure
- A Globus Primer
- Quickstart
- Installing GT
- Platform Notes
- Migrating from GT2
- Migrating from GT3
Reference
- PDF version
- Best Practices
- Coding Guidelines
- API docs
- Public Interfaces
- Resource Properties
- Samples
- Glossary
- Index
- Performance Studies
Common Runtime
Security
Data Mgt
Information Svcs
Execution Mgt
Table of Contents
WebMDS is a web-based interface for viewing formatted information about Grid resources. Information is collected via a plugin interface and then formatted using an XSLT transform.
Features new in release 4.1.0:
- None
Other Supported Features
- Extensible plugin interface to support various mechanisms to gather monitoring information and XSLT transforms.
- Plugins to acquire monitoring information via resource property mechanisms.
- Plugin to acquire XSLT transforms by reading from local files.
Deprecated Features
- None
Tested Platforms for WebMDS:
- The WebMDS server has only been tested with Tomcat version 5.0.28; it has been tested on RedHat Linux (i386) and, to a lesser extent, on Windows XP.
- On the client side, WebMDS should be accessible from any web browser on any platform.
Although the WebMDS server is not officially supported on non-Unix platforms, and no Windows installer exists for WebMDS, it is possible to run WebMDS on Windows. The following instructions describe how to install WebMDS on a Windows platform.
- Install
Tomcat and set your
CATALINA_HOMEenvironment variable to the directory into which Tomcat was installed. - Install the Globus Java WS-Core distribution from the Globus Toolkit download page. Set your
GLOBUS_LOCATIONenvironment variable to the directory into which you installed Globus Java WS-Core - Check the
ws-mdsdistribution out of the Globus CVS repository, using theglobus_4_0_branchtag. Install the servicegroup package:
cd c:\
wherever\ws-mds\servicegroup\schema ant deploy cd ..\source ant deploywhere
whereveris the directory into which you checked out the ws-mds sources.Install WebMDS:
cd c:\
wherever\ws-mds\webmds ant deployCreate the webmds context file (this tells Tomcat where to find WebMDS):
%GLOBUS_LOCATION%\lib\webmds\bin\webmds-create-context-file %CATALINA_HOME%\conf\Catalina\localhost
- Restart Tomcat.
WebMDS can then be configured and used as described in the rest of the documentation: WS MDS WebMDS.
Protocol changes since GT version 4.0.2:
- None
API changes since GT version 4.0.2:
- None
Exception changes since GT version 4.0.2:
- None
Schema changes since GT version 4.0.2:
- None
WebMDS depends on the following GT components:
- Java WS Core
WebMDS depends on the following 3rd party software:
By default, the WebMDS plugins distributed as part of the Toolkit do not use authentication credentials -- they retrieve information using anonymous SSL authentication or no authentication at all, and thus retrieve only publicly-available information.
The ResourcePropertyNodeSource
and ResourcePropertyQueryNodeSource
plugins can be configured either to allow users to specify
what resources they want to query or to only allow users to query resources
pre-configured by the web administrator. The standard WebMDS
deployment allows users to specify the resources they want to query;
to disallow this (for example, to ensure that people don't use your
site's bandwidth to view information about some other site's services),
remove the files $GLOBUS_LOCATION/lib/webmds/conf/openEndedRP
and $GLOBUS_LOCATION/lib/webmds/conf/openEndedQuery.
In a typical WebMDS transaction, a user uses a web browser to send an HTTP request, including some web form arguments, to a web server / servlet container. The web server invokes the WebMDS servlet, which uses the form arguments to determine what plugins to use to retrieve the requested XML data and the XSLT transform to apply to it. The WebMDS servlet passes arguments to the plugins, which then retrieve the appropriate data and XSLT transform. The WebMDS servlet applies the XSLT transformation to the XML data and returns the result to the web server, which sends it back to the client's web browser.
There is no "client" API for accessing WebMDS; WebMDS is a servlet that is accessed via web forms.
WebMDS uses a WebMDS plugin (a Java class that implements the
WebmdsXmlSource interface) to acquire XML documents (which
can be used either as raw information sources or as XSL transformations).
WebMDS comes with two WebMDS plugins: FileXmlSource, which
reads XML from a file (and is primarily used to acquire XSL transformations),
and NodeXmlSource. NodeXmlSource in turn calls
a node source plugin (a Java class that implements the
WebmdsNodeSource interface) to acquire an XML DOM document.
acquires XML information using a WebMDS XML source,
a Java class that implements the WebmdsXmlSource interface.
To summarize:
WebMDS is a servlet that uses plugins to acquire XML documents containing raw data and XSL transformations, and then applies the acquired XSL transformation on the acquired data.
- The plugins used by WebMDS implement the
org.globus.mds.webmds.WebmdsXmlSourceinterface. WebMDS plugins include:
org.globus.mds.webmds.xmlSources.file.FileXmlSource, which reads XML from a file, andorg.globus.mds.webmds.xmlSources.xmlDomNode.NodeXmlSource, which uses its own plugin interface to acquire XML DOM documents.- The plugins used by
NodeXmlSourceimplement theorg.globus.mds.webmds.xmlSources.xmlDomNode.WebmdsNodeSourceinterface - Node source plugins include
org.globus.mds.webmds.xmlSources.resourceProperties.ResourcePropertyNodeSourceandorg.globus.mds.webmds.xmlSources.resourceProperties.ResourcePropertyQueryNodeSource, which acquire resource property information.
- The plugins used by
- The plugins used by WebMDS implement the
- The raw XML data acquired by WebMDS is processed by XSL transformations; see the W3C XSLT Documentation for more information on creating XSL transforms.
- Core WebMDS documentation (includes the WebMDS servlet and the
WebmdsNodeSourceinterface) - FileXMLSource documentation
- NodeXmlSource documentation (including the
WebmdsNodeSourceinterface) - Resource property node source plugins.
WebMDS is not a Web service and does not have any associated WSDL. For information on the web form-based protocol used by WebMDS, see WS MDS WebMDS on the WebMDS Graphical User Interface.
There is no end-user command-line tool for WebMDS.
The command-line tool webmds-create-context-file is used to
create Tomcat configuration files needed to deploy WebMDS.
webmds-create-context-file [-f] tomcat_context_file
The tomcat_context_file argument is the location of the Tomcat
configuration file defining the WebMDS context; in a default Tomcat
installation, the location of this file will be
$CATALINA_HOME/conf/Catalina/localhost.
By default, webmds-create-context-file will not overwrite
an existing context file; the -f option is used to force
webmds-create-context-file to overwrite an existing file.
Note: webmds-create-context-file is found in
$GLOBUS_LOCATION/lib/webmds/bin
$GLOBUS_LOCATION/lib/webmds/bin/webmds-create-context-file -f \
$CATALINA_HOME/conf/Catalina/localhost
The WebMDS GUI is a web-based interface for browsing formatted XML data, such as the results of resource property queries on a grid service.
WebMDS can be accessed using any web browser. In a default WebMDS
installation, the URL http://hostname:port/webmds
corresponds to the top-level WebMDS web page. This page includes a link
to a WebMDS invocation that provides summary information (with links to
detailed information) about a locally-running MDS Index server. It also
contains a link to a page of sample web forms demonstrating other uses
of WebMDS.
The WebMDS servlet is located at http://your-tomcat-host:your-tomcat-port/webmds/webmds.
It takes the following arguments:
Table 1. Form arguments used by WebMDS
info | The name of the XML source that will be used to collect the raw XML data.
XML sources are defined by files in
$GLOBUS_LOCATION/lib/webmds/conf. This argument must be
specified. |
xsl | The name of the XML source that will provide the XSL transform.
XML sources are defined by files in
$GLOBUS_LOCATION/lib/webmds/conf.
If this argument is not specified, the WebMDS servlet will display
raw, untransformed XML. |
xmlSource.info_name.param.source_specific_options | Any additional options recognized by the info_name XML source (info_name must be the value of the info argument for this request). Source-specific options are discussed in the next section. |
xmlSource.xsl_name.param.source_specific_options | Any additional options recognized by the xsl_name XML source (xsl_name must be the value of the xsl argument for this request). Source-specific options are discussed in the next section. |
WebMDS uses a web form interface to specify parameters such as where to find raw data and what XSLT transformations to apply to that data.
The web form interface is described in Section 3, “Graphical user interfaces”
Please see the Configuring section of the System Administrator's Guide.
There is no "client" programmatic interface to WebMDS; clients communicate using HTTP requests. The web form arguments recognized by WebMDS are documented in GT 4.1.0 WS MDS WebMDS: User's Guide.
To create a new plugin to collect raw XML data, write a Java class that
implements the WebmdsXmlSource or WebmdsNodeSource
interface. These are documented in
Section 1, “Semantics and syntax of APIs”. The FileXmlSource and NodeXmlSource
classes distributed with WebMDS are examples of classes that implement
WebmdsXmlSource; the ResourcePropertyNodeSource
and ResourcePropertyQueryNodeSource classes distributed with
WebMDS are examples of classes that implement the
WebmdsNodeSource interface.
To change the appearance of the output of WebMDS, create a new XSLT transform; see the W3C XSLT Documentation for more information.
Log information from WebMDS and any WebMDS plugins will be logged
by the servlet container into which WebMDS has been deployed. In a
vanilla Tomcat 5.0.28 distribution, this information will show up in
the file $CATALINA_HOME/logs/catalina.out

