[NC State Home]  Statistics Department IT/Computing: How-To
 

How-To: Run Jobs more that 10 hours?

When you login to the UNITY system you obtain access by obtaining "tokens". Your tokens have a default lifetime of 10 hours, because the average faculty/staff person should not put in more than a 10 hour day. These tokens are destroyed/expired on logout prohibitting a job to continue to run while not logged on.

In the PC Windows environment, you can "renew" your tokens by clicking on the K Drive Login icon somewhere on your desktop or under NCState in the program menu.

The Unix environment you'll need to do the run the following commands.

[To Check Tokens]

stat% tokens

Tokens held by the Cache Manager:

User's (AFS ID 99999) tokens for afs@bp.ncsu.edu [Expires May 10 23:49]
User's (AFS ID 99999) tokens for afs@unity.ncsu.edu [Expires May 10 23:49]
User's (AFS ID 99999) tokens for afs@eos.ncsu.edu [Expires May 10 23:49]
   --End of list-- 

[To Reset/Extend Tokens]

stat% kreset -l
kreset: Request setting Kerberos ticket lifetime.
kreset: The maximum value is 1275 minutes (21 hours 15 minutes).
Kerberos initialization on wizard.stat.ncsu.edu
Kerberos ticket lifetime (minutes): 1275
Password for sysadmin@UNITY.NCSU.EDU: {Password}
Now when you type the tokens command you'll notice that you have 21 hours from when you successfully entered your password until your tokens expire.

When your tokens expire you loose access to your AFS filespace. If your using a PC you will only get errors when accessing the K: drive, while on a UNIX workstation when you try to do most anything.

**WARNING** Most UNIX workstations are configured to reboot weekly 4:30am Sunday morning, to ensure that no unwanted processes are running slowing down the system.

[Back] Please send any questions or comments to : webmaster@stat.ncsu.edu