This repository has been archived by the owner on May 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
35 lines (26 loc) · 1.57 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PURPOSE
-------
This module catches the GridFTP server's call to globus_i_gfs_log_transfer() and
transforms some arguements to assist GridFTP statics. The file name is quoted to
simplify handling of names with spaces, and sharing information is added. For
example:
Aug 7 14:31:21 hpss01 globus-gridftp-server[14395]: Transfer stats: DATE=20140807193121.219285 HOST=hpss01.ncsa.illinois.edu PROG=globus-gridftp-server NL.EVNT=FTP_INFO START=20140807193120.328202 USER=jalt FILE=/u/staff/jalt/project/gt5.2.5-all-source-installer.tar BUFFER=94800 BLOCK=262144 NBYTES=321259520 VOLUME=/ STREAMS=1 STRIPES=1 DEST=[141.142.176.62] TYPE=STOR CODE=226
becomes:
Aug 7 14:31:21 hpss01 globus-gridftp-server[14395]: Transfer stats: DATE=20140807193121.219285 HOST=hpss01.ncsa.illinois.edu PROG=globus-gridftp-server NL.EVNT=FTP_INFO START=20140807193120.328202 USER=jalt SHARE=0 SHAREE=none FILE="/u/staff/jalt/project/gt5.2.5-all-source-installer.tar" BUFFER=94800 BLOCK=262144 NBYTES=321259520 VOLUME=/ STREAMS=1 STRIPES=1 DEST=[141.142.176.62] TYPE=STOR CODE=226
OVERVIEW
--------
Just build the library and LD_PRELOAD it into the GridFTP server process.
BUILD
-----
In order to build this library, you must have these RPMs installed:
- globus-gridftp-server-devel
- globus-core
INSTALLATION
------------
Put the library in a location accessible to the GridFTP server. For example, install it
into /usr/local/lib64/.
CONFIGURATION
-------------
LD_PRELOAD the library into the GridFTP process. If you launch GridFTP from xinetd:
env += LD_PRELOAD=/usr/local/lib64/libtransfer_logger.so
Good Luck!