Difference between revisions of "Swestore/Lund Seminar Apr18"

From SNIC Documentation
Jump to: navigation, search
(proxy_upload script)
(Swestore documentation moved)
(Tag: New redirect)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Slides ==
+
#REDIRECT[[Swestore Documentation Moved]]
 
 
[[File:Swestore_slides_sem_apr15.pdf]]
 
 
 
== Links ==
 
 
 
[http://docs.snic.se/wiki/Swestore General information on SweStore]
 
 
 
[http://docs.snic.se/wiki/Apply_for_storage_on_SweStore Applying for storage]
 
 
 
[http://docs.snic.se/wiki/Grid_certificates#Requesting_a_certificate Applying for certificate]
 
 
 
[http://download.nordugrid.org/repos-13.02.html Installing NorduGrid Client]
 
 
 
== proxy_upload script ==
 
 
 
<pre>#!/bin/bash
 
 
 
if [ $# -ne 2 ]
 
then
 
  echo "Usage: `basename $0` hostname username"
 
  exit $E_BADARGS
 
fi
 
 
 
proxyPath=/tmp/x509up_u$UID
 
 
 
echo "Generating proxy certificate."
 
arcproxy --proxy=$proxyPath
 
echo
 
 
 
if [ -e $proxyPath ] ; then
 
        echo "Found generated proxy certificate : $proxyPath"
 
else
 
        echo "Could not find any proxy certificate."
 
        return -1
 
fi
 
 
 
uuid=`uuidgen`
 
 
 
remoteProxyPath=/tmp/x509_up_$2_$uuid
 
 
 
echo
 
echo "Uploading proxy certificate to $1."
 
scp -p -q $proxyPath $2@$1:$remoteProxyPath
 
 
 
echo
 
echo "-------------------------------------------------------------"
 
echo "To use the uploaded proxy on $1, issue the"
 
echo "following command:"
 
echo
 
echo "proxy_use"
 
echo "-------------------------------------------------------------"
 
echo</pre>
 

Latest revision as of 10:01, 8 February 2023