Deploying Data Service Resources

This page describes how to deploy a data service resource. Once deployed the data service resource can then be added to the set of those exposed by a data service as described on the next page.

The characteristics of a data service resources are specified in a data services resource file. We describe these below.

There are a number of ways to create a data service resource file and deploy a data service resource. You can:

As a reminder, we list the data resources supported by OGSA-DAI on this page.

Data Service Resource Files

A data service resource file is used specify the properties of your data service resource. This is a simple properties file consisting of argument=value values. You can reuse the same file to deploy the same data service resource under different names or to customise a specific configuration in small or major ways. Alternatively you can just write a new file each time.

Within the OGSA-DAI WSRF distribution directory we provide an example - data.service.resource.properties. The file is fully commented.

The properties are as follows:

Deploying Data Service Resources Using the Command-line

To deploy a data service resource under Tomcat:

To deploy data service resources under GT4 requires execution of the deployResourceGT4 target. This takes the same arguments as deployResourceTomcat. The exception is the tomcat.dir argument - this target instead accepts gt.dir which specifies the location of GT4. If this argument is omitted then the GT4 location specified within GLOBUS_LOCATION is used.

Creating new Data Service Resource Files and Deployment

To create a new data service resource file and (optionally) deploy the data service resource under Tomcat:

To create and deploy data service resources under GT4 requires execution of the guiCreateResourceGT4 target.

Editing Existing Data Service Resource Files and Deployment

To edit an existing data service resource file and (optionally) deploy the data service resource under Tomcat:

To edit existing data service resource files and deploy data service resources under GT4 requires execution of the guiDeployResourceGT4 target.