AFS

From FarmShare

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
AFS is now available on the barley machines.  You'll want to ensure you have your Kerberos ticket on corn-image-new first.
+
[https://itservices.stanford.edu/service/afs AFS] is now available on the barley machines.  You'll want to ensure you have your Kerberos ticket on corn-image-new first.  
-
To obtain and cache Kerberos ticket-granting ticket:
+
To obtain and cache Kerberos ticket-granting ticket:  
-
<blockquote>
+
<pre>'''kinit'''</pre>  
-
'''kinit'''
+
To&nbsp;list cached Kerberos tickets:  
-
</blockquote>
+
<pre>'''klist'''</pre>  
-
To&nbsp;list cached Kerberos tickets:
+
Next, you'll want to ensure you have a valid AFS token.  
-
<blockquote>
+
-
'''klist'''
+
-
</blockquote>
+
-
Next, you'll want to ensure you have a valid AFS token.
+
-
To obtain tokens for authentication to AFS:
+
To obtain tokens for authentication to AFS:  
-
<blockquote>
+
<pre>'''aklog'''</pre>  
-
'''aklog'''
+
To display the issuer's tokens:  
-
</blockquote>
+
<pre>'''tokens'''</pre>  
-
To display the issuer's tokens:
+
Then you can just submit jobs to the resource manager, and the jobs will be able to read/write to/from your AFS directories.  
-
<blockquote>
+
-
'''tokens'''
+
-
</blockquote>
+
-
Then you can just submit jobs to the resource manager, and the jobs will be able to read/write to/from your AFS directories.
+
-
 
+
-
To submit a job:
+
-
<blockquote>
+
-
echo "sleep 3600" | '''qsub'''
+
-
</blockquote>
+
-
A simple, complete example:
+
-
<blockquote>
+
-
ssh corn-image-new
+
 +
To submit a job:
 +
<pre>echo "sleep 3600" | '''qsub'''</pre>
 +
A simple, complete example:
 +
<pre>ssh corn-image-new
kinit
kinit
-
 
aklog
aklog
-
 
+
echo "sleep 3600" | qsub</pre>
-
echo "sleep 3600" | qsub
+
-
</blockquote>
+

Revision as of 17:39, 27 October 2011

AFS is now available on the barley machines.  You'll want to ensure you have your Kerberos ticket on corn-image-new first.

To obtain and cache Kerberos ticket-granting ticket:

'''kinit'''

To list cached Kerberos tickets:

'''klist'''

Next, you'll want to ensure you have a valid AFS token.

To obtain tokens for authentication to AFS:

'''aklog'''

To display the issuer's tokens:

'''tokens'''

Then you can just submit jobs to the resource manager, and the jobs will be able to read/write to/from your AFS directories.

To submit a job:

echo "sleep 3600" | '''qsub'''

A simple, complete example:

ssh corn-image-new
kinit
aklog
echo "sleep 3600" | qsub
Personal tools
Toolbox
LANGUAGES