Installing the OGSA-DQP 3.1 GDQS (Coordinator)

Contents

Overview

The coordinator is implemented as a set of OGSA-DAI data service resources and activities. There are two data service resources:

OGSA-DQP adds two new activities to the those provided by OGSA-DAI:

The process of installing the coordinator therefore involves the following steps:

  1. Installing the aforementioned data service resource implementations and activities.
  2. Deploying a GDQS factory data service resource, which allows clients to create GDQS data service resources.

This process is simplified by the provision of an Apache Ant build file which contains targets which will automatically install the coordinator code and activities, and then deploy a GDQS factory data service resource. Installation differs slightly depending on whether the OGSA-DAI platform on which the GDQS is installed is based on WSRF or WS-I.

Prerequisites

OGSA-DQP WSRF Installation

1. The following environment variables should have been set during the installation of Tomcat:

Ensure that these environment variables have been set before proceeding.

2. Deploy an OGSA-DAI data service as described in the OGSA-DAI WSRF user guide. The data service initially exposes 0 data service resources.

3. Run the following from within the coordinator directory of the OGSA-DQP distribution:

$ ant deploy.tomcat.wsrf -Dresource.id=RESOURCE-ID
 -Dservice.path=SERVICE-PATH 
 -Dpolarstar=POLARSTAR-EXECUTABLE

Where:

[Warning: please be accurate when specifying the and polarstar argument. The consequences of a mistake made here will cause the coordinator to fail with a rather generic error message during query compilation or execution, however no error message will be given at the time that the above command is executed.]

4. Start-up Tomcat.

If these steps are performed successfully, the result is that the GDQS factory data service resource is added to the data service resources exposed by the specified data service.

Where does stuff go?

(Please read this section only if you are interested in where the Ant build file copies OGSA-DQP related files under Tomcat)

The following jar files are copied to the webapps/wsrf/WEB-INF/lib directory of the Tomcat installation for OGSA-DAI WSRF:

The following files are copied to the webapps/wsrf/share/schema/ogsadai/xsd/activities directory of the Tomcat installation:

The following file is copied to the webapps/axis/WEB-INF/classes directory of the Tomcat installation:

A directory will be created in the webapps/wsrf/WEB-INF/etc/ogsadai_wsrf directory of the Tomcat installation. The created directory will have the same name as the deployed GDQS factory data service resource ID (typically this name will be "dqp-factory"). The content of this directory, which contains various OGSA-DQP related configuration files, is described here.

OGSA-DQP WS-I Installation

1. The following environment variables should have been set during the installation of Tomcat:

Ensure that these environment variables have been set before proceeding.

2. Deploy an OGSA-DAI data service as described in the OGSA-DAI WS-I user guide. The data service initially exposes 0 data service resources.

3. Run the following from within the coordinator directory of the OGSA-DQP distribution:

$ ant deploy.tomcat.wsi
 -Dresource.id=RESOURCE-ID -Dservice.path=SERVICE-PATH
 -Dpolarstar=POLARSTAR-EXECUTABLE

Where:

[Warning: please be accurate when specifying the polarstar argument. The consequences of a mistake made here will cause the coordinator to fail with a rather generic error message during query compilation or execution, however no error message will be given at the time that the above command is executed.]

4. Start-up Tomcat.

If these steps are performed successfully, the result is that the GDQS factory data service resource is added to the data service resources exposed by the data service specified.

Where does stuff go?

(Please read this section only if you are interested in where the Ant build file copies OGSA-DQP related files under Tomcat for OGSA-DAI WS-I)

The following jar files are copied to the webapps/axis/WEB-INF/lib directory of the Tomcat installation:

The following files are copied to the webapps/axis/schema/ogsadai/xsd/activities directory of the Tomcat installation:

The following files are copied to the webapps/axis/WEB-INF/classes directory of the Tomcat installation:

The following Jar files are copied to the webapps/axis/WEB-INF/lib directory of the Tomcat installation in order to enable communication with OGSA-DAI WSRF data services:

A directory will be created in the webapps/axis/WEB-INF/etc/ogsadai_wsi directory of the Tomcat installation. The created directory will have the same name as the deployed GDQS factory data service resource ID (typically this name will be "dqp-factory"). The content of this directory, which contains various OGSA-DQP related configuration files, is described below.

Installed Configuration Files

This section describes the OGSA-DQP configuration files which are used by the coordinator.


Up: Installing OGSA-DQP Version 3.1