Imperial DIRAC FTS3

From GridPP Wiki
Jump to: navigation, search

Installation

Install FTS3 database and add index as per [[1]] (The actual working command is:

ALTER TABLE Operations ADD INDEX rmsOpID (rmsOpID);

Though table is empty after install.)

lx02:EL7 > source bashrc
lx02:EL7 > dirac-proxy-init -g dirac_admin
lx02:EL7 > dirac-admin-sysadmin-cli -H dirac01.grid.hep.ph.ic.ac.uk
Pinging dirac01.grid.hep.ph.ic.ac.uk...
[dirac01.grid.hep.ph.ic.ac.uk]> install db FTS3DB
MySQL root password: 
Adding to CS DataManagement/FTS3DB
Database FTS3DB from DIRAC/DataManagementSystem installed successfully

Now the Agent and Service:

[dirac01.grid.hep.ph.ic.ac.uk]> install service DataManagement FTS3Manager
Loading configuration template /home/hep/dbauer/check_dirac/2018_Aug_10_1308_gridpp_EL7/DIRAC/DataManagementSystem/ConfigTemplate.cfg
Adding to CS service DataManagement/FTS3Manager
service DataManagement_FTS3Manager is installed, runit status: Run
[dirac01.grid.hep.ph.ic.ac.uk]> install agent DataManagement FTS3Agent
Loading configuration template /home/hep/dbauer/check_dirac/2018_Aug_10_1308_gridpp_EL7/DIRAC/DataManagementSystem/ConfigTemplate.cfg
Adding to CS agent DataManagement/FTS3Agent

Configuration

Systems -> DataManagement -> Production -> Databases -> FTS3DB: change host to diracdb.dirac
Systems -> DataManagement -> Production -> Agents -> FTS3Agent: leave defaults
Systems -> RequestManagement -> Production -> Agents -> RequestExecutingAgent -> Operationhandlers -> ReplicateAndRegister
FTSMode = True
UseNewFTS3 = True
Create "RegisterReplica" section of not present (copy RemoveReplica and replace 'Location')