fermitools / declad

BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

gfal option #48

Closed rlcee closed 4 days ago

rlcee commented 1 week ago

In most places we are using tokens, gfal and https. Please look into providing transfers with these tools.

marcmengel commented 6 days ago

This is included in pull #50; A declad config.yaml update to go with it would involve changing:

destination_server: "fndcadoor.fnal.gov:1094"
copy_command_template:  "xrdcp --cksum adler32:$adler32_checksum $src_url $dst_url"/

to

transfer_proto: "https" 
destination_server: "fndcadoor.fnal.gov:2880"
copy_command_template:  "gfal-copy --checksum adler32:$adler32_checksum $src_url $dst_url" 
marcmengel commented 6 days ago

You would also need to setup a suitable authentication refresh script in cron to keep the declad authenticated; something like the commented-out lines in: https://github.com/fermitools/declad/blob/main/sample_home/metacat_refresh.sh