Difference between revisions of "Getting access to SweStore national storage"

From SNIC Documentation
Jump to: navigation, search
(This page is obsolete, redirect to current page.)
Line 1: Line 1:
This list covers the required steps for storing and accessing data on SweStore national storage. It starts with the formalia of getting a storage project and a client certificate and proceeds to cover how to download/upload data from storage. If you have difficulties with any of the steps, please do not hesitate to contact [mailto:swestore-support@snic.vr.se swestore-support@snic.vr.se].
+
#REDIRECT [[SweStore#Getting_access]]
 
 
== Applying for storage and getting it ==
 
 
 
; Is your research area already covered by one of the SweStore collaborators?
 
: SweStore collaborates with [http://www.ecds.se ECDS], [http://snd.gu.se SND], Bioimage, [http://www.bils.se BILS], [http://www.uppnex.uu.se UPPNEX],[http://http://lcg.web.cern.ch/lcg/public/ WLCG], [http://www.nrm.se/ NaturHistoriska RiksMuseet]. If any of these cover your research area, first read their information about applying for SweStore storage.
 
; Apply for storage
 
: In the future, applications for storage will be handled by each research community, but for now an email to [mailto:swestore-support@snic.vr.se swestore-support@snic.vr.se] will suffice. Include the following information:
 
:* Name for principal investigator PI
 
:* Purpose for storage, short description of the project and type of data.
 
:* Required storage capacity. Preferably as a maximum size, but if this is not currently knowable, please calculate a starting size and expansion by time period.
 
:* Suggested project name, used as root directory name for your storage.
 
; Get a client certificate.
 
: Follow the instructions [[Grid_certificates#Requesting_a_certificate|here]] to get your client certificate. For Terena certificates, please make sure you also [[Requesting_a_grid_certificate_using_the_Terena_eScience_Portal#Exporting Terena certificate for use with Grid tools|export the certificate for use with grid tools]].
 
; Install your Nordugrid client certificate in your web browser.
 
: If you got a Terena certificate you already have it installed in your web browser so you can skip this step. Otherwise, first convert your Nordugrid certificate to the PKCS#12 format using openssl in a terminal, which should be available on any modern linux computer:
 
:: <code>openssl pkcs12 -export -in ~/.globus/usercert.pem -inkey ~/.globus/userkey.pem -out DELETE_ME.p12</code>
 
: The procedure for installing client certificates varies depending on what web browser you use. For example in chrome Settings click "Under the hood" in the sidebar > "Manage certificates..." button > "Import..." button > browse to your DELETE_ME.p12 > "Open" button > Type in your password > Done. Now delete DELETE_ME.p12.
 
; Request membership in the SweGrid VO.
 
: Follow the instructions [[Grid_certificates#Requesting_membership_in_the_SweGrid_VO|here]] to get added to the SweGrid virtual organisation.
 
 
 
== Using SweStore national storage ==
 
When you have installed your certificate in your browser (see above) you can go to http://webdav.swegrid.se/ to browse and download your data, and any other publicly accessible data. Your data is available at <code><nowiki>http://webdav.swegrid.se/snic/YOUR_PROJECT_NAME</nowiki></code>.
 
 
 
To upload data you need to use the arc client. These are the required steps:
 
 
 
; Install the ARC client.
 
: All SNIC systems have ARC client installed. If yours doesn't, please contact support at your centre so they can fix this error as soon as possible. To install it on your computer, please follow instructions [ARC_client_installation|here].
 
; Use the ARC client.
 
: Please follow instructions [[Accessing_SweStore_national_storage_with_the_ARC_client|here]]. Basic commands are:
 
:: <code>arcproxy</code> - unlock your certificate so you can use it.
 
:: <code>arcls</code> - for listing files. Works similarly to <code>ls</code>. Example <code><nowiki>arcls http://webdav.swegrid.se/snic/YOUR_PROJECT_NAME</nowiki></code>
 
:: <code>arccp</code> - for copying files. Works similarly to <code>cp</code>. Example <code><nowiki>arccp myfile.txt http://webdav.swegrid.se/snic/YOUR_PROJECT_NAME/create_dirs_if_necessary/myfile.txt</nowiki></code>
 
:: <code>arcrm</code> - for deleting files. Works similarly to <code>rm</code>. Example <code><nowiki>arcrm http://webdav.swegrid.se/snic/YOUR_PROJECT_NAME/whoops.txt</nowiki></code>
 
Note that the paths on storage are the same as in the web browser. Use <code>man</code> and <code>--help</code> to get more info on each command. Examples: <code>man arcrm</code> or <code>arcls --help</code>
 

Revision as of 11:53, 27 May 2013