Versions Compared

Key

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

...

  • Checkout the latest version of FTMA:
    • With username and password:
  • Code Block
    svn checkout https://svn.internet2.edu/svn/perfSONAR-PS/branches/FileTransfer/
    OR
    • Anonymously:
  • Code Block
    svn checkout https://anonsvn.internet2.edu/svn/perfSONAR-PS/branches/FileTransfer/ 

Configuration

  • Create the log Directory
    Code Block
     mkdir /var/log/perfsonar (Create the log directory as is shown by daemon_logger.conf)
  • Run the SQL Procedure(mysql) on the netlogger database to produce a secondary database.

This secondary database is the one, the FTMA service will be interacting with. This procedure has the ability to keep checkpoints, so it is supposed to be run, after a certain amount of time has passed. Ideally this can be run every hour or day, to convert NetLogger data, to be available to the user using FTMA service.
Basic Idea behind this procedure, is to convert GridFTP logs from the schema, as is stored by NetLogger to a schema, defined at the start of this page. In order to do so we have two procedures, a master procedure called make_FTDB. This procedure handles the checkpoints, so that the script, starts, from the point, where it stopped on last execution. This procedure also calls the conversion procedure called build_FTDB, with eventID of the tuple to be converted. build_FTDB, picks up all the relevant attributes, from attr table and then inserts the values into EndPoints table, Metadata table, MetaEvent table and Data table. The procedure also creates table if they don't exsist.

...