Instructions for using CERN WACDR Service to Import Data into CERN
This list of instructions is under development to help people import data into CERN Castor through the Grid FTP Interface. It is definitely a work in progress, so please report problems.
Steps:
- Get a Grid Certificate, if you don't have one. Many of the regional signing authorities can be found here. It does not have a valid link for the US, which can be accessed from doegrids.
- Once you have a valid certificate you must register it with LCG. This can be done by following the instructions on the lcg-registrar page.
- It can take 24 hours for your certificate to propagate into the grid map files.
- Try to send a test file with
globus-url-copy -nodcau -vb file://`pwd`/TestFile gsiftp://wacdr003d.cern.ch:2811/castor/cern.ch/cms/test/Your_name_testfile
- With luck it will work. From a system at CERN you should be able to see your file
nsls /castor/cern.ch/cms/test
- Unless you want your test file staged to tape you should remove it with rfrm (being careful to remove your file)
- Assuming everything has worked you are ready to proceed. From a system at CERN make the directories
nsmkdir /castor/cern.ch/cms/PCP04/CDR/Hit/$dataset or
nsmkdir /castor/cern.ch/cms/PCP04/CDR/Digi/$dataset
$dataset is the name and not the assignment ID
- Checksum the files and send the sums to Tony.
- Transfer the files with globus-url-copy as above, except replace the -vb (verbose option) with
globus-url-copy -nodcau -p 5 -tcp-bs 1000000 file://full_path_to_local_file gsiftp://wacdr003d.cern.ch:2811/castor/cern.ch/cms/PCP04/CDR/Hit/$dataset
p is the number of parallel streams and bs is the block size
Making sure the hits go to Hits and the digis go to Digis
- Do not erase the source files.
