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

Testing Service Data Aggregation

Use this simple test for notification caching, otherwise known as Service Data Aggregation. The Index Service is a persistent service, which means that to add another instance you must add an additional service descriptor entry to the Server Configuration file.

1

Open the  server-config.wsdd file in your GT3.2 root directory.

2

Copy the entire existing Index Service descriptor entry to the clipboard and then paste it back into server-config.wsdd, beneath the existing Index Service descriptor.

3

Change the service name parameter in the new descriptor entry to something other than IndexService. Also, change the name parameter to change the display name of the service.

Your result should look like something like this:

<service name="base/index/IndexService2" provider="Handler" style="wrapped">     
      <parameter name="name" value="Index Service 2"/>;
     ... (no additional changes needed)</service>
4

Launch the standalone OGSA Service Container by running:

ant startContainer

5

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.

6

Use the Service Browser GUI to activate both Index Service instances.

7

In the Manage Subscriptions group box of the target Index Service instance, create a subscription to the Service Data Element (SDE) on the source Index Service instance:

Source Specify the URL of the source Index Service instance.
New Service Data Name

Specify the ServiceData QName localPart of the SDE on the instance to which you are subscribing.

New Service Data Namespace Specify the ServiceData QName namespace URI of the SDE on the instance to which you are subscribing.
Sink Specify the URL of the target Index Service instance.
Sink Lifetime Specify a positive lifetime in seconds for the new subscription.

If all goes well, you should see a message box indicating that the subscription was successful.

If you have the messageGateway option enabled in the Index Service descriptor, you should also see subsequent notifications displayed in the GUI as they arrive.

Otherwise, if the command fails, it is likely that the SDE name specified was not found, or another error occurred.  Check the server's error log to help trace problems.

8

Run a query by name on the target Index Service instance for the SDE for which you created the subscription.

If a notification has occurred from the source service instance to the target, the SDE from the source instance should be returned in the query on the target instance, where it is being cached as part of that service's Service Data.