ATLAS DQ2 Interface

For ATLAS production, data has to be registered in the DQ2 system. As ARC is not specifically integrated with DQ2, the registration is done "off-line" via a set of special tools that:

  1. Query the production database (password-protected) for all LFN output and dataset names in a completed task
  2. Query the NorduGrid ATLAS RLS for GUIDs of LFNs
  3. Register the LFNs and GUIDs to dataset names and the dataset location

Dataset location is currently aliased as NDGFDISK

ATLAS client tools, such as dq2_get, map NDGFDISK to a Web service at cpt.uio.no, which receives file GUID on input and returns an XML-formatted physical location details after querying RLS.

Client

Installation

  1. Make sure you have curl installed
  2. Follow DQ2 client installation instructions (latest recommended release is 0_2_11)
  3. Install an ARC client (standalone package is recommended, to avoid hassles with needed Globus packages)
  4. Get the registration script

It helps to make sure DQ2 libraries and tools are in all the necessary pathes, e.g.: export LD_LIBRARY_PATH=/mylocation/dq2_0_2_11/:$LD_LIBRARY_PATH
export PYTHONPATH=/mylocation/dq2_0_2_11/:$PYTHONPATH
export PATH=/mylocation/dq2_0_2_11:$PATH

Execution

python dq2bulkreg.py <taskid>

Server

NorduGrid homepage