Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IGWN Computing and Software
rucio
igwn-rucio-replicas
Commits
25e84569
Commit
25e84569
authored
Dec 01, 2020
by
James Alexander Clark PhD
Browse files
some rse helper scripts
parent
af5670af
Changes
2
Hide whitespace changes
Inline
Side-by-side
rses/make-rse-ligo-wa-archive
0 → 100755
View file @
25e84569
#!/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
rses/make-rse-ligo-wa-hash
0 → 100755
View file @
25e84569
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment