Building and installing

DRS is distributed with the Globus Toolkit 4.1.3 and is available in both the binary bundles and the source bundle. For most purposes, the binary bundle provides the simplest means of installing the DRS and its requirements. There are three typical ways to access and install the DRS:

[Important]Important

Before proceding with installation of DRS, please familiarize yourself with the installation procedures for RLS (see Replica Location Service (RLS)) and RFT (see Reliable File Transfer (RFT) Service).

1. Installing DRS using Globus Toolkit Binary Bundle

Follow instructions provided by Installing GT 4.1.3 and Installing GT 4.1.3 in order to install the DRS from one of the available binary bundles of the Globus Toolkit.

Once you have unpackaged the binary bundle, the following commands may be used to install DRS:

% ./configure --prefix=$GLOBUS_LOCATION --enable-rls --enable-drs
% make
% make install
        

2. Installing DRS using Globus Toolkit Source Bundle

DRS is not installed as part of the default source install. In order to install DRS, you will need to ensure that RLS is also installed as part of the build by reviewing its installation procedures. Along with RLS configure settings (e.g., ODBC related settings) the --enable-drs flag is required as part of the configuration step.

The following commands will install the DRS (optionally you may use the "drs" make target to build only DRS and its requirements:

% ./configure --prefix=/path/to/install --with-iodbc-includes=/path/to/iodbc/include --with-iodbc-libs=/path/to/iodbc/lib --enable-rls --enable-drs
% make [drs]
% make install
        

3. Installing DRS using Globus CVS

Additionally, you may access the DRS from the Globus Toolkit CVS repository. You may deploy the 4.0.x DRS on top of an existing GT 4.0.x installation using the globus_4_0_branch tag. You may deploy the 4.1.x DRS on top of an existing GT 4.1.x installation using trunk.

The following example instructions will only work given the presence of an existing GT installation with all DRS dependencies. The best way to establish such an environment is to first follow the basic installation instructions and subsequently use the following instructions to obtain the latest updates from the CVS branch. Note the use of the globus_4_0_branch tag depends on whether you are interested in updates from the maintenance branch or the development trunk.

% setenv GLOBUS_LOCATION /path/to/existing/gt4xx/install/
% setenv CVSROOT :pserver:anonymous@cvs.globus.org:/home/globdev/CVS/globus-packages
% cvs co -r globus_4_0_branch ws-replica/
% cd ws-replica/replicator/
% ant deploy
        

To learn more about general instructions regarding GT CVS access, see Remote CVS Access.