The Reliable Transfer Service (RFT) allows you to monitor and control 3rd party transfers using GridFTP servers. It is a reliable, and recoverable version of the globus-url-copy tool (available in the current Globus Toolkit). The client controlling the transfer is hosted inside of a Grid service and can thus be managed using the soft state model, and queried using the introspection techniques available to all Grid services. To set up the RFT services you need to install Grid FTP from Globus Toolkit 2.0, and PostgreSQL.
Download and install the Globus Toolkit 2.0 from here.
Start two GridFTP servers (one on the source host, and one on the destination
host of your transfer).
Example:
./in.ftpd -S [-p <port>]
Note the GridFTP server can only be run on Unix (or Linux) flavors.
Now start the ipc_daemon from a cygwin shell e.g:
/cygdrive/c/cygwin/usr/local/bin/ipc-daemon.exe &
That's it, now you should be able to use psql and postgres as if on a Unix machine. Note however that you will be using the username 'Administrator' as opposed to 'postgres'
After completing either the Unix or Windows specific setup above do the following from your user shell (postgres or Administrator)
export PGDATA=/usr/local/pgsql/data
initdb
createdb ogsa
psql -d ogsa -f rft_schema_ogsa.sql (this file is provided in the ogsa
distribution root, under the etc directory)
To start the db server run: pgctl -o "-i" -l logfile start
The following are the parameters you have to set in server-config.wsdd in
order to use Reliable File Transfer Service :
JdbcDriver : Name of the JDBC Driver for the database you want to
use. For a PostgreSQL installation as described above this value is:
org.postgresql.Driver. The driver is shipped along with our distribution.
connectionURL: URL for the Database in order make the connection. For
postgres this is jdbc:postgresql:<db>, and in our example above it would
be jdbc:postgresql:ogsa
username: local user with access to the database. (On windows this would
be Administrator)
password :password set up to access the database for the particular user
gsiftp://hostname/filename
4.You can also specify number of parallel streams per transfer and set the TCP
Buffer size for the transfer
5.Enable XML Signature/Encryption and Check Delegate Credentials check box.
6.Submit Transfer.
7. RFT is a persistent Reliable Transfer Service so if the service container
goes down while a transfer is going on the transfer is restarted next time you
start the service container when you activate the persistent instance.