Changes between Version 12 and Version 13 of Documentation/Manuals/ARCNativeAPELClients


Ignore:
Timestamp:
Jul 11, 2013 6:25:30 PM (11 years ago)
Author:
Andrii Salnikov
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Manuals/ARCNativeAPELClients

    v12 v13  
    3434== Configuration ==
    3535
    36 Configure ARC CE to call installed BLAH logger. In the {{{/etc/arc.conf}}} add the following configuration and restart A-REX:
     36''1.'' Configure ARC CE to call installed BLAH logger. In the {{{/etc/arc.conf}}} add the following configuration and restart A-REX:
    3737{{{
    38 authplugin="FINISHED timeout=10,onfailure=pass /usr/libexec/arc/arc-blahp-logger /var/log/arc/accounting/blahp.log- %W %C %I %u ce.fqdn:2811/nordugrid-torque-"
     38authplugin="FINISHED timeout=10,onfailure=pass /usr/libexec/arc/arc-blahp-logger -I %I -U %u -L %C/job.%I.local -P %C/job.%I.proxy"
    3939}}}
    4040
    41 Edit APEL parser configuration file ({{{/etc/apel/parser.cfg}}}) and specify DB access settings, batch system ''accounting'' logs path, and ARC CE BLAH plugin logs path:
     41By default BLAH log is written to {{{/var/log/arc/accounting/blahp.log-YYYYMMDD}}}. The log prefix (without {{{-YYYYMMDD}}}) can be redefined with optional {{{-p}}} option.
     42
     43CE ID is generated automatically and has a format {{{host.fqdn:2811/nordugrid-torque-queue}}}. Queue is added in runtime anyway, but prefix can be redefined with optional {{{-c}}} option.
     44
     45To debug logger execution you can add {{{-d 5}}} option and see all ARC logger output from all subsystems used.
     46
     47''2.'' Edit APEL parser configuration file ({{{/etc/apel/parser.cfg}}}) and specify DB access settings, batch system ''accounting'' logs path, and ARC CE BLAH plugin logs path:
    4248{{{
    4349[db]
     
    7581
    7682If everything is OK, it's time to configure APEL client and broker network to use.
    77 Edit the {{{/etc/apel/client.cfg}}}:
     83
     84''3.'' Configure APEL broker network client. Edit the {{{/etc/apel/client.cfg}}}:
    7885{{{
    7986[db]
     
    147154 - check ​http://goc-accounting.grid-support.ac.uk/rss/GOCBD-SITE-NAME_Sync.html and ​http://goc-accounting.grid-support.ac.uk/rss/GOCBD-SITE-NAME_Pub.html in a few days.
    148155
    149 Finally you need to create a CRON job to parse logs and sent records regularly. It can be simply {{{/etc/cron.daily/apel}}} that contains:
     156''4.'' Finally you need to create a CRON job to parse logs and sent records regularly. It can be simply {{{/etc/cron.daily/apel}}} that contains:
    150157{{{
    151158#!/bin/sh