Chapter 37. Deploy OGSA-DAI

37.1. Deploy OGSA-DAI GT onto Tomcat
37.2. Deploy OGSA-DAI GT onto Globus Toolkit container

You are now ready to deploy OGSA-DAI.

[Tip]Tip
If you are an expert OGSA-DAI user and are interested in having more control over service URLs, web application names and the like then please also see Appendix M, Appendix - Enhanced OGSA-DAI deployment options.

37.1. Deploy OGSA-DAI GT onto Tomcat

To deploy OGSA-DAI GT onto Tomcat, run the following command, where:

  • HOST is the host on which Tomcat is running. This must not be localhost since the host name is inserted into the OGSA-DAI server configuration and is used in the construction of web service endpoint references.

  • PORT is the port on which Tomcat accepts connections.

$ cd OGSADAI_HOME
$ ant -Dgt.dir=$GLOBUS_LOCATION -Dtomcat.dir=$CATALINA_HOME -Ddai.host=HOST -Ddai.port=PORT buildAndDeployGARTomcat

For example:

$ cd OGSADAI_HOME
$ ant -Dgt.dir=$GLOBUS_LOCATION -Dtomcat.dir=$CATALINA_HOME -Ddai.host=coal.epcc.ed.ac.uk -Ddai.port=8080 buildAndDeployGARTomcat

A GAR file will be built, copied to Globus Toolkit and then a standard set of OGSA-DAI services will be deployed.

37.2. Deploy OGSA-DAI GT onto Globus Toolkit container

To deploy OGSA-DAI GT onto Globus Toolkit container, run the following command, where:

  • HOST is the host on which the container will run. This must not be localhost since the host name is inserted into the OGSA-DAI server configuration and is used in the construction of web service endpoint references.

  • PORT is the port on which the container will accept connections.

$ cd OGSADAI_HOME
$ ant -Dgt.dir=$GLOBUS_LOCATION -Ddai.host=HOST -Ddai.port=PORT buildAndDeployGAR

For example:

$ cd OGSADAI_HOME
$ ant -Dgt.dir=$GLOBUS_LOCATION -Ddai.host=coal.epcc.ed.ac.uk -Ddai.port=8080 buildAndDeployGAR

A GAR file will be built, copied to Globus Toolkit and then a standard set of OGSA-DAI services will be deployed.