Hi, Andy
We want to use xrootd as a general file transfer tool (especially since we can
now also use it with the prototype of the authorization scheme we came up
with), so we need to run part of a storage element as a MSS-connected xrootd
read/write pool. Castor as a back end is most important for now and we need
to get this prototype setup in working condition fast.
We would like to have a way to trigger migration to Castor upon closing of a
newly written file. I have studied the MPS shipped with xrootd, where the
migration is done via a daemon periodically polling on the cache and looking
for special files, but it would be better in our case if there was a hook for
executing the migration directly, i.e. if one could provide a script
analogous to the stagecmd script.
The migration in this case is just a copy from one disk pool to another (the
castor stager pool) and will either finish fast or return an error. Castor
does much of the MPS logic itself when finally migrating the files to tape.
Would it be possible for you to implement such a hook (or point us to where
this hook had best be inserted in the architecture)?
Thanks,
Derek
--
Dr. Derek Feichtinger Tel: +41 22 767 10 07
LCG/ARDA Group email: [log in to unmask]
CERN http://people.web.psi.ch/feichtinger
CH-1211 Genève 23
|