OGSA-DAI WSRF services can automatically register data in a local Globus MDS Index Service deployed in the same container. It allows information such as the activityTypes, and more to be published so that it can be retrieved from an Index Service at any time. The only restriction is that the information must be a well known resource property of an OGSA-DAI data service resource.
The information published is on a per-resource basis, and can differ for each resource if that is desired.
There is an example registration file deployed with OGSA-DAI at examples/MDSRegistration/mds-registration-EXAMPLE.xml. This file contains the information required for a proper service group registration. There are a few configurable parameters that should be specified on a per resource basis. These parameters are as following:
Once you've constructed a suitable registration file (based on the example), enabling the registration is only a matter of naming the registration file the proper way and putting it into the proper location. The convention chosen is to name your file mds-registration.xml, This registration file should be copied either to:
Where RESOURCENAME is the ID of the resource. When the container is restarted and the resource is activated, the information will be available in the Globus Index Service shortly after.
The information will not be available in the Index Service on container startup unless your resource is loaded when the container starts.
To enable (or disable) this behaviour, you can modify the service deployment descriptor. This is found in:
In there, you should see a parameter called loadOnStartup:
<parameter name="loadOnStartup" value="true"/>
<!-- <parameter name="loadOnStartup" value="true"/> -->
An alternative way to disable this feature and no longer have your service automatically registered with the MDS Index Service, is to simply move the registration file to a different location. If the file is not found in the expected format and location, no registration will take place.
Up: OGSA-DAI User Guide | ||
© International Business Machines Corporation, 2002-2006 | © The University of Edinburgh, 2002-2006 |