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

Registering a Resource Service to an Index Service

Any GT3.2 service can be registered to a GT3.2 Index Service using the core RegistryPublishProvider. The RegistryPublishProvider should be configured in the WSDD of each resource service (for example the MMJFS) by the administrators of those services.

Note: The administrator of the index service does not need to take action in order for a new resource service to register.

Requirements

Before you begin, you'll need:

  • A working resource service (for example, MMJFS). You will need permissions to edit the configuration of the service (server-config.wsdd, etc).
  • An index service. You will not need permission to edit the configuration; however you will need to know the GSH of the Index service.
Create and edit XML Configuration file
1

Create an XML configuration file for the registration in (for example) $GLOBUS_LOCATION/etc/registration_config.xml.

An example is included below.

2

Edit the fields as appropriate.

Most importantly, edit the registry parameter to refer to the index service you want to register with.

Edit the deployment descriptor
You must add the RegistryPublishProvider operation provider to the resource service's deployment descriptor in the Server Configuration file (server-config.wsdd):
3 Load server-config.wsdd into a text editor.
4 Find the <service> definition for the resource service.
5 Find the operationProviders parameter for that service.
6

Add the following string to the end of the operationProviders parameter:

org.globus.ogsa.impl.core.registry.RegistryPublishProvider 

Note: This is a space-separated (not comma-separated) field.

7

Add the following parameter to the deployment descriptor:

<parameter name="registrationConfig" value="etc/registration_config.xml" /> 

Example Registration Configuration File

The following is an example of a registration configuration file:


<?xml version="1.0" encoding="UTF-8" ?>
<serviceConfiguration 
xmlns:ogsi="http://www.gridforum.org/namespaces/2003/03/OGSI"
xmlns:aggr="http://www.globus.org/namespaces/2003/09/data_aggregator" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 

<registrations>
  <registration
  registry="http://examplehost.isi.edu:8080/ogsa/services/base/index/IndexService"
  keepalive="true"
  lifetime="1200"
  remove="true">
  <aggr:DataAggregation> 
    <ogsi:params>
     <aggr:AggregationSubscription>
      <ogsi:serviceDataNames>
      <ogsi:name xmlns:ce="http://glue.base.ogsa.globus.org/ce/1.1">ce:Host</ogsi:name>
      </ogsi:serviceDataNames>
      <aggr:lifetime>60000</aggr:lifetime>
     </aggr:AggregationSubscription>
    </ogsi:params>
   </aggr:DataAggregation>
   </registration>
 </registrations>
</serviceConfiguration>