Difference between revisions of "MonAMI DPM GridView"
From GridPP Wiki
Paul millar (Talk | contribs) |
(No difference)
|
Latest revision as of 16:38, 11 June 2007
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.
- Ensure DPM disk-pool servers have a working *-proxy-init command and valid host certificate.
- Install the MonAMI RPM (see getting the RPMs)
- Copy the configuration below as /etc/monamid.d/dpm-gridftp-gridview
- (Re-)start MonAMI (e.g. "service monami restart")
- Verify that data is going into R-GMA:
- Start a web-browser with your X509 certificate loaded.
- 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
- Select "Table sets" (far left column).
- Select "GridftpMonitor" from middle column.
- In the right column:
- Select "Type of query" as "Continuous", leave "Old" selected.
- Choose "Select producers you want to query".
- Scroll down and, under the "Continuous" heading, select all producers that match your MON box.
- Select Query, at the bottom of the page
- Verify entries match those corresponding to new (since MonAMI started) transfers (check /var/log/dpm-gsiftp/dpm-gsiftp.log file).
- 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