Use of CTA with DIRAC #7554
Replies: 4 comments 5 replies
-
CERN is using CTA so that I think LHCb and ILC should use them. JUNO has a simple test with CTA on reading. |
Beta Was this translation helpful? Give feedback.
-
We haven't found a proper command to do it. If needed, can write one. |
Beta Was this translation helpful? Give feedback.
-
Considering prestageReplica function. I tested it in the following way:
This command sent request to place data from tape to buffer. Theoretically, if there would be a command to check if the file appeared on the disk buffer, DIRAC RMS could initiate TPC request to copy data on a storage. |
Beta Was this translation helpful? Give feedback.
-
And question about FTS. Does that mean that if some DIRAC installation does not have FTS it will not be possible to work with CTA efficiently? |
Beta Was this translation helpful? Give feedback.
-
CTA system for tape libraries are getting used more around the world. DIRAC allows integrating CTA storages. But the question is how to get it work efficiently. I know that this topic may be interested for @zhangxiaomei .
So far we tested data upload (to CTA). It works smoothly since when we upload data to CTA, we actually upoload data to a disk buffer, and once the data are there DIRAC consider transfer to CTA successful. CTA will eventually upload data from the buffer to a tape and remove data from the buffer. The method to upload data that we used is just to do
dirac-dms-add-file <desired_LFN> <file_path> <CTA_storage_name>
Main question appears when we want to read that data. For example if we "lost" original data on the disk and want to get them from the tape.
CTA instruction that we have proposes the following instruction for direct work with CTA:
Send request to place data from tape to buffer:
xrdfs $EOS_MGM_URL prepare -s /eos/project/test/file.txt
Perfom checks until the file is buffered:
xrdfs $EOS_MGM_URL query prepare 12 /eos/project/test/file.txt
Once the file is buffered we can download it:
xrdcp root://cta-eos.jinr-t1.ru//eos/project/user/…. file.txt
If we lose the moment when the data are placed on buffer, the data may be removed by CTA after some time (configured on CTA side)
So, the following questions apperas:
Beta Was this translation helpful? Give feedback.
All reactions