Ifront computing architecture¶
5/27/14 -- Information moved to:
Overview¶This is a synopsis of the full data handling documents
Kinds of data access¶
Computing jobs need to access various kinds of data, which we will attempt to outline here.
- Executables/libraries -- jobs need to acces the actual code which will execute
- Conditions data -- Calibration information, beam status information, etc. is generally kept in a database, and jobs need a way to access the data that will not overload the databases.
- Input Files -- should be transferred in a manner that doesn't pollute caches and be obtained from a SAM-like data handling system that provides data files in an order that can be retrieved efficiently
- Output files -- should be returned from the job, possibly to a location where they can be automatically registered in the data handling system
- Logging/Monitoring -- information about job status should be communicated back to a central location to assist with monioring.
This is an executuve summary of data resources, with some common characteristics
|RESOURCE||Net capacity||Net data rate||File size||Access limits||Interfaces||Comments|
|Bluearc app||Few TB||.5 GB/sec||any||none for common files||NFS /<proj>/app, /grid/fermiapp/<proj>||For executables, libraries, small common files|
|Bluearc data||240 TB per vol||.5 GB/sec||1 MB block||< 10 files at once||NFS /*/data /grid/data/*, FTP||For unmanaged project and cache, use ifdh cp on grid|
|DCache||3 PB||Multi GB/sec||1 MB block||automatic, hundreds ?||NFS (SLF6+), dccp, webdav, FTP, xroot etc.||For managed files, non-scratch files backed to Enstore|
|Enstore||10+ PB||Multi GB/sec||2+ GB||access via DCache||DCache|
Where possible, web interfaces which could take advantage of GRID squid caches, etc. should be used.
Access Methods to dCache for Interactive use¶
There are several access methods for interactive use of dCache files. These include: DCap, dccp, and srm, and gridftp. Currently gridftp is the preferred method, and the default for our "ifdh cp" utility, which is the recommended tool for getting files in and out of dcache for experimenters.
Gridftp is the underlying file transfer mechansim used by SRM. Using it directly reduces some copy connection overhead imposed by SRM.
The ifdh utility, in the ifdhc ups product, is the recommended tool for doing Gridftp copies for Fermilab experiments, and gridftp is currently the default transfer mechanism for copies in and out of dcache.
ifdh cp /pnfs/nova/scratch/users/mengel/test.txt /tmp/localfile.txt
One can also give full gsiftp: URI's for specifying grifdtp servers, for example:
Note that our current dcache configuration hides the first 4 components of the /pnfs/fnal.gov/usr/<experiment-name>/... path when you do gridftp access,(assuming the Grid proxy you are using is mapped in the usual fashion).
On NFSV4.1 mounted filesystem you can do anything you normally do except modifying file content.
mount -v -t nfs4 -o minorversion=1 localhost:/pnfs /pnfs/fs
Can then do commands like cp, rm, and so on.
For more information, please look at:
Web Distributed Authoring and Versioning (WebDAV) is an extension of the Hypertext Transfer Protocol (HTTP) that allows users to create and modify web content. Many operating systems provide built-in client support for WebDAV. To browse namespace and download data, the user directs a web browser to https://fndca4a.fnal.gov:2880. (This is read only.)
To access the data, the user needs to generate grid certificate proxy like so:
Your identity: /DC=org/DC=doegrids/OU=People/CN=Dmitry Litvintsev 257737
Enter GRID pass phrase for this identity:
Creating proxy .......................................... Done
Your proxy is valid until: Tue Feb 12 04:37:20 2013
- example of put
$ curl -L --capath /etc/grid-security/certificates \
--cert /tmp/x509up_u8637 -T /etc/fstab
- example of get
$ curl -L --capath /etc/grid-security/certificates
--cert /tmp/x509up_u8637 \
% Total % Received
More information is available at:
DCap provides POSIX-like open, create, read, write and lseek functions to the dCache storage. In addition there are some specific functions for setting debug level, getting error messages, and binding the library to a network interface. The dCap protocol requires specification of the dCache server host, port number, and domain, in addition to the inclusion of "/usr" ahead of the storage group designation in the PNFS path. Its structure is shown here:
See http://www-dcache.desy.de/manuals/libdcap.html for usage information.
The dccp command provides a cp-like functionality on the PNFS file system and has the following syntax:
% dccp [ options ] source_file [ destination_file ]
The options and command usage are described at http://www-dcache.desy.de/manuals/dccp.html.
SRM is middleware for managing storage resources on a grid. The SRM implementation within the dCache manages the dCache/Enstore system. It provides functions for file staging and pinning2, transfer protocol negotiation and transfer url resolution.
The ifdh utility, in the ifdhc ups product, is the recommended tool for doing SRM copies for Fermilab experiments. SRM is not currently the default
protocol for ifdh cp, so you need to specify it with a --force option to use it:
ifdh cp --force=srm /pnfs/nova/scratch/users/mengel/test.txt /tmp/localfile.txt
You can also give a full SRM protocol URI, used for the remote file specification, which requires the SRM server host, port number, and domain. For the fnal.gov domain, the inclusion of "/usr" ahead of the storage group designation in the PNFS path is also required. Its structure is shown here:
srm://<serverHost>:<portNumber>/service/path?SFN=/<root of fileSystem>/<storage_group>[/usr]/<filePath>
The first two examples are for the fnal.gov domain, the third for cern.ch:
For details, please see: