Commit 25e84569 authored by James Clark's avatar James Clark
Browse files

some rse helper scripts

parent af5670af
#!/bin/bash -e
rucio-admin rse add LIGO-WA-ARCHIVE
# Define copying protocol
rucio-admin rse add-protocol\
--prefix /archive/frames \
--hostname ldas-grid.ligo-wa.caltech.edu \
--domain-json '{"wan": {"read": 1, "write": 1, "delete": 1, "third_party_copy": 1}}' \
--scheme gsiftp \
--port 2811 \
--impl rucio.rse.protocols.gfal.Default \
LIGO-WA-ARCHIVE
# Disk quota
rucio-admin -a root account set-limits root LIGO-WA-ARCHIVE 100TB
#
# # FTS configuration
rucio-admin rse set-attribute --rse LIGO-WA-ARCHIVE --key fts --value https://fts.mwt2.org:8446
rucio-admin rse set-attribute --rse LIGO-WA-ARCHIVE --key fts_testing --value https://fts.mwt2.org:8446
rucio-admin rse set-attribute --rse LIGO-WA-ARCHIVE --key site --value LHO
rucio-admin rse set-attribute --rse LIGO-WA-ARCHIVE --key ALL --value 1
rucio-admin rse set-attribute --rse LIGO-WA-ARCHIVE --key LIGO_LAB --value 1
rucio-admin rse set-attribute --rse LIGO-WA-ARCHIVE --key HDFS --value 0
rucio-admin rse set-attribute --rse LIGO-WA-ARCHIVE --key ARCHIVE --value 1
rse_to_readonly LIGO-WA-ARCHIVE
#!/bin/bash
rucio-admin rse add LIGO-WA-HASH
# Define copying protocol
rucio-admin rse add-protocol\
--prefix /mnt/rucio/hashed \
--hostname ldas-grid.ligo-wa.caltech.edu\
--domain-json '{"wan": {"read": 1, "write": 1, "delete": 1, "third_party_copy": 1}}' \
--scheme gsiftp \
--port 2811 \
--impl rucio.rse.protocols.gfal.Default \
LIGO-WA-HASH
# Disk quota
rucio-admin -a root account set-limits root LIGO-WA-HASH 100TB
#
# # FTS configuration
rucio-admin rse set-attribute --rse LIGO-WA-HASH --key fts --value https://fts.mwt2.org:8446
rucio-admin rse set-attribute --rse LIGO-WA-HASH --key fts_testing --value https://fts.mwt2.org:8446
rucio-admin rse set-attribute --rse LIGO-WA-HASH --key site --value CIT
rucio-admin rse set-attribute --rse LIGO-WA-HASH --key ALL --value 1
rucio-admin rse set-attribute --rse LIGO-WA-HASH --key LIGO_LAB --value 1
rucio-admin rse set-attribute --rse LIGO-WA-HASH --key HDFS --value 0
rucio-admin rse set-attribute --rse LIGO-WA-HASH --key ARCHIVE --value 0
#rucio-admin rse set-attribute --rse LIGO-WA-HASH --key lfn2pfn_algorithm --value hash
./dists_to_unity LIGO-WA-HASH
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment