AFS

From FarmShare

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
There is now AFS available on the barley machines. You'll want to ensure you have your Kerberos ticket on corn-image-new first, use 'klist' and 'kinit' for that.  Next, you'll want to ensure you have your AFS tokens, you can use 'tokens' to list them or 'aklog' to get them.
+
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:
 +
<blockquote>
 +
'''kinit'''
 +
</blockquote>
 +
To&nbsp;list cached Kerberos tickets:
 +
<blockquote>
 +
'''klist'''
 +
</blockquote>
 +
Next, you'll want to ensure you have a valid AFS token.
 +
 +
To obtain tokens for authentication to AFS:
 +
<blockquote>
 +
'''aklog'''
 +
</blockquote>
 +
To display the issuer's tokens:
 +
<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.
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
 +
 +
kinit
 +
 +
aklog
 +
 +
echo "sleep 3600" | qsub
 +
</blockquote>

Revision as of 17:37, 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