Hi all,
I recently tried using the dCache CopyManager to copy the contents of a
pool into another (empty) pool. The process did eventually work (I now
have two pools with the same files on them), but it took a long time to
complete the copy operations and a large number of the copies initially
failed. I emailed the dCache developers about this and it turned out that
I was using a old version (1.3) of the CopyManager that was to be used by
the developers and not intended for release. The proper version will be
included in the next dCache release (1.6.6), but I think they were willing
to provide a patch if the functionality was desired just now. They did not
mention when 1.6.6 was due to be released.
To initiate the CopyManager, I followed the instructions in the dCache
book to set the pools up for the transfer. It was fairly simply to do, but
there are a few issues that you should look out for:
Section 1.2 of the CopyManager part of the dCache book states that
"The following is only necessary, if a copy manager cell is not already
started. This might already be done e.g. in the utility Domain."
I found that our dCache did alrady have a CopyManager cell in the utility
domain, but this isn't the correct cell that you want to use. Many of the
commands referred to do not work in this cell (I don't know what it is
for, maybe a previous attempt at implementing this functionality).
Instead, what you have to do is ignore the advice and follow the
instructions which refer to setting up a file
/opt/d-cache/config/copy.batch
Once this is done, you will need to start the CopyManager by running:
/opt/d-cache/jobs/copy start
This will set up a new CopyDomain. To execute any of the CopyManager
commands, you will need to go into the cell 'copy0' of this domain (or
whatever you have called it).
Once I knew about which cell to use, the rest of the copy procedure was
fairly simple.
I would probably wait until 1.6.6 before using the CopyManager though.
If you want to use it before then, let me know if you get stuck.
Greig
--
=======================================================================
Dr Greig A Cowan http://www.ph.ed.ac.uk/~gcowan1
School of Physics, University of Edinburgh, James Clerk Maxwell Building
TIER-2 STORAGE SUPPORT PAGES: http://wiki.gridpp.ac.uk/wiki/Grid_Storage
=======================================================================
|