This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
grid:findongrid [2010/01/26 16:44] – abuechle | grid:findongrid [2010/01/27 16:17] (current) – abuechle | ||
---|---|---|---|
Line 3: | Line 3: | ||
in Ganga when the job has completed do: | in Ganga when the job has completed do: | ||
< | < | ||
- | jobs(jobnumber).subjobs(subjobnumber).backend.getOutputDataLFNs() | + | jobs(jobnumber).subjobs(subjobnumber).backend.getOutputDataLFNs().getReplicas() |
</ | </ | ||
- | that gives you a logical filename (LFN): | + | that gives you a logical filename (LFN) in the first part: |
< | < | ||
- | ['/ | + | {'/ |
</ | </ | ||
+ | The LFN is then '/ | ||
The data will end up in the SE closest to the location where your job did run.\\ | The data will end up in the SE closest to the location where your job did run.\\ | ||
- | To find out on which SE your file actually | + | The command also tells you on which SE your file is in the second part. So the file is on CASTOR |
- | < | + | |
- | SetupProject Dirac | + | |
- | dirac-dms-lfn-replicas / | + | |
- | </ | + | |
- | there you get back for instance the following: | + | |
- | < | + | |
- | 2009-07-29 12:10:41 UTC dirac-dms-lfn-replicas.py/ | + | |
- | {' | + | |
- | ' | + | |
- | </ | + | |
- | so the file is on RAL at at the srm address: srm: | + | |
===== How to get the status of a storage element (SE)? ===== | ===== How to get the status of a storage element (SE)? ===== |