Difference between revisions of "Swestore-dCache"

From SNIC Documentation
Jump to: navigation, search
(Manage your eScience client certificate (for all users))
(Swestore documentation moved)
(Tag: New redirect)
 
(68 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Storage]]
+
#REDIRECT[[Swestore Documentation Moved]]
[[Category:Swestore]]
 
[[Category:Swestore]]
 
[[Category:Swestore user guide]]
 
 
 
Swestore is a robust, flexible and expandable short and medium term storage system aimed at storing large amounts of data produced by various Swedish research projects. It is based on the [http://www.dcache.org dCache] software.
 
 
 
Swestore is distributed across the SNIC centres [http://www.c3se.chalmers.se/ C3SE], [http://www.hpc2n.umu.se/ HPC2N], [http://www.lunarc.lu.se/ Lunarc], [http://www.nsc.liu.se/ NSC] and [http://www.uppmax.uu.se Uppmax]. Data is stored in two copies with each copy at a different SNIC centre. This enables the system to cope with a multitude of issues ranging from a simple crash of a storage element to losing an entire site while still providing access to the stored data.
 
 
 
One of the major advantages to the distributed nature of Swestore is the excellent aggregated transfer rates possible. This is achieved by bypassing a central node and having transfers going directly to/from the storage elements if the protocol allows it. Swestore can achieve aggregated transfer rates in excess of 100 Gigabit per second, but in practice this is limited by connectivity to the end user, each university or a limited number of files (typically max 1 Gbit/s per file/connection).
 
 
 
To protect against silent data corruption the dCache storage system checksums all stored data and periodically verifies the data using this checksum.
 
 
 
The dCache system does NOT yet provide protection against user errors like inadvertent file deletions and so on.
 
 
 
== Getting access to Swestore==
 
These steps are required for all PI:s and users of Swestore regardless of how the storage area later is accessed.
 
 
 
===Apply for storage (for the PI)===
 
All normal Swestore projects are managed using the SNIC User and Project Repository portal, SUPR. Please follow the instructions on the [http://www.snic.se/apply-for-resources/instructions-for-swestore-allocations Apply for storage on Swestore] page to apply for storage.
 
 
 
===Acquire an eScience client certificate (for all users)===
 
Swestore user authentication is currently done by user/client certificates. All project members needs to acquire a certificate by following the instructions on the [[Grid certificates]] page. This step can be performed while waiting for the storage application to be approved. If you already have a valid grid or eScience certificate you don't need to acquire another one.
 
 
 
===Manage your eScience client certificate (for all users)===
 
There are multiple suppliers of certificates. Depending on the supplier this step varies a bit.
 
:; For Digicert certificates
 
:: If intending to access Swestore from a SNIC resource, please make sure you also [[Exporting_a_client_certificate|export the certificate]], transfer it to the intended SNIC resource and [[Preparing_a_client_certificate|prepare it for use with grid tools]].
 
:; For Nordugrid certificates
 
:: Please make sure to also [[Requesting_a_grid_certificate_from_the_Nordugrid_CA#Installing_the_certificate_in_your_browser|install your client certificate in your browser]].
 
 
 
===Register your eScience client certificate in SUPR (for all users)===
 
 
 
All project members '''have''' to register in SUPR and be added to the approved project by the PI. '''All users also have to register their certificate in SUPR.''' This information is used by Swestore to authenticate the users when accessing the storage area. Registering the certificate is easy though. Make sure your certificate is stored in your browser, log in to [https://supr.snic.se SUPR ], click "Personal Information" in the left menu, click "Register Client Certificate" and follow the instructions.
 
 
 
== Using Swestore ==
 
 
 
=== Access protocols ===
 
; Currently supported protocols
 
: HTTP/WebDAVProtocol
 
:: http://webdav.swestore.se/ (unauthenticated, read-only)
 
:: https://webdav.swestore.se/ (authenticated, read-write)
 
: GridFTP - gsiftp://gsiftp.swestore.se/
 
: (NFS4.1)
 
: (Storage Resource Manager - srm://srm.swegrid.se/)
 
 
 
=== Download and upload data ===
 
; Interactive access using a web browser
 
: Swestore is accessible in your web browser as a simple directory index interface at https://webdav.swestore.se/
 
: To browse private data you need to have your certificate installed in your browser (default with Digicert certificates, see above). Projects are organized under the <code>/snic</code> directory as <code><nowiki>https://webdav.swestore.se/snic/YOUR_PROJECT_NAME/</nowiki></code>.
 
 
 
; Transfer and delete data from the command line
 
 
 
There are several tools that are capable of using the protocols provided by Swestore.
 
For interactive usage on SNIC clusters we recommend using the ARC tools which should be installed on all SNIC resources.
 
 
 
As an integration point for building scripts and automated systems we suggest using the curl program and library.
 
 
 
: Use the ARC client. Please see the instructions for [[Accessing Swestore with the ARC client]]. '''Recommended method when logged in on SNIC resources'''.
 
: Use lftp. Please see the instructions for [[Accessing Swestore with lftp]].
 
: Use cURL. Please see the instructions for [[Accessing Swestore with cURL]].
 
: Use globus-url-copy. Please see the instructions for [[Accessing Swestore with globus-url-copy]].
 
 
 
=== Tools and scripts ===
 
 
 
There exists a number of tools and utilities developed externally that can be useful. Here are some links:
 
 
 
* [http://sourceforge.net/projects/arc-gui-clients ARC Graphical Clients] - Contains the ARC Storage Explorer
 
* Transfer script, [[SweStore/swetrans_arc|swetrans_arc]], provided by Adam Peplinski / Philipp Schlatter
 
* [http://www.nordugrid.org/documents/SWIG-wrapped-ARC-Python-API.pdf Documentation of the ARC Python API (PDF)]
 
 
 
=== Slides and more ===
 
 
 
[http://docs.snic.se/wiki/Swestore/Lund_Seminar_Apr18 Slides and material from seminar for Lund users on April 18th]
 
 
 
=== Usage monitoring ===
 
* On the project page in SUPR: https://supr.snic.se
 
* On the monitoring server for Swestore: http://status.swestore.se/munin/monitor/monitor/  (only accessible from .se-domains.
 
 
 
== Support ==
 
 
 
If you have any issues using Swestore, please do not hesitate to contact [mailto:support@swestore.se support@swestore.se].
 

Latest revision as of 10:01, 8 February 2023