This information is for a release that is no longer supported by the Globus Toolkit. The currently supported versions of the Globus Toolkit are 4.2 (recommended) and 4.0.

WS Information Services: System Administrator's Guide

Overview
Configuring the Index Service
Registering a Resource Service to and Index Service
>Using Service Data Providers
Testing Service Data Aggregation
Index Service Configuration File
Server Configuration File

Using Service Data Providers

By default, the following Service Data Providers are available in the Index Service:

  • SimpleSystemInformation:  This is a Java native system probe.  This provider enumerates the following data:  CPU count, memory statistics, OS type, and logical disk volumes.

  • HostScriptProvider:  This is a Linux-specific set of shell scripts that monitor system-specific host data.  This package must be installed and deployed to your GT3.2 installation base using GPT.

Providers can be executed when the Index Service activates, based on the execution parameters specified in the index-service-config.xml file found in the /etc directory of your GT3.2 installation root.

Executing a Service Data Provider via the OGSA Service Browser GUI

1

Launch the standalone OGSA Service Container by running:

ant startContainer

2

Launch the Service Browser GUI by running:

ant gui

Note: In order to use the OGSA Service Browser GUI, you must configure the client-gui-config.xml file.

3 Locate the Index Service in the browser list and double-click to activate the service.
4 Select a provider from the Service Data Providers list and adjust any of the default provider execution parameters as required.
5

Name the new service data that will be created from the output of the selected provider. 

If you do not specify a name, the name of the root element of the XML output of the provider will be used.

6

Click Create to create the new service data from the output of the provider. 

If you specify 0 for the refresh frequency, the provider will run once and terminate.

Otherwise, if you specify a positive refresh frequency, the provider will execute again after the refresh frequency in seconds has elapsed. 

In addition, subscriptions to this data will now be notified whenever the service data has changed as a result of provider execution.

7

Issue a Query by Service Data Name on the name to which you associated the output of the provider. 

If the provider has run successfully, you should see the results displayed in the XML tree view in the Grid Service panel of the GUI. 

You should now be able to subscribe to this service data from another service. Another alternative is to issue an XPath query against the data created.  See XPath Query Support for Service Data Elements for samples.