____________________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________________
Important note: Part of the material presented here was provided by Brian Tierney from Lawrence Berkeley National Laboratory.
For Globus Toolkit version 2.0 (the software package that includes GridFTP 2.0) and NetLogger 2.0.13, the instrumentation should be fairly simple: just download the following files from the NetLogger website:
Replace the following files from the Globus Data-Management Client and Server bundles with the corresponding downloaded files:
The downloaded files are exactly the same as those found in the original Globus software, only difference being in the downloaded files, BT_NETLOGGER_HACK is defined with some extra code to instrument NetLogger with GridFTP.
If NetLogger is installed in the /opt/netlogger directory, then NetLogger include files can be found in the directory /opt/netlogger/build/include.
Update Makefile.am in the following directories:
directory to include netlogger includes and netlogger libraries. This can be done by adding the following code in Makefile.am:
NETLOGGER_LIBS=/opt/netlogger/build/lib/libnetlogger.a
INCLUDES = $(GPT_INCLUDES) $(NETLOGGER_INCLUDES)
libglobus_io___GLOBUS_FLAVOR_NAME__la_LIBADD = @GPT_LIB_LINKS@
$(NETLOGGER_LIBS)
Save the previously downloaded in.ftpd-wrapper in the directory:
/usr/local/sbin/
in.ftpd-wrapper looks like:
Note: Make sure that GLOBUS_LOCATION and NETLOGGER_LOCATION have the correct parameters.
In the directory /etc/xinetd.d create a file called gsiftp and script:
Then restart xinetd. To do so, log in as root by:
and then run the following command: