University Computing Systems
OpenAFS Client for MS Windows Installation
Document version 4.3, modified 6-Aug-2007.
Copyright © 2007 New Jersey Institute of Technology
0: Table of Contents
1: What is this?
This document shows how to install or update the OpenAFS client for
MS Windows and how to connect your AFS disk space
to MS Windows as your H: drive.
AFS is a distributed file system for use with Solaris, Linux, MS
Windows, MacOS X, and many others. NJIT allocates AFS space to all our
students, faculty, and staff.
You can use this space for any NJIT-related activities including your
website.
See the help section below for more information.
[top]
2: Requirements
All of the following are necessary to install and use AFS to connect to your
NJIT-hosted disk space.
| Accounts |
You must have an NJIT AFS login to connect to your AFS
space. You must have an NJIT UCID to download the software from our
servers.
If your PC is in an NJIT Microsoft Domain (NJITDM or ACADEMIC) then you
need that
password also. If you have one of these,
then you probably have all of them. See http://ist.njit.edu/accounts
for more information about this.
|
| Passwords |
Obviously you need passwords to use the accounts
mentioned above,
but it is noteworthy that AFS works particularly well if your NJIT
Microsoft Domain
account has the same password as your NJIT AFS account--you will only
get prompted for a password once. You can set all your accounts'
passwords with the following:
If neither of these works, then please see the help section
below for assistance with passwords.
|
| Admin |
You must have
administrative privileges on your
PC in order to perform the installation.
|
| Network |
A working network
connection is necessary to install and use AFS:
- Off campus? If your PC is not on the NJIT network you
must first download and install
VPN (virtual private network) from http://telecom.njit.edu/vpn.
- Wireless? If you are using an NJIT wireless Internet connection then you
should first make sure your network connection is working. See http://telecom.njit.edu/wireless
for instructions.
- Private PC? If you are using your own private PC on an NJIT wired connection
you should likewise verify your connection is working,
and if necessary see http://telecom.njit.edu/mobile/persmobile.html
for
instructions.
|
| Fixes |
Last but hardly least,
your PC should be up-to-date with the latest
anti-virus updates and patches.
|
[top]
3: Installation
Example images shown on the right side can be enlarged by clicking.
Please disregard slight differences in version number and appearance
in the example images.
| 3.1: |
Obtain the AFS client software package from the web
- Download from
http://ist.njit.edu/software/download.php
- Save to your desktop
- Double-click the OpenAFSforWindows-1-5-21 (zip) file you just saved to your desktop
- If you see another directory listing (like shown here),
then go to the next step. If instead WinZip starts, then:
- Extract into a temporary directory, such as \temp\ on your tesktop
- Quit out of Winzip
- Open the desktop \temp\ directory
- You should see these files:
| instructions\ |
A copy of the installation instructions you are reading
right now |
| setup (exe) |
The actual OpenAFS client installation file |
| CellServDB |
A NJIT-specific AFS CellServDB file,
required for the client to locate the AFS servers
|
- Double click the setup.exe file
|
|
| 3.2: |
Click "Next" on "Welcome" screen.
|
|
| 3.3: |
Under "Choose Components", make sure "install AFS Client" and "MS Loopback Adapter" boxes are checked, then click "Next"
|
|
| 3.4: |
Accept default on "Choose Install Location", click "Next"
|
|
| 3.5: |
On Configuration screen install the bundled CellServDB file:
- Choose "Select a file"
- Click "Browse"
- Find the \tmp\ directory from step 3.1
- Select the "CellServDB" file
|
|
| 3.6: |
At Client Cell Name Configuration screen- Set "Cell Name" to cad.njit.edu
- Click "Next"
|
|
| 3.7: |
At AFS Credentials Configuration, click "Install"
|
|
| 3.8: |
Allow system to reboot by clicking "Finish". Proceed with "Configuration" as shown below when system restarts.
|
|
[top]
4: Configuration
Example images shown on the right side can be enlarged by clicking.
Please disregard slight differences in version number and appearance
in the example images.
| 4.1: |
Setup AFS Authentication, "Start → All Programs → OpenAFS → Client → Authentication"
|
|
| 4.2: |
The AFS client icon should show up in the system tray (lower right part of taskbar, next to time).
|
|
| 4.3: |
Double-click on the icon, then click on "Obtain New Tokens"
|
|
| 4.4: |
Type in your UCID and your AFS password, then click "OK"
|
|
| 4.5: |
Note the "tokens expire yyyy-mm-dd hh:mm:ss" message, which indicates you are correctly logged in and when you must re-authenticate your login.
Successful login results in your PC receiving an AFS "token" required to access files.
|
|
| 4.6: |
Click "Drive Letters" and "Add" to configure your AFS space as a drive letter under Windows.
|
|
| 4.7: |
Map Drive Letter.
- Click "Drive Letter" pull down and select H:. If H: is not available, then use a different letter and use that instead for the
rest of these instructions
- Click in "AFS Path" and type in your full AFS home directory path.
Your home directory path contains the first and second letters of your UCID, like this:
| |
\afs\cad.njit.edu\u\1st\2nd\UCID
|
For example, if your UCID is xyz23,
then your AFS home directory will be:
| |
\afs\cad.njit.edu\u\x\y\xyz23
|
- Close the AFS Client window by clicking "X" at upper right. Notice that the AFS task client seen in 4.3 remains in the system tray.
|
|
| 4.8: |
Verify correct installation.
- Wait 30 seconds or so and then click Windows "Start" and then "My Computer" (or "My Computer" on your desktop)
- Find your H: drive and double-click it
- You should see your files, including your "public_html" directory.
|
|
[top]
5: Troubleshooting
Example images shown on the right side can be enlarged by clicking.
Please disregard slight differences in version number and appearance
in the example images.
| 5.1: |
The most common cause of not being able to access your files is that your
token has expired or your AFS password is not the same as your Windows password.
To renew your token or enter an AFS password:
- Click on the AFS Client icon in the system tray
- Enter your UCID and your AFS password
- Click "OK".
See 4.4 above for more detail.
|
|
| 5.2: |
If the AFS client doesn't show in the system tray, then:
- Click Windows "Start" → "All Programs" → "Client" → "Authentication"
- Click "Advanced" tab
- Verify a checkmark for "Start the AFS Client Service whenever this computer starts"
- Verify a checkmark for "Always show the AFS Client icon in the taskbar"
|
|
| 5.3: |
Checking your Client Configuration
- After 5.2, click "Configure AFS Client"
- Verify "Cell Name" contains cad.njit.edu
- Verify a checkmark for "Obtain AFS tokens when logging into Windows"
- Click "OK"
|
|
| 5.4: |
In some rare cases, restarting client fixes some problems. To stop the client:
- Click on the AFS Client icon in the system tray
- Click "Advanced"
- Click "Stop Service". If it is not clickable as shown in the
image here, then the client is not running.
- Wait a few seconds, then press "Start Service"
- Close the AFS Client window by clicking the "X" at upper right.
|
|
| 5.5: |
Starting or restarting the client:
- Click on the AFS Client icon in the system tray
- Click "Advanced"
- If "Start Service" is clickable, then click it. If it is not
clickable as shown in the image here, then the client is already running.
- Close the AFS Client window by clicking the "X" at upper right.
|
|
[top]
6: How to get help or more info
Please make sure the problem you are encountering is not already
described in the
troubleshooting section above.
Your primary contact, especially if you have problems installing, is the
NJIT Helpdesk.
If you encounter problems after installing, you can contact the helpdesk or
email help@afs.njit.edu.
For more information about AFS, see the
NJIT AFS Intro. It
contains links to other sources of information about AFS. You can also find
NJIT-specific descriptions of common tasks at
http://web.njit.edu under the AFS tab.
Please report problems with this document to
help@afs.njit.edu.
[top]