-
Notifications
You must be signed in to change notification settings - Fork 3
Rucio for Beginners
Doug Benjamin edited this page May 14, 2023
·
9 revisions
Thanks to Doug Benjamin
The Rucio Documentation: http://rucio.cern.ch/documentation/
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
Setting up larsoft UPS area... /cvmfs/larsoft.opensciencegrid.org Setting up DUNE UPS area... /cvmfs/dune.opensciencegrid.org/products/dune/
setup rucio
kx509
export ROLE=Analysis
voms-proxy-init -rfc -noregen -bits 2048 -voms=dune:/dune/Role=$ROLE --valid 120:00
voms-proxy-info -all
export RUCIO_ACCOUNT=<username>
rucio whoami
created_at : 2021-10-19T20:01:12 account : benjamin status : ACTIVE email : None deleted_at : None updated_at : 2021-10-19T20:01:12 account_type : USER suspended_at : None
Example: Check which RSE’s the dataset found using the scope and dataset discovered from a Metacat query
for example - dc4-vd-coldbox-bottom:dc4-vd-coldbox-bottom_307151901
rucio list-dataset-replicas --deep dc4-vd-coldbox-bottom:dc4-vd-coldbox-bottom_307151901
DATASET: dc4-vd-coldbox-bottom:dc4-vd-coldbox-bottom_307151901 +-------------------------+---------+---------+ | RSE | FOUND | TOTAL | |-------------------------+---------+---------| | PRAGUE | 60 | 60 | | DUNE_ES_PIC | 60 | 60 | | DUNE_CERN_EOS | 60 | 60 | | DUNE_US_FNAL_DISK_STAGE | 60 | 60 | | MANCHESTER | 60 | 60 | | DUNE_US_BNL_SDCC | 60 | 60 | +-------------------------+---------+---------+
rucio list-datasets-rse DUNE_ES_PIC