Skip to content

Transformation System Tutorial: Setting up the server

Daniela Bauer edited this page Mar 31, 2020 · 10 revisions

This page explains how to set up a transformation system on your DIRAC server that allows users to run the tutorial.

Preliminaries

The server in question is a multi-VO server. The transformation system was set up for one VO (skatelescope.eu) only. The base release was v6r20p3. You might want to try a later version, as several fixes to the Transformation System have been released since then.

Installing the new DIRAC components

In this example the Instance name is 'Devel', the Setup name is 'GridPP'. Please adjust accordingly.

dirac-admin-sysadmin-cli --host [the name of your server goes here]
add instance Transformation Devel
install db TransformationDB

Install the service (still in the dirac-admin-sysadmin-cli):

install service Transformation TransformationManager

And now all the agents:

install agent Transformation TransformationAgent
install agent Transformation WorkflowTaskAgent
install agent Transformation RequestTaskAgent
install agent Transformation MCExtensionAgent
install agent Transformation TransformationCleaningAgent
install agent Transformation InputDataAgent

Configuration

Here is an extract from the DIRAC config that made it work in the end. Note that if you want a group to be able to use the dirac-transformation-cli (to be able to set the status etc via command line) it needs to have the ProductionManagement property.

Preparing the database

If you want to run the example you need to index the metadata fields first. For the tutorial it is important that you index the directories and not the files:

dirac-dms-filecatalog-cli
FC: > meta index -d owner string
FC: > meta index -d application string
FC: > meta index -d image_format string 
FC: > meta index -d image_width int
FC: > meta index -d image_height int
Clone this wiki locally