1 ## <a name="1 General"></a> 1 General
3 The General Section of the [[AFSFrequentlyAskedQuestions]].
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>
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>
44 ### <a name="1.01 What is AFS?"></a> 1.01 What is AFS?
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.
48 The commercial version of AFS is marketed, maintained, and extended by Transarc Corporation.
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".
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.
54 ### <a name="1.02 Who supplies AFS?"></a> 1.02 Who supplies AFS?
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]].
58 <table border="1" cellpadding="0" cellspacing="0">
61 <td> IBM Pittsburgh Lab </td>
62 <td> phone: +1 (412) 667-4400 </td>
66 <td> 11 Stanwix Street </td>
67 <td> fax: +1 (412) 667-6977 </td>
72 <td> email: <a href="mailto:information@transarc.com">information@transarc.com</a></td>
77 <td><a href="mailto:afs-sales@transarc.com">afs-sales@transarc.com</a></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>
86 <td>[[Main/OpenAFS]]</td>
87 <td> WWW: <a href="http://www.openafs.org/" target="_top">http://www.openafs.org/</a></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>
96 ### <a name="1.03 What is /afs?"></a> 1.03 What is /afs?
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).
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).
102 ### <a name="1.04 What is an AFS cell?"></a> 1.04 What is an AFS cell?
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.
106 Normally, a variation of the domain name is used as the AFS cell name.
108 Users log into AFS client workstations which request information and files from the cell's servers on behalf of the users.
110 ### <a name="1.05 What are the benefits of u"></a> 1.05 What are the benefits of using AFS?
112 The main strengths of AFS are its:
116 - simplicity of addressing
118 - communications protocol
120 Here are some of the advantages of using AFS in more detail:
122 #### <a name="1.05.a Cache Manager"></a> 1.05.a Cache Manager
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.
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).
128 Local caching also significantly reduces the amount of network traffic, improving performance when a cold read is necessary.
130 #### <a name="1.05.b Location independence"></a> 1.05.b Location independence
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.
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.
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.
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.
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.
142 (Actually, the AFS equivalent of "/home" would be /afs/$AFSCELL/home where $AFSCELL is the AFS cellname.)
144 #### <a name="1.05.c Scalability"></a> 1.05.c Scalability
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.
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.
150 #### <a name="1.05.d Improved security"></a> 1.05.d Improved security
152 Firstly, AFS makes use of Kerberos to authenticate users. This improves security for several reasons:
154 - passwords do not pass across the network in plaintext
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 [[[AdminGuide|Main/FurtherReading#AdminGuide]]]).
160 - AFS uses mutual authentication - both the service provider and service requester prove their identities
162 Secondly, AFS uses access control lists (ACLs) to enable users to restrict access to their own directories.
164 #### <a name="1.05.e Single systems image (SS"></a> 1.05.e Single systems image (SSI)
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.
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.
170 In addition, because AFS works well over wide area networks the SSI is also accessible remotely.
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.
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.
178 The following shows a guest in the sf.acme.com AFS cell:
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
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}
190 $ HOME=/afs/ny.acme.com/user/elmer; export HOME # {4}
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:
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).
201 #### <a name="1.05.f Replicated AFS volumes"></a> 1.05.f Replicated AFS volumes
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.
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.
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.
209 #### <a name="1.05.g Improved robustness to s"></a> 1.05.g Improved robustness to server crash
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).
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)).
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.
217 Also, if the AFS configuration has included replicated read-only volumes then alternate fileservers can satisfy requests for files from those volumes.
219 #### <a name="1.05.h "Easy to use" networking"></a> 1.05.h "Easy to use" networking
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.
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.
225 #### <a name="1.05.i Communications protocol"></a> 1.05.i Communications protocol
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 [[[Johnson90|Main/FurtherReading#Johnson90]]]).
229 #### <a name="1.05.j Improved system manageme"></a> 1.05.j Improved system management capability
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).
233 With AFS it is simple to effect changes without having to take systems off-line.
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?
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.
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.
243 This process was repeated until all the fileservers were moved.
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.
247 Finally, the AFS clients were moved - this was noticed!
249 ### <a name="1.06 Which systems is AFS avail"></a> 1.06 Which systems is AFS available for?
251 AFS runs on systems from: HP, Compaq, IBM, SUN, SGI, Apple ([[MacOSX]]) and PCs with flavours of Unix.
253 AFS has been available for Next and DEC (Ultrix).
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).
257 There is a client only implementation "AFS Client for Windows/NT".
259 A page describing the current systems for which AFS is supported may be found at:
261 - <http://www.transarc.com/Support/afs/relversions/platforms.html>
263 There are also ports of AFS done by customers available from Transarc on an "as is" unsupported basis.
265 More information on this can be found at:
267 - <file:///afs/transarc.com/public/afs-contrib/bin/README>
268 - <ftp://ftp.transarc.com/pub/afs-contrib/bin/README>
270 These ports of AFS client code include:
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: <linux-afs-request@mit.edu> <http://www.mit.edu:8008/menelaus/linux-afs/>
275 - [[NetBSD]] - by John Kohl, mailing list: <netbsd-afs@mit.edu>
277 There is some information about AFS on OS/2 at:
279 - <http://www.club.cc.cmu.edu/~jgrande/afsos2.html>
281 The AFS on Linux FAQ may be found at:
283 - <http://www.umlug.umd.edu/linuxafs/>
285 Check out the [[OpenAFS]] and [[Arla]] pages for port avilablity.
287 ### <a name="1.07 What does "ls /afs" displa"></a> 1.07 What does "ls /afs" display in the Internet AFS filetree?
289 Essentially this displays the AFS cells that co-operate in the Internet AFS filetree.
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.
293 The definitive source for this information is:
295 - <file:///afs/transarc.com/service/etc/CellServDB.export>
297 I've included the list of cell names included in it below:
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
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
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)
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
453 This shows different and widespread organizations making use of the Internet AFS filetree.
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.
457 Indeed, there are lots of benefits of using AFS on a local area network without using the WAN capabilities.
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?
461 It improves security.
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.
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").
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.
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.
473 elmer@toontown $ tokens
475 Tokens held by the Cache Manager:
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]
481 Kerberos improves security because a users's password need only be entered once (at klog time).
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.
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>
487 For more detail on this and other Kerberos issues see the faq for Kerberos (posted to news.answers and comp.protocols.kerberos) [[[Jaspan|Main/FurtherReading#Jaspan]]]. (Also, see [[[Miller87|Main/FurtherReading#Miller87]]], [[[Bryant88|Main/FurtherReading#Bryant88]]], [[[Bellovin90|Main/FurtherReading#Bellovin90]]], [[[Steiner88|Main/FurtherReading#Steiner88]]])
489 ### <a name="1.09 Does AFS work over protoco"></a> 1.09 Does AFS work over protocols other than TCP/IP?
491 No. AFS was designed to work over TCP/IP.
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?
495 You can use the native Windows AFS Clients.
497 There is also SAMBA (a SMB server for UNIX).
499 - <http://www.samba.org>
501 There are several ways to integrate AFS with SAMBA. See [[SMBtoAFS]].
503 ### <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?
505 <table border="1" cellpadding="0" cellspacing="0">
508 <th align="center" bgcolor="#99CCCC"><strong> AFS </strong></th>
509 <th align="center" bgcolor="#99CCCC"><strong> NFS </strong></th>
512 <th bgcolor="#99CCCC"><strong> File Access </strong></th>
513 <td> Common name space from all workstations </td>
514 <td> Different file names from different workstations </td>
517 <th bgcolor="#99CCCC"><strong> File Location Tracking </strong></th>
518 <td> Automatic tracking by file system processes and databases </td>
519 <td> Mountpoints to files set by administrators and users </td>
522 <th bgcolor="#99CCCC"><strong> Performance </strong></th>
523 <td> Client caching to reduce network load; callbacks to maintain cache consistency </td>
524 <td> No local disk caching; limited cache consistency </td>
527 <th bgcolor="#99CCCC"><strong> Andrew Benchmark (5 phases, 8 clients) </strong></th>
528 <td> Average time of 210 seconds/client </td>
529 <td> Average time of 280 seconds/client </td>
532 <th bgcolor="#99CCCC"><strong> Scaling capabilities </strong></th>
533 <td> Maintains performance in small and very large installations </td>
534 <td> Best in small to mid-size installations </td>
538 <td> Excellent performance on wide-area configuration </td>
539 <td> Best in local-area configurations </td>
542 <th bgcolor="#99CCCC"><strong> Security </strong></th>
543 <td> Kerberos mutual authentication </td>
544 <td> Security based on unencrypted user ID's </td>
548 <td> Access control lists on directories for user and group access </td>
549 <td> No access control lists </td>
552 <th bgcolor="#99CCCC"><strong> Availability </strong></th>
553 <td> Replicates read-mostly data and AFS system information </td>
554 <td> No replication </td>
557 <th bgcolor="#99CCCC"><strong> Backup Operation </strong></th>
558 <td> No system downtime with specially developed AFS Backup System </td>
559 <td> Standard UNIX backup system </td>
562 <th bgcolor="#99CCCC"><strong> Reconfiguration </strong></th>
563 <td> By volumes (groups of files) </td>
564 <td> Per-file movement </td>
568 <td> No user impact; files remain accessible during moves, and file names do not change </td>
569 <td> Users lose access to files and filenames change (mountpoints need to be reset) </td>
572 <th bgcolor="#99CCCC"><strong> System Management </strong></th>
573 <td> Most tasks performed from any workstation </td>
574 <td> Frequently involves telnet to other workstations </td>
577 <th bgcolor="#99CCCC"><strong> Autonomous Architecture </strong></th>
578 <td> Autonomous administrative units called cells, in addition to file servers and clients </td>
579 <td> File servers and clients </td>
583 <td> No trust required between cells </td>
584 <td> No security distinctions between sites </td>
589 <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>
595 - Some vendors offer more secure versions of NFS but implementations vary. Many NFS ports have no extra security features (such as Kerberos).
597 - 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!
599 - 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:
600 - 