Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GridFTP Installation Instruction

  • There are a number of online resources, that can help an administrator, install GridFTP. Some of them are:
  • A bug in GridFTP causes intervals to be calculated incorrectly unless you use a very recent version of GridFTP or the subversion trunk version of NetLogger.
  • There is generally no restriction on the version of GridFTP to be used, however, it is advised to use the latest one, with minimum security risks.

...

NetLogger forms the basis of Data collection in this service. A detailed description of installing NetLogger can be found by following this URL: http://acs.lbl.gov/NetLogger-releases/doc/trunk/manual.html#python_install
The python install section current as of Jan 26 2010, is included here for quick reference.

Install Python Version

Prerequisites

The following Python modules may be needed by the NetLogger pipeline to interact with the database. To install these modules, either use a package manager such as Debian's APT, the RedHat/etc. yum, FreeBSD ports, etc., use Python's easy_install command from setuptools or download and install from source. The easy_install command and download URL are given below.

...

Below are instructions for installing the Python instrumentation API and tools.

Install from source
  • Unpack sources
    • tar xzvf netlogger-python-VERSION.tar.gz
    • cd netlogger-python-VERSION
  • Run Python's standard install sequence
    • python setup.py build
    • python setup.py install
    • Alternately, to install under "$NETLOGGER_HOME"
      • export NETLOGGER_HOME=/my/path # or use setenv on csh
      • python setup.py install --home=$NETLOGGER_HOME
      • export PYTHONPATH=$NETLOGGER_HOME/lib/python
      • export PATH=$PATH:$NETLOGGER_HOME/bin

Patching NetLogger to hadle GridFTP logs(buggy/nob-buggy):

...

  • cd bin
  • sh FtpMaExecute.sh --skip-input || --help
    • Attempts to install the missing, perl modules.
    • Stops any previous running instance of the service.
    • Creates a backup of any existing log file.
    • Everytime the script executes, it copies the log file from the main log directory to an hourlyfolder in the same directory. The folder is named as: Ftp_MM-DD-YY:HH
    • Starts a new Instance of the service by running daemon.pl

...