Skip to content

Setting up a Rucio client

Eric Vaandering edited this page Sep 10, 2019 · 1 revision

This has gotten much simpler recently since the client is installed on lxplus.

Setup the client and generate a proxy:

source /cvmfs/cms.cern.ch/rucio/setup.sh
voms-proxy-init -voms cms

Export two variables for which account you want to use and which configuration:

export RUCIO_HOME=/path/to/rucio-int/
export RUCIO_ACCOUNT=[username]

Now make sure that $RUCIO_HOME/etc/rucio.cfg has content like this:

# Copyright European Organization for Nuclear Research (CERN)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
#
# Authors:
# - Vincent Garonne, <vgaronne@gmail.com>, 2017
# - Eric Vaandering, <ewv@fnal.gov>, 2018

[common]
[client]
rucio_host = http://cms-rucio-int.cern.ch
auth_host = https://cms-rucio-auth-int.cern.ch
auth_type = x509_proxy
ca_cert = /etc/grid-security/certificates/
request_retries = 3

Now make sure that Rucio is working:

rucio whoami

From here you should be able to use any rucio command line commands you need to.