This wiki is obsolete, see the NorduGrid web pages for up to date information.

Accounting/ur-logger-to-jura

From NorduGrid
Jump to navigationJump to search

Information on how to alter the arc.conf if you would like to replace the ur-logger with JURA (to be extended).

As an example, say you have configured the ur-logger as follows:

authplugin="FINISHED timeout=30,onfailure=pass /usr/libexec/arc/arc-ur-logger %C %I %S"

[logger]
log_all="https://accounting.ndgf.org:6143/sgas"
log_vo="bio.ndgf.org https://biosgas.ndgf.org:6143/sgas"
# Default:
log_dir=/var/spool/nordugrid/usagerecords/

The corresponding configuration for using JURA would then be the following:

[grid-manager]
jobreport="https://accounting.ndgf.org:6143/sgas"
jobreport_publisher="jura"
jobreport_option="urbatch:50,archiving:<PATH where to put the archived records>,localid_prefix:<PREFIX>"

JURA will automatically read the accounting logs from the configured "control" directory in the arex section.


VO filtering in JURA

Note that VO filtering in JURA is not part of NorduGrid ARC 13.11 (ARC 4.0.0), but will come in the first update, 13.11u1. The functionality is available in trunk or in the nightlies for very early adopters.

The "jobreport_vo_filters" functionality is based on "log_vo" syntax in the ur-logger but requires one extra configuration step.
The URL's that is present in the "log_vo" also needs to be present in the jobreport option.
VO filtering in JURA can be configured as follows:

[grid-manager]
jobreport="https://accounting.ndgf.org:6143/sgas https://biosgas.ndgf.org:6143/sgas"
jobreport_vo_filters="bio.ndgf.org https://biosgas.ndgf.org:6143/sgas"
jobreport_publisher="jura"
jobreport_option="urbatch:50,archiving:<PATH where to put the archived records>,localid_prefix:<PREFIX>"