MonAMI DPM GridView

From GridPP Wiki
Jump to: navigation, search

Overview

GridView looks for GridFTP transfer statistics in an R-GMA table (amongst other sources). This MonAMI configuration instructs MonAMI to provide this information.

GridView is available at this location.

How to deploy

Here is a quick check-list for installing MonAMI with this configuration.

  1. Ensure DPM disk-pool servers have a working *-proxy-init command and valid host certificate.
  2. Install the MonAMI RPM (see getting the RPMs)
  3. Copy the configuration below as /etc/monamid.d/dpm-gridftp-gridview
  4. (Re-)start MonAMI (e.g. "service monami restart")
  5. Verify that data is going into R-GMA:
    1. Start a web-browser with your X509 certificate loaded.
    2. Point the web-browser at URL https://mon-box.example.com:8443/R-GMA/ where you substitute your MON box for mon-box.example.com
    3. Select "Table sets" (far left column).
    4. Select "GridftpMonitor" from middle column.
    5. In the right column:
      1. Select "Type of query" as "Continuous", leave "Old" selected.
      2. Choose "Select producers you want to query".
      3. Scroll down and, under the "Continuous" heading, select all producers that match your MON box.
      4. Select Query, at the bottom of the page
    6. Verify entries match those corresponding to new (since MonAMI started) transfers (check /var/log/dpm-gsiftp/dpm-gsiftp.log file).
  6. Open a GGUS ticket, requesting that GridView registration your DPM disk-pool servers.

The MonAMI configuration

##
##  Input
##

# Follow the DPM GridFTP transfer results
[gridftp]
 name = dpm-gridftp
 filename = /var/log/dpm-gsiftp/dpm-gsiftp.log


##
##  Dispatch
##

# send to R-GMA
[dispatch]
 subscribe = dpm-gridftp
 send = rgma-dpm-gridftp


##
##  Output
##

#  Upload data into R-GMA.
[rgma]
 name = rgma-dpm-gridftp
 table = GridftpMonitor
 map = hostname : <FQDN>
 column = host              : hostname
 column = user_name         : dpm-gridftp.user
 column = file_name         : dpm-gridftp.File.filename [maxsize=255]
 column = volume            : dpm-gridftp.volume
 column = code              : dpm-gridftp.code
 column = nbytes            : dpm-gridftp.File.size
 column = src               : dpm-gridftp.Transfer.Host.source
 column = dest              : dpm-gridftp.Transfer.Host.destination
 column = block_size        : dpm-gridftp.Transfer.block
 column = nstreams          : dpm-gridftp.Transfer.streams
 column = buffer_size       : dpm-gridftp.Transfer.buffer
 column = nstripes          : dpm-gridftp.Transfer.stripes
 column = transfer_rate     : dpm-gridftp.Transfer.mean-rate
 column = start_time        : dpm-gridftp.Transfer.Start.seconds
 column = start_time_micros : dpm-gridftp.Transfer.Start.microseconds
 column = end_time          : dpm-gridftp.Transfer.Finish.seconds
 column = end_time_micros   : dpm-gridftp.Transfer.Finish.microseconds