8498c51a9f167600ef0109ac4fb881d9823f9619
[openafs-wiki.git] / AFSLore / GeneralFAQ.mdwn
1 ## <a name="1  General"></a> 1 General
2
3 The General Section of the [[AFSFrequentlyAskedQuestions]].
4
5 - [[PreambleFAQ]]
6
7 <div>
8   <ul>
9     <li><a href="#1  General"> 1 General</a><ul>
10         <li><a href="#1.01  What is AFS?"> 1.01 What is AFS?</a></li>
11         <li><a href="#1.02  Who supplies AFS?"> 1.02 Who supplies AFS?</a></li>
12         <li><a href="#1.03  What is /afs?"> 1.03 What is /afs?</a></li>
13         <li><a href="#1.04  What is an AFS cell?"> 1.04 What is an AFS cell?</a></li>
14         <li><a href="#1.05  What are the benefits of u"> 1.05 What are the benefits of using AFS?</a><ul>
15             <li><a href="#1.05.a  Cache Manager"> 1.05.a Cache Manager</a></li>
16             <li><a href="#1.05.b  Location independence"> 1.05.b Location independence</a></li>
17             <li><a href="#1.05.c  Scalability"> 1.05.c Scalability</a></li>
18             <li><a href="#1.05.d  Improved security"> 1.05.d Improved security</a></li>
19             <li><a href="#1.05.e  Single systems image (SS"> 1.05.e Single systems image (SSI)</a></li>
20             <li><a href="#1.05.f  Replicated AFS volumes"> 1.05.f Replicated AFS volumes</a></li>
21             <li><a href="#1.05.g  Improved robustness to s"> 1.05.g Improved robustness to server crash</a></li>
22             <li><a href="#1.05.h  "Easy to use" networking"> 1.05.h "Easy to use" networking</a></li>
23             <li><a href="#1.05.i  Communications protocol"> 1.05.i Communications protocol</a></li>
24             <li><a href="#1.05.j  Improved system manageme"> 1.05.j Improved system management capability</a></li>
25           </ul>
26         </li>
27         <li><a href="#1.06  Which systems is AFS avail"> 1.06 Which systems is AFS available for?</a></li>
28         <li><a href="#1.07  What does "ls /afs" displa"> 1.07 What does "ls /afs" display in the Internet AFS filetree?</a></li>
29         <li><a href="#1.08  Why does AFS use Kerberos"> 1.08 Why does AFS use Kerberos authentication?</a></li>
30         <li><a href="#1.09  Does AFS work over protoco"> 1.09 Does AFS work over protocols other than TCP/IP?</a></li>
31         <li><a href="#1.10  How can I access AFS from"> 1.10 How can I access AFS from my PC?</a></li>
32         <li><a href="#1.11  How does AFS compare with"> 1.11 How does AFS compare with NFS?</a></li>
33       </ul>
34     </li>
35   </ul>
36 </div>
37
38 - [[UsageFAQ]]
39 - [[AdminFAQ]]
40 - [[ResourcesFAQ]]
41 - [[AboutTheFAQ]]
42 - [[FurtherReading]]
43
44 ### <a name="1.01  What is AFS?"></a> 1.01 What is AFS?
45
46 AFS is a distributed filesystem that enables co-operating hosts (clients and servers) to efficiently share filesystem resources across both local area and wide area networks.
47
48 The commercial version of AFS is marketed, maintained, and extended by Transarc Corporation.
49
50 AFS is based on a distributed file system originally developed at the Information Technology Center at Carnegie-Mellon University that was called the "Andrew File System".
51
52 "Andrew" was the name of the research project at CMU - honouring th founders of the University. Once Transarc was formed and AFS became a product, the "Andrew" was dropped to indicate that AFS had gone beyond the Andrew research project and had become a supported, product quality filesystem. However, there were a number of existing cells that rooted their filesystem as /afs. At the time, changing the root of the filesystem was a non-trivial undertaking. So, to save the early AFS sites from having to rename their filesystem, AFS remained as the name and filesystem root.
53
54 ### <a name="1.02  Who supplies AFS?"></a> 1.02 Who supplies AFS?
55
56 There are currently three sources for AFS: Commercial Transarc (now part of IBM), the open sourced version of former Transarc AFS called [[OpenAFS]] and the independent open source project [[Arla]].
57
58 <table border="1" cellpadding="0" cellspacing="0">
59   <tr>
60     <td> 1. </td>
61     <td> IBM Pittsburgh Lab </td>
62     <td> phone: +1 (412) 667-4400 </td>
63   </tr>
64   <tr>
65     <td>   </td>
66     <td> 11 Stanwix Street </td>
67     <td> fax: +1 (412) 667-6977 </td>
68   </tr>
69   <tr>
70     <td>   </td>
71     <td> Pittsburgh </td>
72     <td> email: <a href="mailto:information@transarc.com">information@transarc.com</a></td>
73   </tr>
74   <tr>
75     <td>   </td>
76     <td> PA 15222 </td>
77     <td><a href="mailto:afs-sales@transarc.com">afs-sales@transarc.com</a></td>
78   </tr>
79   <tr>
80     <td>   </td>
81     <td> United States of America </td>
82     <td> WWW: <a href="http://www.transarc.com" target="_top">http://www.transarc.com</a></td>
83   </tr>
84   <tr>
85     <td> 2. </td>
86     <td>[[Main/OpenAFS]]</td>
87     <td> WWW: <a href="http://www.openafs.org/" target="_top">http://www.openafs.org/</a></td>
88   </tr>
89   <tr>
90     <td> 3. </td>
91     <td>[[Main/Arla]]</td>
92     <td> WWW: <a href="http://www.stacken.kth.se/projekt/arla/" target="_top">http://www.stacken.kth.se/projekt/arla/</a></td>
93   </tr>
94 </table>
95
96 ### <a name="1.03  What is /afs?"></a> 1.03 What is /afs?
97
98 The root of the AFS filetree is /afs. If you execute "ls /afs" you will see directories that correspond to AFS cells (see below). These cells may be local (on same LAN) or remote (eg halfway around the world).
99
100 With AFS you can access all the filesystem space under /afs with commands you already use (eg: cd, cp, rm, and so on) provided you have been granted permission (see AFS ACL below).
101
102 ### <a name="1.04  What is an AFS cell?"></a> 1.04 What is an AFS cell?
103
104 An AFS cell is a collection of servers grouped together administratively and presenting a single, cohesive filesystem. Typically, an AFS cell is a set of hosts that use the same Internet domain name.
105
106 Normally, a variation of the domain name is used as the AFS cell name.
107
108 Users log into AFS client workstations which request information and files from the cell's servers on behalf of the users.
109
110 ### <a name="1.05  What are the benefits of u"></a> 1.05 What are the benefits of using AFS?
111
112 The main strengths of AFS are its:
113
114 - caching facility
115 - security features
116 - simplicity of addressing
117 - scalability
118 - communications protocol
119
120 Here are some of the advantages of using AFS in more detail:
121
122 #### <a name="1.05.a  Cache Manager"></a> 1.05.a Cache Manager
123
124 AFS client machines run a Cache Manager process. The Cache Manager maintains information about the identities of the users logged into the machine, finds and requests data on their behalf, and keeps chunks of retrieved files on local disk.
125
126 The effect of this is that as soon as a remote file is accessed a chunk of that file gets copied to local disk and so subsequent accesses (warm reads) are almost as fast as to local disk and considerably faster than a cold read (across the network).
127
128 Local caching also significantly reduces the amount of network traffic, improving performance when a cold read is necessary.
129
130 #### <a name="1.05.b  Location independence"></a> 1.05.b Location independence
131
132 Unlike NFS, which makes use of /etc/filesystems (on a client) to map (mount) between a local directory name and a remote filesystem, AFS does its mapping (filename to location) at the server. This has the tremendous advantage of making the served filespace location independent.
133
134 Location independence means that a user does not need to know which fileserver holds the file, the user only needs to know the pathname of a file. Of course, the user does need to know the name of the AFS cell to which the file belongs. Use of the AFS cellname as the second part of the pathname (eg: /afs/$AFSCELL/somefile) is helpful to distinguish between file namespaces of the local and non-local AFS cells.
135
136 To understand why such location independence is useful, consider having 20 clients and two servers. Let's say you had to move a filesystem "/home" from server a to server b.
137
138 Using NFS, you would have to change the /etc/filesystems file on 20 clients and take "/home" off-line while you moved it between servers.
139
140 With AFS, you simply move the AFS volume(s) which constitute "/home" between the servers. You do this "on-line" while users are actively using files in "/home" with no disruption to their work.
141
142 (Actually, the AFS equivalent of "/home" would be /afs/$AFSCELL/home where $AFSCELL is the AFS cellname.)
143
144 #### <a name="1.05.c  Scalability"></a> 1.05.c Scalability
145
146 With location independence comes scalability. An architectural goal of the AFS designers was client/server ratios of 200:1 which has been successfully exceeded at some sites. Transarc do not recommend customers use the 200:1 ratio. A more cautious value of 50:1 is expected to be practical in most cases. It is certainly possible to work with a ratio somewhere between these two values. Exactly what value depends on many factors including: number of AFS files, size of AFS files, rate at which changes are made, rate at which file are being accessed, speed of servers processor, I/O rates, and network bandwidth.
147
148 AFS cells can range from the small (1 server/client) to the massive (with tens of servers and thousands of clients). Cells can be dynamic: it is simple to add new fileservers or clients and grow the computing resources to meet new user requirements.
149
150 #### <a name="1.05.d  Improved security"></a> 1.05.d Improved security
151
152 Firstly, AFS makes use of Kerberos to authenticate users. This improves security for several reasons:
153
154 - passwords do not pass across the network in plaintext
155
156 - encrypted passwords no longer need to be visible
157   - You don't have to use NIS, aka yellow pages, to distribute /etc/passwd - thus "ypcat passwd" can be eliminated.
158   - If you do choose to use NIS, you can replace the password field with "X" so the encrypted password is not visible. (These issues are discussed in detail in [25]).
159
160 - AFS uses mutual authentication - both the service provider and service requester prove their identities
161
162 Secondly, AFS uses access control lists (ACLs) to enable users to restrict access to their own directories.
163
164 #### <a name="1.05.e  Single systems image (SS"></a> 1.05.e Single systems image (SSI)
165
166 Establishing the same view of filestore from each client and server in a network of systems (that comprise an AFS cell) is an order of magnitude simpler with AFS than it is with, say, NFS.
167
168 This is useful to do because it enables users to move from workstation to workstation and still have the same view of filestore. It also simplifies part of the systems management workload.
169
170 In addition, because AFS works well over wide area networks the SSI is also accessible remotely.
171
172 As an example, consider a company with two widespread divisions (and two AFS cells): ny.acme.com and sf.acme.com. Mr Fudd, based in the New York office, is visiting the San Francisco office.
173
174 Mr. Fudd can then use any AFS client workstation in the San Francisco office that he can log into (a unprivileged guest account would suffice). He could authenticate himself to the ny.acme.com cell and securely access his New York filespace.
175
176 For example:
177
178 The following shows a guest in the sf.acme.com AFS cell:
179
180 1. add AFS executables directory to PATH
181 2. obtaining a PAG with pagsh command (see 2.06)
182 3. use the klog command to authenticate into the ny.acme.com AFS cell
183 4. making a HOME away from home
184 5. invoking a homely .profile
185
186            guest@toontown.sf.acme.com $ PATH=/usr/afsws/bin:$PATH       # {1}
187            guest@toontown.sf.acme.com $ pagsh                           # {2}
188            $ klog -cell ny.acme.com -principal elmer                    # {3}
189            Password:
190            $ HOME=/afs/ny.acme.com/user/elmer; export HOME              # {4}
191            $ cd
192            $ .  .profile                                                # {5}
193            you have new mail
194            guest@toontown $
195
196 It is not necessary for the San Francisco sys admin to give Mr. Fudd an AFS account in the sf.acme.com cell. Mr. Fudd only needs to be able to log into an AFS client that is:
197
198 1. on the same network as his cell and
199 2. his ny.acme.com cell is mounted in the sf.acme.com cell (as would certainly be the case in a company with two cells).
200
201 #### <a name="1.05.f  Replicated AFS volumes"></a> 1.05.f Replicated AFS volumes
202
203 AFS files are stored in structures called Volumes. These volumes reside on the disks of the AFS file server machines. Volumes containing frequently accessed data can be read-only replicated on several servers.
204
205 Cache managers (on users client workstations) will make use of replicate volumes to load balance. If accessing data from one replicate copy, and that copy becomes unavailable due to server or network problems, AFS will automatically start accessing the same data from a different replicate copy.
206
207 An AFS client workstation will access the closest volume copy. By placing replicate volumes on servers closer to clients (eg on same physical LAN) access to those resources is improved and network traffic reduced.
208
209 #### <a name="1.05.g  Improved robustness to s"></a> 1.05.g Improved robustness to server crash
210
211 The Cache Manager maintains local copies of remotely accessed files. This is accomplished in the cache by breaking files into chunks of up to 64k (default chunk size). So, for a large file, there may be several chunks in the cache but a small file will occupy a single chunk (which will be only as big as is needed).
212
213 A "working set" of files that have been accessed on the client is established locally in the client's cache (copied from fileserver(s)).
214
215 If a fileserver crashes, the client's locally cached file copies remain readable but updates to cached files fail while the server is down.
216
217 Also, if the AFS configuration has included replicated read-only volumes then alternate fileservers can satisfy requests for files from those volumes.
218
219 #### <a name="1.05.h  &quot;Easy to use&quot; networking"></a> 1.05.h "Easy to use" networking
220
221 Accessing remote file resources via the network becomes much simpler when using AFS. Users have much less to worry about: want to move a file from a remote site? Just copy it to a different part of /afs.
222
223 Once you have wide-area AFS in place, you don't have to keep local copies of files. Let AFS fetch and cache those files when you need them.
224
225 #### <a name="1.05.i  Communications protocol"></a> 1.05.i Communications protocol
226
227 AFS communications protocol is optimized for Wide Area Networks. Retransmitting only the single bad packet in a batch of packets and allowing the number of unacknowledged packets to be higher (than in other protocols, see [4]).
228
229 #### <a name="1.05.j  Improved system manageme"></a> 1.05.j Improved system management capability
230
231 Systems administrators are able to make configuration changes from any client in the AFS cell (it is not necessary to login to a fileserver).
232
233 With AFS it is simple to effect changes without having to take systems off-line.
234
235 Example:
236
237 A department (with its own AFS cell) was relocated to another office. The cell had several fileservers and many clients. How could they move their systems without causing disruption?
238
239 First, the network infrastructure was established to the new location. The AFS volumes on one fileserver were migrated to the other fileservers. The "freed up" fileserver was moved to the new office and connected to the network.
240
241 A second fileserver was "freed up" by moving its AFS volumes across the network to the first fileserver at the new office. The second fileserver was then moved.
242
243 This process was repeated until all the fileservers were moved.
244
245 All this happened with users on client workstations continuing to use the cell's filespace. Unless a user saw a fileserver being physically moved (s)he would have no way to tell the change had taken place.
246
247 Finally, the AFS clients were moved - this was noticed!
248
249 ### <a name="1.06  Which systems is AFS avail"></a> 1.06 Which systems is AFS available for?
250
251 AFS runs on systems from: HP, Compaq, IBM, SUN, SGI, Apple ([[MacOSX]]) and PCs with flavours of Unix.
252
253 AFS has been available for Next and DEC (Ultrix).
254
255 Transarc customers have done ports to Crays, and the 3090, but all are based on some flavour of unix. Some customers have done work to make AFS data available to PCs and Macs, although they are using something similar to the AFS/NFS translator (a system that enables "NFS only" clients to NFS mount the AFS filetree /afs).
256
257 There is a client only implementation "AFS Client for Windows/NT".
258
259 A page describing the current systems for which AFS is supported may be found at:
260
261 - <http://www.transarc.com/Support/afs/relversions/platforms.html>
262
263 There are also ports of AFS done by customers available from Transarc on an "as is" unsupported basis.
264
265 More information on this can be found at:
266
267 - <file:///afs/transarc.com/public/afs-contrib/bin/README>
268 - <ftp://ftp.transarc.com/pub/afs-contrib/bin/README>
269
270 These ports of AFS client code include:
271
272 - HP (Apollo) Domain OS - by Jim Rees at the University of Michigan.
273 - sun386i - by Derek Atkins and Chris Provenzano at MIT.
274 - Linux - by Derek Atkins, mailing list: &lt;linux-afs-request@mit.edu&gt; <http://www.mit.edu:8008/menelaus/linux-afs/>
275 - [[NetBSD]] - by John Kohl, mailing list: &lt;netbsd-afs@mit.edu&gt;
276
277 There is some information about AFS on OS/2 at:
278
279 - <http://www.club.cc.cmu.edu/~jgrande/afsos2.html>
280
281 The AFS on Linux FAQ may be found at:
282
283 - <http://www.umlug.umd.edu/linuxafs/>
284
285 Check out the [[OpenAFS]] and [[Arla]] pages for port avilablity.
286
287 ### <a name="1.07  What does &quot;ls /afs&quot; displa"></a> 1.07 What does "ls /afs" display in the Internet AFS filetree?
288
289 Essentially this displays the AFS cells that co-operate in the Internet AFS filetree.
290
291 Note that the output of this will depend on the cell you do it from; a given cell may not have all the publicly advertised cells available, and it may have some cells that aren't advertised outside of the given site.
292
293 The definitive source for this information is:
294
295 - <file:///afs/transarc.com/service/etc/CellServDB.export>
296
297 I've included the list of cell names included in it below:
298
299        asu.edu                 #ASU
300        uni-freiburg.de         #Albert-Ludwigs-Universitat Freiburg
301        anl.gov                 #Argonne National Laboratory
302        fl.mcs.anl.gov          # Argonne National Laboratory MCS Division FL
303        dapnia.saclay.cea.fr    #Axlan-CEA
304        bcc.ac.uk               #Bloomsbury Computing Consortium
305        bu.edu                  #Boston University
306        cs.brown.edu            #Brown University Department of Computer Science
307        caspur.it               #CASPUR Inter-University Computing Consortium,Rome
308        ciesin.org              #CIESIN
309        mathematik-cip.uni-stuttgart.de #CIP-Pool of Math. Dept, Univ. Stuttgart
310        gg.caltech.edu          #Caltech Computer Graphics Group
311        cards.com               #Cards - Electronic Warfare Associates
312        cheme.cmu.edu           #Carnegie Mellon Univ. Chemical Engineering Dept.
313        cmu.edu                 #Carnegie Mellon University
314        andrew.cmu.edu          #Carnegie Mellon University - Campus
315        ce.cmu.edu              #Carnegie Mellon University - Civil Eng. Dept.
316        ece.cmu.edu             #Carnegie Mellon University - Elec. Comp. Eng. Dept.
317        me.cmu.edu              #Carnegie Mellon University - Mechanical Engineering
318        cs.cmu.edu              #Carnegie Mellon University - School of Comp. Sci.
319        club.cc.cmu.edu         #Carnegie Mellon University Computer Club
320        cert.org                #CERT/Coordination Center
321        others.chalmers.se      #Chalmers University of Technology - General users
322        cipool.uni-stuttgart.de #CIP Pool, Rechenzentrum University of Stuttgart
323        clarkson.edu            #Clarkson University, Potsdam, USA
324        msc.cornell.edu         #Cornell University Materials Science Center
325        graphics.cornell.edu    #Cornell University Program of Computer Graphics
326        theory.cornell.edu      #Cornell University Theory Center
327        ifh.de                  #DESY-IfH Zeuthen
328        northstar.dartmouth.edu #Dartmouth College, Project Northstar
329        desy.de                 #Deutsches Elektronen-Synchrotron
330        dkrz.de                 #Deutsches Klimarechenzentrum Hamburg
331        dis.uniroma1.it         #DIS, Univ. "La Sapienza", Rome, area Buonarotti
332        msrc.pnl.gov            #EMSL's AFS Cell
333        zdvpool.uni-tuebingen.de#Eberhard-Karls-Universitaet Tuebingen, WS-Pools
334        enea.it                 #enea.it
335        es.net                  #Energy Sciences Net
336        research.ec.org         #Esprit Research Network of Excellence
337        dce.emsl.pnl.gov        #EMSL's DCE Cell
338        cern.ch                 #European Laboratory for Particle Physics, Geneva
339        fnal.gov                #Fermi National Acclerator Laboratory
340        fh-heilbronn.de         #Fachhochschule Heilbronn
341        hephy.at                #hephy-vienna
342        sleeper.nsa.hp.com      #HP Cupertino
343        palo_alto.hpl.hp.com    #HP Palo Alto
344        afs.hursley.ibm.com     #IBM Hursley Laboratories (UK), external cell
345        ibm.uk                  #IBM UK, AIX Systems Support Centre
346        zurich.ibm.ch           #IBM Zurich Internet Cell
347        ctp.se.ibm.com          #IBM/4C, Chalmers, Sweden
348        ipp-hgw.mpg.de          #IPP site at Greifswald
349        in2p3.fr                #IN2P3 production cell
350        lngs.infn.it            #INFN Laboratori Nazionali di Gran Sasso, Italia
351        le.infn.it              #INFN Sezione di Lecce, Italia
352        pi.infn.it              #INFN Sezione di Pisa
353        ike.uni-stuttgart.de    #Institut fuer Kernenergetik, Universitaet Stuttgart
354        ipp-garching.mpg.de     #Institut fuer Plasmaphysik
355        csv.ica.uni-stuttgart.de #Institut fuer Computeranwendungen, Uni. Stuttgart
356        iastate.edu             #Iowa State University
357        infn.it                 #Istituto Nazionale di Fisica Nucleare, Italia
358        jpl.nasa.gov            #Jet Propulsion Laboratory
359        zdv.uni-mainz.de        #Johannes-Gutenberg-Universitaet Mainz
360        isk.kth.se              #KTH College of Engineering
361        cc.keio.ac.jp           #Keio University, Fac. of Sci. & Tech. Computing Ctr
362        sfc.keio.ac.jp          #Keio University, Japan
363        afs-math.zib-berlin.de  #Konrad-Zuse-Zentrum fuer Informationstechnik Berlin
364        thermo-a.mw.tu-muenchen.de #Lehrstuhl A fuer Thermodynamik,TUM
365        lrz-muenchen.de         #Leibniz-Rechenzentrum Muenchen Germany
366        athena.mit.edu          #MIT/Athena cell
367        net.mit.edu             #MIT/Network Group cell
368        sipb.mit.edu            #MIT/SIPB cell
369        msu.edu                 #Michigan State University home cell
370        mpa-garching.mpg.de     #Max-Planck-Institut fuer Astrophysik
371        federation.atd.net      #Multi Resident AFS at Naval Research Lab - CCS
372        isl.ntt.jp              #NTT Information and Communication
373        nersc.gov               #National Energy Research Supercomputer Center
374        alw.nih.gov             #National Institutes of Health
375        nrel.gov                #National Renewable Energy Laboratory
376        cmf.nrl.navy.mil        #Naval Research Lab
377        lcp.nrl.navy.mil        #Naval Research Lab - Lab for Computational Physics
378        nrlfs1.nrl.navy.mil     #Naval Research Laboratory
379        eos.ncsu.edu            #NCSU - College of Engineering
380        unity.ncsu.edu          #NCSU Campus
381        ncat.edu                #North Carolina Agricultural and Technical State U.
382        bp.ncsu.edu             #North Carolina State University - Backbone Prototype
383        ri.osf.org              #OSF Research Institute
384        gr.osf.org              #OSF Research Institute, Grenoble
385        urz.uni-magdeburg.de    #Otto-von-Guericke-Universitaet, Magdeburg
386     N  ovpit.indiana.edu       #OVPIT at Indiana University
387        psc.edu                 #PSC (Pittsburgh Supercomputing Center)
388        psu.edu                 #Penn State
389        phy.bnl.gov             #Physics Deptpartment, Brookhaven National Lab
390        postech.ac.kr           #Pohang University of Science
391        pppl.gov                #Princeton Plasma Physics Laboratory
392        rwcp.or.jp              #Real World Computer Partnership(rwcp)
393        rz.uni-jena.de          #Rechenzentrum University of Jena, Germany
394        rhrk.uni-kl.de          #Rechenzentrum University of Kaiserslautern
395        rus.uni-stuttgart.de    #Rechenzentrum University of Stuttgart
396        rhic                    #Relativistic Heavy Ion Collider
397        rpi.edu                 #Rensselaer Polytechnic Institute
398        uni-bonn.de             #Rheinische Friedrich Wilhelm Univesitaet Bonn
399        rose-hulman.edu         #Rose-Hulman Institute of Technology
400        cs.rose-hulman.edu      # Rose-Hulman Inst. of Tech., CS Department
401        nada.kth.se             #Royal Institute of Technology, NADA
402        rl.ac.uk                #Rutherford Appleton Lab, England
403        slac.stanford.edu       #Stanford Linear Accelerator Center
404        dsg.stanford.edu        #Stanford Univ. - Comp. Sci. - Distributed Systems
405        ir.stanford.edu         #Stanford University
406        afs1.scri.fsu.edu       #Supercomputer Computations Research Instit
407        ethz.ch                 #Swiss Federal Inst. of Tech. - Zurich, Switzerland
408        hrzone.th-darmstadt.de  #TH-Darmstadt
409        tu-bs.de                #Technical University of Braunschweig, Germany
410        tu-chemnitz.de          #Technische Universitaet Chemnitz-Zwickau, Germany
411        telos.com               #Telos Systems Group - Chantilly, Va.
412        transarc.com            #Transarc Corporation
413        cats.ucsc.edu           #UC Santa Cruz, Comp and Tech Services, California
414        umr.edu                 #UMR - Missouri's Technological University
415        hep.net                 #US High Energy Physics Information cell
416        uni-mannheim.de         #Uni Mannheim (Rechenzentrum)
417        ece.ucdavis.edu         #Univ California - Davis campus
418        geo.uni-koeln.de        #Univ. of Cologne Inst. for Geophysics & Meteorology
419        meteo.uni-koeln.de      #Univ. of Cologne Inst. for Geophysics & Meteorology
420     N  dsi.uniroma1.it         #Univ. Rome-1, Dept. of Computer Science
421     U  spv.uniroma1.it         #Univ. Rome-1, Area San Pietro in Vincoli
422     N  vn.uniroma3.it          #Univ. Rome-3, Area Vasca Navale
423        urz.uni-heidelberg.de   #Universitaet Heidelberg
424        spc.uchicago.edu        #University of Chicago - Social Sciences
425        rrz.uni-koeln.de        #University of Cologne -  Reg Comp Center
426        wu-wien.ac.at           #University of Economics, Vienna, Austria
427        uni-hohenheim.de        #University of Hohenheim
428        ncsa.uiuc.edu           #University of Illinois
429        wam.umd.edu             #University of Maryland Network WAM Project
430        glue.umd.edu            #University of Maryland - Project Glue
431        engin.umich.edu         #University of Michigan - CAEN
432        umich.edu               #University of Michigan - Campus
433        dmsv.med.umich.edu      #University of Michigan - DMSV
434        citi.umich.edu          #University of Michigan - IFS Development
435        lsa.umich.edu           #University of Michigan - LSA College
436        math.lsa.umich.edu      #University of Michigan - Math Cell
437        sph.umich.edu           #University of Michigan -- School of Public
438        cs.unc.edu              #University of North Carolina at Chapel Hill
439        nd.edu                  #University of Notre Dame
440        pitt.edu                #University of Pittsburgh
441        vn.uniroma3.it          #University of Rome 3, Area Vasca Navale, Italy
442        isi.edu                 #University of Southern California/ISI
443        dce.uni-stuttgart.de    #University of Stuttgart - DCE/DFS Cell
444        ihf.uni-stuttgart.de    #University of Stuttgart, Ins. fuer Hochfrequenz-Tec
445        mathematik.uni-stuttgart.de #University of Stuttgart, Math Dept.
446        cs.utah.edu             #University of Utah Computer Science Dept
447        utah.edu                #University of Utah Information Tech. Service
448        cs.washington.edu       #University of Washington Comp Sci Department
449        wisc.edu                #University of Wisconsin-Madison, Campus
450        cs.wisc.edu             #University of Wisconsin-Madison, Comp Sci Dept
451        belwue.uni-tuebingen.de #ZDV Universitaet Tuebingen
452
453 This shows different and widespread organizations making use of the Internet AFS filetree.
454
455 Note that it is also possible to use AFS "behind the firewall" within the confines of your organization's network - you don't have to participate in the Internet AFS filetree.
456
457 Indeed, there are lots of benefits of using AFS on a local area network without using the WAN capabilities.
458
459 ### <a name="1.08  Why does AFS use Kerberos"></a><a name="1.08  Why does AFS use Kerberos "></a> 1.08 Why does AFS use Kerberos authentication?
460
461 It improves security.
462
463 Kerberos uses the idea of a trusted third party to prove identification. This is a bit like using a letter of introduction or quoting a referee who will vouch for you.
464
465 When a user authenticates using the klog command (s)he is prompted for a password. If the password is accepted the Kerberos Authentication Server (KAS) provides the user with an encrypted token (containing a "ticket granting ticket").
466
467 From that point on, it is the encrypted token that is used to prove the user's identity. These tokens have a limited lifetime (typically a day) and are useless when expired.
468
469 In AFS, it is possible to authenticate into multiple AFS cells. A summary of the current set of tokens held can be displayed by using the "tokens" command.
470
471 For example:
472
473        elmer@toontown $ tokens
474
475        Tokens held by the Cache Manager:
476
477        User's (AFS ID 9997) tokens for afs@ny.acme.com [Expires Sep 15 06:50]
478        User's (AFS ID 5391) tokens for afs@sf.acme.com [Expires Sep 15 06:48]
479           --End of list--
480
481 Kerberos improves security because a users's password need only be entered once (at klog time).
482
483 AFS uses Kerberos to do complex mutual authentication which means that both the service requester and the service provider have to prove their identities before a service is granted.
484
485 Transarc's implementation of Kerberos is slightly different from MIT Kerberos V4 but AFS can work with either version. Joe Jackson wrote about this in: <http://www.cs.cmu.edu/afs/andrew.cmu.edu/usr/shadow/www/afs/afs-with-kerberos.html>
486
487 For more detail on this and other Kerberos issues see the faq for Kerberos (posted to news.answers and comp.protocols.kerberos) [28]. (Also, see [15], [16], [26], [27])
488
489 ### <a name="1.09  Does AFS work over protoco"></a> 1.09 Does AFS work over protocols other than TCP/IP?
490
491 No. AFS was designed to work over TCP/IP.
492
493 ### <a name="1.10  How can I access AFS from"></a><a name="1.10  How can I access AFS from "></a> 1.10 How can I access AFS from my PC?
494
495 You can use PC-Interface which is available from Transarc and Locus Computing Corporations.
496
497 For more information on PC-Interface see the PC-Interface Frequently Asked Questions file in:
498
499 - <file:///afs/transarc.com/public/afs-contrib/doc/faq/pci.faq>
500 - <ftp://ftp.transarc.com/pub/afs-contrib/doc/faq/pci.faq>
501
502 There is also SAMBA (an SMB/netbios server for UNIX). The current version will authenticate the connecting process with AFS as well.
503
504 - <http://samba.anu.edu.au/samba/>
505
506 The SAMBA FAQ is in:
507
508 - <http://samba.anu.edu.au/samba/docs/faq/sambafaq-1.html#ss1.1>
509
510 The SAMBA mailing list can be joined via: <samba-request@anu.edu.au>
511
512 ### <a name="1.11  How does AFS compare with"></a><a name="1.11  How does AFS compare with "></a> 1.11 How does AFS compare with NFS?
513
514 <table border="1" cellpadding="0" cellspacing="0">
515   <tr>
516     <td>   </td>
517     <th align="center" bgcolor="#99CCCC"><strong> AFS </strong></th>
518     <th align="center" bgcolor="#99CCCC"><strong> NFS </strong></th>
519   </tr>
520   <tr>
521     <th bgcolor="#99CCCC"><strong> File Access </strong></th>
522     <td> Common name space from all workstations </td>
523     <td> Different file names from different workstations </td>
524   </tr>
525   <tr>
526     <th bgcolor="#99CCCC"><strong> File Location Tracking </strong></th>
527     <td> Automatic tracking by file system processes and databases </td>
528     <td> Mountpoints to files set by administrators and users </td>
529   </tr>
530   <tr>
531     <th bgcolor="#99CCCC"><strong> Performance </strong></th>
532     <td> Client caching to reduce network load; callbacks to maintain cache consistency </td>
533     <td> No local disk caching; limited cache consistency </td>
534   </tr>
535   <tr>
536     <th bgcolor="#99CCCC"><strong> Andrew Benchmark (5 phases, 8 clients) </strong></th>
537     <td> Average time of 210 seconds/client </td>
538     <td> Average time of 280 seconds/client </td>
539   </tr>
540   <tr>
541     <th bgcolor="#99CCCC"><strong> Scaling capabilities </strong></th>
542     <td> Maintains performance in small and very large installations </td>
543     <td> Best in small to mid-size installations </td>
544   </tr>
545   <tr>
546     <td>   </td>
547     <td> Excellent performance on wide-area configuration </td>
548     <td> Best in local-area configurations </td>
549   </tr>
550   <tr>
551     <th bgcolor="#99CCCC"><strong> Security </strong></th>
552     <td> Kerberos mutual authentication </td>
553     <td> Security based on unencrypted user ID's </td>
554   </tr>
555   <tr>
556     <td>   </td>
557     <td> Access control lists on directories for user and group access </td>
558     <td> No access control lists </td>
559   </tr>
560   <tr>
561     <th bgcolor="#99CCCC"><strong> Availability </strong></th>
562     <td> Replicates read-mostly data and AFS system information </td>
563     <td> No replication </td>
564   </tr>
565   <tr>
566     <th bgcolor="#99CCCC"><strong> Backup Operation </strong></th>
567     <td> No system downtime with specially developed AFS Backup System </td>
568     <td> Standard UNIX backup system </td>
569   </tr>
570   <tr>
571     <th bgcolor="#99CCCC"><strong> Reconfiguration </strong></th>
572     <td> By volumes (groups of files) </td>
573     <td> Per-file movement </td>
574   </tr>
575   <tr>
576     <td>   </td>
577     <td> No user impact; files remain accessible during moves, and file names do not change </td>
578     <td> Users lose access to files and filenames change (mountpoints need to be reset) </td>
579   </tr>
580   <tr>
581     <th bgcolor="#99CCCC"><strong> System Management </strong></th>
582     <td> Most tasks performed from any workstation </td>
583     <td> Frequently involves telnet to other workstations </td>
584   </tr>
585   <tr>
586     <th bgcolor="#99CCCC"><strong> Autonomous Architecture </strong></th>
587     <td> Autonomous administrative units called cells, in addition to file servers and clients </td>
588     <td> File servers and clients </td>
589   </tr>
590   <tr>
591     <td>   </td>
592     <td> No trust required between cells </td>
593     <td> No security distinctions between sites </td>
594   </tr>
595   <tr>
596     <td>
597     </td>
598     <td colspan="2"> [ source: <a href="ftp://ftp.transarc.com/pub/afsps/doc/afs-nfs.comparison" target="_top">ftp://ftp.transarc.com/pub/afsps/doc/afs-nfs.comparison</a> ] </td>
599   </tr>
600 </table>
601
602 Other points:
603
604 - Some vendors offer more secure versions of NFS but implementations vary. Many NFS ports have no extra security features (such as Kerberos).
605
606 - The AFS Cache Manager can be configured to work with a RAM (memory) based cache. This offers signifigant performance benefits over a disk based cache. NFS has no such feature. Imagine how much faster it is to access files cached into RAM!
607
608 - The Andrew benchmark demonstrates that AFS has better performance than NFS as the number of clients increases. A graph of this (taken from Andrew benchmark report) is available in:
609   - ![andrew1.jpg](http://www.angelfire.com/hi/plutonic/images/andrew1.jpg)