Globus Toolkit 3.2: Installation Guide

Overview
Before You Begin
Support Software
Installing GT 3.2
Configuring > RFT <
Testing
Troubleshooting

Configuring RFT - Basic

Prerequisites

The Prerequisites to RFT are:

PostgreSQL is used to store the state of the transfer to allow for restart after failures. The interface to PostgreSQL is JDBC so any DBMS that supports JDBC can be used, although no other has been tested. We used PostgreSQL version 7.3.2 for our testing and the instructions provided to set up the database are good for the same.

GridFTP perfoms the actual file transfer.

GridFTP server can only be run on Unix or Linux. There are two ways to get GridFTP:

  • Packaged with the core GT3 Final installation
  • As part of the Globus Toolkit 2.4 distribution

If you don't already have GridFTP from GT2 installed, use the GT3 bundled version. In either case, configuration instructions are documented here.

Setting up PostgreSQL
1

Create a PostgreSQL database for RFT to use.

There's an example .sql file included in the distribution you can use to create the database.

PostgreSQL can be installed both on Unix and on Windows. For setup instructions, see:

Here is a summary of what you need to do after installation:

Unix Specific Setup

Login as root.

# adduser postgres 
# mkdir /usr/local/pgsql/data 
# chown postgres /usr/local/pgsql/data       
# su - postgres        

Windows Specific Setup

To run postgreSQL under Windows you need to install Cygwin , and enable the following features:

  • Database -> postgresql
  • Utils -> bzip2
  • Base -> libreadline5

After installing these components you also need to install CygIPC .

Now start the ipc_daemon from a cygwin shell e.g:

$ /cygdrive/c/cygwin/usr/local/bin/ipc-daemon.exe&      

You should now be able to use psql and postgres as if on a Unix machine.

Note: You will be using the username Administrator as opposed to postgres.

2

After completing either the Unix or Windows specific setup above, do the following from your user shell (user who runs the MultiRFT service, for eg: globus).

$ export PGDATA=/usr/local/pgsql/data 
$ initdb 
$ createdb ogsa 
$ psql -d ogsa -f rft_schema_ogsa.sql 

Note: rft_schema_ogsa.sql is provided in the ogsa distribution root, under the etc/ directory.

3

To start the db server run:

$ pg_ctl -o  "-i" -l logfile start 
Configuring server-config.wsdd
4

Open $GLOBUS_LOCATION/server-config.wsdd and look for the ReliableFileTransferFactoryService record.

Change the dbname and dbuser to match your database name and database user.

Note: If you are willing to keep the default names, you can safely skip this step.

Configuring GridFTP
5

See Configuring GridFTP for instructions.

You should now be able to use RFT. For more information, see the RFT: Developer's Guide.