GT 4.0 WS Monitoring and Discovery Systems (MDS): Migration Guide

The following provides available information about migrating from previous versions of the Globus Toolkit.

1. Migrating from GT2

Although the basic functionality remains the same for MDS in GT4, the architecture, standards used, and implementation have changed significantly in GT2. The following table shows a mapping of some GT2 concepts to GT4 concepts.

Table 1. Comparison of GT2 and GT4

DescriptionGT2 VersionGT4 Version
Format of data describing a resourceLDAP data hierarchyXML data document
Query languageLDAP queriesXPath queries
Wire protocol for queriesLDAPWS-ResourceProperties
APIs used for queriesLDAP APIsWS Core APIs
Command-line clients used for queriesgrid-info-searchwsrf-get-property, wsrf-get-properties, wsrf-query
Available GUIsVarious LDAP browsersWebMDS
Wire protocol for subscription/notificationNot supportedWS-Notification
APIs used for subscription/notificationNot supportedWS Core APIs
Security supportSAML-based security using X.509 user, proxy and host certificatesHTTPS-based security using X.509 user, proxy and host certificates
Queryable index of aggregated informationGIIS, which publishes data using the LDAP-related standards listed aboveWS MDS Index Server, which publishes data using the WSRF-related standards listed above
Queryable source of non-aggregated informationGRIS, which uses information providers to gather data from services and then publishes that data the LDAP-related standards listed aboveIndividual web services, which publish data about their own resources using WSRF-related standards listed above.
Index registration mechanismMDS servers (GRIS's and, in some cases, GIIS's) register themselves with a GIIS. An MDS server is configured to register itself to a remote index by editing the local MDS server's grid-info-resource-register.conf file, providing information about the location of the remote index to register to and timeout values for the registrationWS MDS Index servers maintain aggregating service groups that include registration information (timeout values, the mechanism to use to acquire information, and additional mechanism-specific parameters) The registration is accomplished by adding an entry to an aggregating service group via the mds-servicegroup-add command. In addition, services may be configured to register themselves to the default index server running in the same container.
Mechanism used by an index to collect informationGIIS's send LDAP queries to remote serves.WS MDS Index servers use a plugin-based architecture to support several mechanisms to collect information. The Globus Toolkit supplies plugins that support collecting information via polling (resource property queries), subscription/notification, and by program execution.

2. Migrating from GT3

Although the basic functionality remains the same for MDS in GT4, the architecture has changed from OGSI in GT3 to WSRF in GT4. In OGSI, services advertise service data; in WSRF, services advertise resource properties. Resource Properties and service data are very similar -- both provide a mechanism for expressing arbitrary data about grid resources in XML format, as well as query and notification/subscription interfaces to that data.

The GT4 Index Service provides the same functionality as the GT3 Index service; however, the GT4 Index Service supports WSRF service group registration and resource property query and subscription/notification mechanisms, while the GT3 Index Service supported OGSI service group registration and service data query and subscription/notification mechanisms.

The following table shows a mapping of some GT3 concepts/tools to GT4.

Table 2. Comparison of GT3 and GT4

DescriptionGT3 VersionGT4 Version
Query OperationsFindServiceData (to retrieve a single service data element by name or to perform an XPath query against a service's service data elements)GetResourceProperty (to retrieve a single resource property by name), GetMultipleResourceProperties (to retrieve multiple resource properties by name), and QueryResourceProperties (to perform an XPath query against a service's resource properties).
APIs used for queriesOGSI (GT3) Core APIsWS Core APIs
Command-line clients used for queriesogsi-find-service-datawsrf-get-property, wsrf-get-properties, wsrf-query
Available GUIsglobus-sdb (standalone client) and WebSDB (web interface)WebMDS (web interface)
Operations for subscription/notificationOGSI NotificationSource / NotificationSinkWS-Notification
APIs used for subscription/notificationOGSI (GT3) Core APIsWS Core APIs
Index registration mechanismGT3 services can be configured to publish their service data to index services.Index Servers maintain aggregating service groups that include registration information (timeout values, the mechanism to use to acquire information, and additional mechanism-specific parameters) The registration is accomplished by adding an entry to an aggregating service group via the mds-servicegroup-add command. In addition, services may be configured to register themselves to the default index server running in the same container.

A more detailed mapping of OGSI concepts to WSRF concepts can be found here.