Print

Print


Hi Tommaso,

You should look at frm.copyin, frm.purge, etc. The mps stuffs are very old. here is a skeleton of this:

all.export /data   r/w nocheck nodread mig  stage  purge
frm.purge.policy * XXXg YYYg hold ZZZh  # auto purge
frm.xfr.copycmd out /bin/true 0  # do nothing
frm.xfr.copycmd in stats noalloc you_stagein_script.sh $SRC $DST


regards,
Wei Yang  |  [log in to unmask]  |  650-926-3338(O)


On Sep 28, 2012, at 2:00 AM, Tommaso Boccali wrote:

> URL:
>  <http://savannah.cern.ch/support/?132506>
> 
>                 Summary: Setting up a machine for xrootd data caching
>                 Project: XROOTD
>            Submitted by: boccali
>            Submitted on: 2012-09-28 09:00
>                Category: None
>                Priority: 5 - Normal
>                Severity: 3 - Normal
>                  Status: None
>                 Privacy: Public
>             Assigned to: None
>        Originator Email: 
>             Open/Closed: Open
>         Discussion Lock: Any
>        Operating System: GNU/Linux
> 
>    _______________________________________________________
> 
> Details:
> 
> Hi,
> I am trying to set-up a machine for high load analysis tasks.
> 
> The idea is to
> - have a large disk attached (72 TB Sun Thor machine)
> - use it as an XROOTD cache
> 
> The preferred way of operation would be
> - pre-allocate nothing on the cache
> - everytime the machine is asked for a file, it is moved on the cache (I
> understand with something like
> 
> mps.xfrcmd  /usr/bin/xrdcp %sfn %tfn 
> mps.mssdir  root://MY-EXPERIMENT-GLOBAL-REDIRECTOR/
> 
> )
> - from the second attempt, the file is found locally.
> 
> I was not able to have the configuration running, starting from a simple
> local only machine + just adding those two lines. Can you point me to an
> example config? 
> And then (2nd priority), how is the cache handled (for example, cleaning
> etc)?
> 
> thanks a lot
> 
> tommaso
> 
> 
> 
> 
>    _______________________________________________________
> 
> Reply to this item at:
> 
>  <http://savannah.cern.ch/support/?132506>
> 
> _______________________________________________
>  Message sent via/by LCG Savannah
>  http://savannah.cern.ch/
> 
> ########################################################################
> Use REPLY-ALL to reply to list
> 
> To unsubscribe from the XROOTD-DEV list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1


########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1