SlideShare ist ein Scribd-Unternehmen logo
1 von 35
Introduction to OpenAFS
Fabrizio Manfred Furuholmen




                              Beolink.org
Agenda                              Beolink.org


            Introduction

            Architecture

            Client

            Administration tasks

            Setup your Cell


                      2

                                       16/02/2012
Introduction                             Beolink.org

 What is a Distributed File system ?


 “A distributed file system takes advantage of the
    interconnected nature of the network by storing
    files on more than one computer in the network
    and making them accessible to all of them..”




                            3

                                             16/02/2012
Introduction                                   Beolink.org

               Andrew File System

   Andrew File System is a distributed file system
   designed to:

       handle terabytes of data
       handle thousands of users
       working in WAN environment




                             4
Introduction       Beolink.org




 AFS is25yearsold !


               5
Introduction                                                 Beolink.org

                     Briefhistoryof a AFS
   1983 Andrew Project started at Carnegie Mellon University (CMU)
   1987 Coda research work begun (based on AFS)
   1988 First use of AFS version 3 (First use of AFS outside CMU)
   1988 Institutional File System project at University of Michigan
   1989 Transarc Corporation founded to commercialize AFS
   1993 Arla project started at KungligaTekniskaHögskolan
   1998 Transarc Corporation becomes wholly owned subsidiary of IBM
   2000 IBM releases OpenAFS as OpenSource (IBM License)
   2000 OpenAFS release version 1.0 based on Transarc 3.6
   2001 OpenAFS release version 1.2 first release with better support of new
    operating system and fix several memory leak
   2005 OpenAFS release version 1.4 with a lot of new feature
   2005 AFS was discontinued from IBM
   2008 U.S. Department of Energy Funds OpenAFS Development
   2010 OpenAFS release version 1.6 (?)
                                      6
Benefits of using AFS                                                 Beolink.org
   Location independence
     User does not need to know which fileserver holds the file, the user only
     needs to know the pathname of a file.

   Scalability
     An architectural goal of the AFS designers was client/server ratios of
     114.000:1 A ratio of 2000:1 has been successfully exceeded at some sites.

   Security
     AFS makes use of Kerberos for mutual authentication, both the service
     provider and the requester prove their identities
     AFS uses access control list (ACLs) to enable users to restrict access to their
     own directories, users can also create groups
     AFS Federation with inter cell grant

   Uniform Namespace
     No matter where users are logged in, they see the same files

   Replicates AFS Volumes
     Frequently accessed data can be read-only replicated on several servers (rw
     with osd version). Client will access the closest volume copy or load balance
     from a different replica
                                            7
Benefits of using AFS                                                Beolink.org
   Improved robustness to server crash
     Clients maintain Local copies of accessed files, replicated read-only volumes
     on alternate fileservers can satisfy requests for a files

   Wide Area Network
     AFS communications protocols is optimized for WAN. Retransmitting only the
     single bad packet in a batch of packets (RPC)

   Improve system management capability
     Configuration changes can be made from any client in the AFS cell
     AFS volumes can move from one server to another without users noticing it

   Operating system independent
     AFS client software runs on many systems (12 platforms)




                                           8
Elements                                               Beolink.org

  Cell

  •Cell is collection of file servers and
   workstation
  •The directories under /afs are
   cells, unique tree
  •Fileserver contains volumes

  Volumes

  •Volumes are "containers" or sets of
   related files and directories
  •Have size limit
  •3 type rw, ro, backup

  Mount Point Directory
                                                Server A
  •Access to a volume is provided through
   a mount point                                                        Server C
  •A mount point is just like a static
   directory                                               Server A+B


                                            9
Architecture        Beolink.org




               10

                       16/02/2012
Consistency                                                    Beolink.org

 “..That notion of callbacks gives OpenAFS a
 much stronger consistency guarantee than
 most other distributed filesystems.”

 Cache Manager
 Client-side caching lets clients access data from their local cache without
 going across the network for every access.


 Callbacks
 OpenAFS uses callbacks, which are a promise from the file server to the
 client that if the file changes, the server will contact the client to tell the
 client to invalidate the cached contents.


                                        11
Write operation                          Beolink.org

 Example write operation client side

  1.   create file rpc
  2.   write chunks into cache
       (interrupted by store_data
       RPC)
  3.   read from cache
  4.   transfer over network
  5.   write to /vicepXX




                                    12
Write operation                         Beolink.org

 Example write operation server side

  1 Create file
  2 Check metadata, permission, quota
       and return file path
  3 write file into /vicepXX
  4 Update meta data on server
  5 Update db




                                   13
Client side            Beolink.org




              Client



                14
Installation                                     Beolink.org

                    Supported clients
  AIX 5 and 6 (though 6.3)
   FreeBSD 7, 8 and current
   HP-UX 11.0, 11i v1 and v2
  Irix 6.5
   Linux 2.2, 2.4, 2.6 (ia32, ia64, x86_64, ppc, ppc64, arm,
                               sparc, sparc64, s390, s390x)
  MacOS 10.3, 10.4, 10.5, 10.6 (including 64 bit).
  OpenBSD 4.4, 4.5, 4.6, 4.7.
   Solaris 2.6, 7, 8, 9, 10, 11 (and OpenSolaris)
   Also Windows ...


                               15
Installation                                                   Beolink.org

                            Configuration

Download and install client package and kernel module

 Configure krb5 if you use it

 Configure AFS Files
   ThisCell : the name of your cell
   CellServDB : cell list ( of the world)
   cacheinfo : cache configuration (dimension and location)




                                       16
Authentication                                                                         Beolink.org
Authentication Kerberos 5
   kinit, retrieve a kerberos ticket
   aklog, convert the krb5 ticket in afs token

 Authentication Kaserver
   klog, retrieve a afs token

 Token operations                       Ticket cache: FILE:/tmp/krb5cc_0
   klist, list tikets                   Default principal: manfred/admin@FARM.ZEROPIU.COM

                                         Valid starting Expires       Service principal
                                         08/16/10 16:03:46 08/17/10 16:03:46
                                         krbtgt/FARM.ZEROPIU.COM@FARM.ZEROPIU.COM
                                         08/16/10 16:03:54 08/17/10 16:03:46 afs/farm.zeropiu.com@FARM.ZEROPIU.COM

    tokens, list afs token
                                         Tokens held by the Cache Manager:

   kdestroy, ticket destroy             User's (AFS ID 15) tokens for afs@farm.zeropiu.com [Expires Aug 17 16:03]
   unlog, token destroy

Don’t Forget
    Credentials expire after some time
    AFS service ticket is in the kernel memory
                                               17
Access rights                                                   Beolink.org
  ACLs are only for directories ! (Files soon)

   ACL inheritance, AFS copies ACL on a parent directory over to a
  new subdirectory at the time of creation

   ACL awareness, not many commands are aware of ACLs (copy)


  ACL                   Permission
  lookup (l)             List contents of directory
  insert (i)            Add Files or directories
  delete (d)             Delete entries in directory
  administer (a)        Manipulate ACL for directory
  read (r)               Read file content, query file status
  write (r)              Write file content, change Unix permissions
  look (k)              Full file advisory lock
                                     18
Server side             Beolink.org




              Servers



                 19
Architecture        Beolink.org




               20

                       16/02/2012
Process                                      Beolink.org


   Server Process   Function
   bosserver        Basic OverSeer Server
   fileserver       Serves the files
   volserver        Serves volume data
   vlserver         Volume location server
   ptserver         Protection server
   buserver         Backup server
   upserver         Update server
   upclient         Update client




                             21
Architecture                                   Beolink.org

AFS ServersTypes
   Fileserver machine
     file storage

   Database server machine
       File and Volume localization
       Groups administration
       Authentication provider
       Backup database

   Binary distribution
     Master server for afs binary (specific
      architecture)

   System control machine
     Time server
     AFS configuration master
Commands                    Beolink.org


                VOS




   PTS
           Administration        FS
            Commands

                BOS

                 23
FS                                                                                                 Beolink.org
fs: Commands are:
apropos          search by help text
checkservers check local cell's servers
                                                          fs command
checkvolumes check volumeID/name mappings
cleanacl        clean up access control list
copyacl
diskfree
                copy access control list
               show server disk space usage
                                                           Cache management administration
examine
exportafs
                  display file/volume status
                 enable/disable translators to AFS
                                                           Quota management
flush
flushmount
             flush file from cache
                   flush mount symlink from cache
                                                          ACLs management
flushvolume flush all data in volume
getcacheparms get cache usage info
                                                           Mount management on the AFS path
getcalleraccess list callers access
getcellstatus get cell status
getclientaddrs get client network interface addresses
getcrypt       get cache manager encryption flag
getfid       get fid for file(s)                        setcachesize set cache size
getserverprefs get server ranks                         setcbaddr        configure callback connection address
help         get help on commands
listacl     list access control list
                                                        setcell     set cell status
listaliases list configured cell aliases                setclientaddrs set client network interface addresses
listcells    list configured cells                      setcrypt      set cache manager encryption flag
listquota      list volume quota                        setquota       set volume quota
lsmount          list mount point                       setserverprefs set server ranks
messages            control Cache Manager messages
mkmount             make mount point
                                                        setvol      set volume status
newalias         configure new cell alias               storebehind store to server after file close
newcell         configure new cell                      sysname          get/set sysname (i.e. @sys) value
quota          show volume quota usage                  uuid        manage the UUID for the cache manager
rmmount            remove mount point                   whereis        list file's location
rxstatpeer       Manage per peer RX statistics
rxstatproc       Manage per process RX statistics
                                                        whichcell      list file's cell
setacl        set access control list                   wscell       list workstation's cell
setcachesize set cache size
                                                               24
Administration                                        Beolink.org

 BOS Command

  Process creation

  Process administration (start, stop, status ...)

  Manage Users Administrator for process

  Volume check




                                    25
Administration                      Beolink.org

  VOS Command

   Create volume

   Volume Replication

   Volume Information

   Move volume


 DON’T FORGET THERE ARE DIFFERENT PATH FOR RW
 and R0
 RW = /afs/cell/.mount_point
 RO = /afs/cell/mount_point

                               26
Administration                               Beolink.org

PTS Command

 Create id for users and groups
    Users have a positive number
    Groups use negative number


 Management of Group/User membership

 Management metadata (group quota, flags)


IMPORTANT
 Users can create their own groups
 Special groups
   system:anyuser
   system:authuser
   system:administrators

                                    27
Limits            Beolink.org




         Limits



           28
Limits                                                    Beolink.org
 General Limits
    OpenAFS can support a maximum of 114.000 clients per
       server
    tmpfs no work as AFS Cache, (ramdisk work)
     Max 255 partition per server (/vicepa-/vicepiv), no limits in
       partition size
     Max 4,294,967,295 volumes per partition (this a limit of
       VLDB),
     Max file limit per directory is 64,000 files (less than 16
       characters).


  Windows Limits
     No integration on Microsoft DFS
     No native implementation



                                    29
Limits                                        Beolink.org

 AFS does not allow certain type of files:
     Pipes
     Device files
     Socket

  AFS cannot do byte range locking on all platform
     Client has working byte rage locks
     Full file locks on the server


 ACLs works on directories not files (yes)
  AFS does not support mandatory file locks
  DES Encryption for file transport


                                   30
Weaknesses                                             Beolink.org


 AFS is not so well suited for these situation
     No reuse of read data
     Access to file larger than cache
     Mostly write access
     Larger numbers of directory entry changes from multiple clients




                                   31
Introduction                              Beolink.org


                      Full circle

 Storage is cheap.

 Managing storage is more expensive.

Wide access to data is still critical.

Today and into the future.




                                32
Thanksto...                                               Beolink.org


   Alf Watchsmann
   for usage of “Introduction to AFS and its Best Practices”
   Please read the original presentation for a complete overview
   http://workshop.openafs.org/afsbpw10/

   For more information read Documentation on www.openafs.org

   Other presentation are available on www.beolink.org




                                    33
I look forwardto meeting you…                          Beolink.org

                XVII European AFS meeting 2011
                          HAMBURG – GERMANY



            Who should attend:
                Everyone interested in deploying a globally accessible
                 file system
                Everyone interested in learning more about real
                 world usage of Kerberos authentication in single
                 realm and federated single sign-on environments
                Everyone who wants to share their knowledge and
                 experience with other members of the AFS and
                 Kerberos communities
                Everyone who wants to find out the latest
                 developments affecting AFS and Kerberos

            More Info: http://www.openafs.org/
                                34

                                                              16/02/2012
Thank you

manfred@freemails.ch




                       Beolink.org

Weitere ähnliche Inhalte

Was ist angesagt?

How to Deploy WSO2 Enterprise Integrator in Containers
How to Deploy WSO2 Enterprise Integrator in ContainersHow to Deploy WSO2 Enterprise Integrator in Containers
How to Deploy WSO2 Enterprise Integrator in ContainersWSO2
 
Siebel ip17
Siebel ip17Siebel ip17
Siebel ip17VinayMD2
 
Always on in sql server 2017
Always on in sql server 2017Always on in sql server 2017
Always on in sql server 2017Gianluca Hotz
 
WebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt PackWebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt PackDLT Solutions
 
Sentry - An Introduction
Sentry - An Introduction Sentry - An Introduction
Sentry - An Introduction Alexander Alten
 
The Ldap Protocol
The Ldap ProtocolThe Ldap Protocol
The Ldap ProtocolGlen Plantz
 
IBM MQ Online Tutorials
IBM MQ Online TutorialsIBM MQ Online Tutorials
IBM MQ Online TutorialsBigClasses.com
 
MVC ppt presentation
MVC ppt presentationMVC ppt presentation
MVC ppt presentationBhavin Shah
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationRevelation Technologies
 
Siebel Web Architecture
Siebel Web ArchitectureSiebel Web Architecture
Siebel Web ArchitectureRoman Agaev
 
Oracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsOracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsJames Bayer
 
MongoDB WiredTiger Internals: Journey To Transactions
  MongoDB WiredTiger Internals: Journey To Transactions  MongoDB WiredTiger Internals: Journey To Transactions
MongoDB WiredTiger Internals: Journey To TransactionsM Malai
 
Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19Nelson Calero
 
Adobe AEM core components
Adobe AEM core componentsAdobe AEM core components
Adobe AEM core componentsLokesh BS
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Glen Hawkins
 
FSLogix 2.0 Explained 20150611
FSLogix 2.0 Explained   20150611FSLogix 2.0 Explained   20150611
FSLogix 2.0 Explained 20150611FSLogix
 

Was ist angesagt? (20)

How to Deploy WSO2 Enterprise Integrator in Containers
How to Deploy WSO2 Enterprise Integrator in ContainersHow to Deploy WSO2 Enterprise Integrator in Containers
How to Deploy WSO2 Enterprise Integrator in Containers
 
Siebel ip17
Siebel ip17Siebel ip17
Siebel ip17
 
Always on in sql server 2017
Always on in sql server 2017Always on in sql server 2017
Always on in sql server 2017
 
WebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt PackWebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt Pack
 
Sentry - An Introduction
Sentry - An Introduction Sentry - An Introduction
Sentry - An Introduction
 
The Ldap Protocol
The Ldap ProtocolThe Ldap Protocol
The Ldap Protocol
 
WCF
WCFWCF
WCF
 
IBM MQ Online Tutorials
IBM MQ Online TutorialsIBM MQ Online Tutorials
IBM MQ Online Tutorials
 
MVC ppt presentation
MVC ppt presentationMVC ppt presentation
MVC ppt presentation
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c Administration
 
Siebel Web Architecture
Siebel Web ArchitectureSiebel Web Architecture
Siebel Web Architecture
 
Google File System
Google File SystemGoogle File System
Google File System
 
Oracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsOracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic Concepts
 
Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)
 
MongoDB WiredTiger Internals: Journey To Transactions
  MongoDB WiredTiger Internals: Journey To Transactions  MongoDB WiredTiger Internals: Journey To Transactions
MongoDB WiredTiger Internals: Journey To Transactions
 
Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19
 
WSDL
WSDLWSDL
WSDL
 
Adobe AEM core components
Adobe AEM core componentsAdobe AEM core components
Adobe AEM core components
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive
 
FSLogix 2.0 Explained 20150611
FSLogix 2.0 Explained   20150611FSLogix 2.0 Explained   20150611
FSLogix 2.0 Explained 20150611
 

Andere mochten auch

Chapter 11d coordination agreement
Chapter 11d coordination agreementChapter 11d coordination agreement
Chapter 11d coordination agreementAbDul ThaYyal
 
Distributed Event Routing in Publish/Subscribe Systems
Distributed Event Routing in Publish/Subscribe SystemsDistributed Event Routing in Publish/Subscribe Systems
Distributed Event Routing in Publish/Subscribe SystemsRoberto Baldoni
 
Use Distributed Filesystem as a Storage Tier
Use Distributed Filesystem as a Storage TierUse Distributed Filesystem as a Storage Tier
Use Distributed Filesystem as a Storage TierManfred Furuholmen
 
Chapter 15 distributed mm systems
Chapter 15 distributed mm systemsChapter 15 distributed mm systems
Chapter 15 distributed mm systemsAbDul ThaYyal
 
Distributed File Systems
Distributed File SystemsDistributed File Systems
Distributed File Systemsawesomesos
 
Chapter 11c coordination agreement
Chapter 11c coordination agreementChapter 11c coordination agreement
Chapter 11c coordination agreementAbDul ThaYyal
 
NETWORK FILE SYSTEM
NETWORK FILE SYSTEMNETWORK FILE SYSTEM
NETWORK FILE SYSTEMRoshan Kumar
 
Chapter 14 replication
Chapter 14 replicationChapter 14 replication
Chapter 14 replicationAbDul ThaYyal
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)udamale
 

Andere mochten auch (12)

AFS case study
AFS case studyAFS case study
AFS case study
 
Chapter 11d coordination agreement
Chapter 11d coordination agreementChapter 11d coordination agreement
Chapter 11d coordination agreement
 
Distributed Event Routing in Publish/Subscribe Systems
Distributed Event Routing in Publish/Subscribe SystemsDistributed Event Routing in Publish/Subscribe Systems
Distributed Event Routing in Publish/Subscribe Systems
 
Use Distributed Filesystem as a Storage Tier
Use Distributed Filesystem as a Storage TierUse Distributed Filesystem as a Storage Tier
Use Distributed Filesystem as a Storage Tier
 
Chapter 15 distributed mm systems
Chapter 15 distributed mm systemsChapter 15 distributed mm systems
Chapter 15 distributed mm systems
 
Distributed File Systems
Distributed File SystemsDistributed File Systems
Distributed File Systems
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Chapter 11c coordination agreement
Chapter 11c coordination agreementChapter 11c coordination agreement
Chapter 11c coordination agreement
 
Chapter 13
Chapter 13Chapter 13
Chapter 13
 
NETWORK FILE SYSTEM
NETWORK FILE SYSTEMNETWORK FILE SYSTEM
NETWORK FILE SYSTEM
 
Chapter 14 replication
Chapter 14 replicationChapter 14 replication
Chapter 14 replication
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)
 

Ähnlich wie Introduction to OpenAFS Architecture and Components

Presentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPresentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPrakriti Dubey
 
Distributed System by Pratik Tambekar
Distributed System by Pratik TambekarDistributed System by Pratik Tambekar
Distributed System by Pratik TambekarPratik Tambekar
 
OSDC 2010 | Use Distributed Filesystem as a Storage Tier by Fabrizio Manfred
OSDC 2010 | Use Distributed Filesystem as a Storage Tier by Fabrizio ManfredOSDC 2010 | Use Distributed Filesystem as a Storage Tier by Fabrizio Manfred
OSDC 2010 | Use Distributed Filesystem as a Storage Tier by Fabrizio ManfredNETWAYS
 
Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systemsAbDul ThaYyal
 
Effective Access Controls with Directories, Services and Sharepoints
Effective Access Controls with Directories, Services and SharepointsEffective Access Controls with Directories, Services and Sharepoints
Effective Access Controls with Directories, Services and SharepointsBronson Tubb
 
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)Amazon Web Services
 
Pithos - Architecture and .NET Technologies
Pithos - Architecture and .NET TechnologiesPithos - Architecture and .NET Technologies
Pithos - Architecture and .NET TechnologiesPanagiotis Kanavos
 
New Oracle Infrastructure2
New Oracle Infrastructure2New Oracle Infrastructure2
New Oracle Infrastructure2markleeuw
 
Architecture of the Upcoming OrangeFS v3 Distributed Parallel File System
Architecture of the Upcoming OrangeFS v3 Distributed Parallel File SystemArchitecture of the Upcoming OrangeFS v3 Distributed Parallel File System
Architecture of the Upcoming OrangeFS v3 Distributed Parallel File SystemAll Things Open
 
The NFS Version 4 Protocol
The NFS Version 4 ProtocolThe NFS Version 4 Protocol
The NFS Version 4 ProtocolKelum Senanayake
 
A Survey of Container Security in 2016: A Security Update on Container Platforms
A Survey of Container Security in 2016: A Security Update on Container PlatformsA Survey of Container Security in 2016: A Security Update on Container Platforms
A Survey of Container Security in 2016: A Security Update on Container PlatformsSalman Baset
 
Distributed file systems
Distributed file systemsDistributed file systems
Distributed file systemsSri Prasanna
 
Deep Dive on Amazon EFS | AWS Public Sector Summit 2017
Deep Dive on Amazon EFS | AWS Public Sector Summit 2017Deep Dive on Amazon EFS | AWS Public Sector Summit 2017
Deep Dive on Amazon EFS | AWS Public Sector Summit 2017Amazon Web Services
 
Deep Dive on Elastic File System - February 2017 AWS Online Tech Talks
Deep Dive on Elastic File System - February 2017 AWS Online Tech TalksDeep Dive on Elastic File System - February 2017 AWS Online Tech Talks
Deep Dive on Elastic File System - February 2017 AWS Online Tech TalksAmazon Web Services
 

Ähnlich wie Introduction to OpenAFS Architecture and Components (20)

Presentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPresentation on nfs,afs,vfs
Presentation on nfs,afs,vfs
 
Libra Library OS
Libra Library OSLibra Library OS
Libra Library OS
 
Inexpensive storage
Inexpensive storageInexpensive storage
Inexpensive storage
 
Distributed System by Pratik Tambekar
Distributed System by Pratik TambekarDistributed System by Pratik Tambekar
Distributed System by Pratik Tambekar
 
Pnfs
PnfsPnfs
Pnfs
 
OSDC 2010 | Use Distributed Filesystem as a Storage Tier by Fabrizio Manfred
OSDC 2010 | Use Distributed Filesystem as a Storage Tier by Fabrizio ManfredOSDC 2010 | Use Distributed Filesystem as a Storage Tier by Fabrizio Manfred
OSDC 2010 | Use Distributed Filesystem as a Storage Tier by Fabrizio Manfred
 
Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systems
 
Effective Access Controls with Directories, Services and Sharepoints
Effective Access Controls with Directories, Services and SharepointsEffective Access Controls with Directories, Services and Sharepoints
Effective Access Controls with Directories, Services and Sharepoints
 
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
 
Pithos - Architecture and .NET Technologies
Pithos - Architecture and .NET TechnologiesPithos - Architecture and .NET Technologies
Pithos - Architecture and .NET Technologies
 
New Oracle Infrastructure2
New Oracle Infrastructure2New Oracle Infrastructure2
New Oracle Infrastructure2
 
Architecture of the Upcoming OrangeFS v3 Distributed Parallel File System
Architecture of the Upcoming OrangeFS v3 Distributed Parallel File SystemArchitecture of the Upcoming OrangeFS v3 Distributed Parallel File System
Architecture of the Upcoming OrangeFS v3 Distributed Parallel File System
 
The NFS Version 4 Protocol
The NFS Version 4 ProtocolThe NFS Version 4 Protocol
The NFS Version 4 Protocol
 
A Survey of Container Security in 2016: A Security Update on Container Platforms
A Survey of Container Security in 2016: A Security Update on Container PlatformsA Survey of Container Security in 2016: A Security Update on Container Platforms
A Survey of Container Security in 2016: A Security Update on Container Platforms
 
Expo ciberseguridad
Expo ciberseguridadExpo ciberseguridad
Expo ciberseguridad
 
cibers
ciberscibers
cibers
 
Distributed file systems
Distributed file systemsDistributed file systems
Distributed file systems
 
Kosmos Filesystem
Kosmos FilesystemKosmos Filesystem
Kosmos Filesystem
 
Deep Dive on Amazon EFS | AWS Public Sector Summit 2017
Deep Dive on Amazon EFS | AWS Public Sector Summit 2017Deep Dive on Amazon EFS | AWS Public Sector Summit 2017
Deep Dive on Amazon EFS | AWS Public Sector Summit 2017
 
Deep Dive on Elastic File System - February 2017 AWS Online Tech Talks
Deep Dive on Elastic File System - February 2017 AWS Online Tech TalksDeep Dive on Elastic File System - February 2017 AWS Online Tech Talks
Deep Dive on Elastic File System - February 2017 AWS Online Tech Talks
 

Mehr von Manfred Furuholmen (17)

Pisa
PisaPisa
Pisa
 
Samba4 Introduction
Samba4 IntroductionSamba4 Introduction
Samba4 Introduction
 
Restfs internals
Restfs internalsRestfs internals
Restfs internals
 
Introduction to message_queue
Introduction to message_queueIntroduction to message_queue
Introduction to message_queue
 
Restfs
RestfsRestfs
Restfs
 
Winbind as Identity Management Connector
Winbind as Identity Management ConnectorWinbind as Identity Management Connector
Winbind as Identity Management Connector
 
Managing OpenAFS users with OpenIDM
Managing OpenAFS users with OpenIDMManaging OpenAFS users with OpenIDM
Managing OpenAFS users with OpenIDM
 
Afs manager
Afs managerAfs manager
Afs manager
 
Pt server ng
Pt server ngPt server ng
Pt server ng
 
Best Practices to create High Load Websites
Best Practices to create High Load WebsitesBest Practices to create High Load Websites
Best Practices to create High Load Websites
 
Be lazy... make automation
Be lazy... make automationBe lazy... make automation
Be lazy... make automation
 
Disaster recovery
Disaster recoveryDisaster recovery
Disaster recovery
 
Domestic cloud
Domestic cloudDomestic cloud
Domestic cloud
 
Samba management Console
Samba management ConsoleSamba management Console
Samba management Console
 
Link Samba to Cloud Storage
Link Samba to Cloud StorageLink Samba to Cloud Storage
Link Samba to Cloud Storage
 
Samba as a gateway to OpenAFS
Samba as a gateway to OpenAFSSamba as a gateway to OpenAFS
Samba as a gateway to OpenAFS
 
Samba distributed env
Samba distributed envSamba distributed env
Samba distributed env
 

Kürzlich hochgeladen

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Kürzlich hochgeladen (20)

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

Introduction to OpenAFS Architecture and Components

  • 1. Introduction to OpenAFS Fabrizio Manfred Furuholmen Beolink.org
  • 2. Agenda Beolink.org  Introduction  Architecture  Client  Administration tasks  Setup your Cell 2 16/02/2012
  • 3. Introduction Beolink.org What is a Distributed File system ? “A distributed file system takes advantage of the interconnected nature of the network by storing files on more than one computer in the network and making them accessible to all of them..” 3 16/02/2012
  • 4. Introduction Beolink.org Andrew File System Andrew File System is a distributed file system designed to:  handle terabytes of data  handle thousands of users  working in WAN environment 4
  • 5. Introduction Beolink.org AFS is25yearsold ! 5
  • 6. Introduction Beolink.org Briefhistoryof a AFS  1983 Andrew Project started at Carnegie Mellon University (CMU)  1987 Coda research work begun (based on AFS)  1988 First use of AFS version 3 (First use of AFS outside CMU)  1988 Institutional File System project at University of Michigan  1989 Transarc Corporation founded to commercialize AFS  1993 Arla project started at KungligaTekniskaHögskolan  1998 Transarc Corporation becomes wholly owned subsidiary of IBM  2000 IBM releases OpenAFS as OpenSource (IBM License)  2000 OpenAFS release version 1.0 based on Transarc 3.6  2001 OpenAFS release version 1.2 first release with better support of new operating system and fix several memory leak  2005 OpenAFS release version 1.4 with a lot of new feature  2005 AFS was discontinued from IBM  2008 U.S. Department of Energy Funds OpenAFS Development  2010 OpenAFS release version 1.6 (?) 6
  • 7. Benefits of using AFS Beolink.org  Location independence User does not need to know which fileserver holds the file, the user only needs to know the pathname of a file.  Scalability An architectural goal of the AFS designers was client/server ratios of 114.000:1 A ratio of 2000:1 has been successfully exceeded at some sites.  Security AFS makes use of Kerberos for mutual authentication, both the service provider and the requester prove their identities AFS uses access control list (ACLs) to enable users to restrict access to their own directories, users can also create groups AFS Federation with inter cell grant  Uniform Namespace No matter where users are logged in, they see the same files  Replicates AFS Volumes Frequently accessed data can be read-only replicated on several servers (rw with osd version). Client will access the closest volume copy or load balance from a different replica 7
  • 8. Benefits of using AFS Beolink.org  Improved robustness to server crash Clients maintain Local copies of accessed files, replicated read-only volumes on alternate fileservers can satisfy requests for a files  Wide Area Network AFS communications protocols is optimized for WAN. Retransmitting only the single bad packet in a batch of packets (RPC)  Improve system management capability Configuration changes can be made from any client in the AFS cell AFS volumes can move from one server to another without users noticing it  Operating system independent AFS client software runs on many systems (12 platforms) 8
  • 9. Elements Beolink.org Cell •Cell is collection of file servers and workstation •The directories under /afs are cells, unique tree •Fileserver contains volumes Volumes •Volumes are "containers" or sets of related files and directories •Have size limit •3 type rw, ro, backup Mount Point Directory Server A •Access to a volume is provided through a mount point Server C •A mount point is just like a static directory Server A+B 9
  • 10. Architecture Beolink.org 10 16/02/2012
  • 11. Consistency Beolink.org “..That notion of callbacks gives OpenAFS a much stronger consistency guarantee than most other distributed filesystems.” Cache Manager Client-side caching lets clients access data from their local cache without going across the network for every access. Callbacks OpenAFS uses callbacks, which are a promise from the file server to the client that if the file changes, the server will contact the client to tell the client to invalidate the cached contents. 11
  • 12. Write operation Beolink.org Example write operation client side 1. create file rpc 2. write chunks into cache (interrupted by store_data RPC) 3. read from cache 4. transfer over network 5. write to /vicepXX 12
  • 13. Write operation Beolink.org Example write operation server side 1 Create file 2 Check metadata, permission, quota and return file path 3 write file into /vicepXX 4 Update meta data on server 5 Update db 13
  • 14. Client side Beolink.org Client 14
  • 15. Installation Beolink.org Supported clients AIX 5 and 6 (though 6.3)  FreeBSD 7, 8 and current  HP-UX 11.0, 11i v1 and v2 Irix 6.5  Linux 2.2, 2.4, 2.6 (ia32, ia64, x86_64, ppc, ppc64, arm, sparc, sparc64, s390, s390x) MacOS 10.3, 10.4, 10.5, 10.6 (including 64 bit). OpenBSD 4.4, 4.5, 4.6, 4.7.  Solaris 2.6, 7, 8, 9, 10, 11 (and OpenSolaris)  Also Windows ... 15
  • 16. Installation Beolink.org Configuration Download and install client package and kernel module  Configure krb5 if you use it  Configure AFS Files ThisCell : the name of your cell CellServDB : cell list ( of the world) cacheinfo : cache configuration (dimension and location) 16
  • 17. Authentication Beolink.org Authentication Kerberos 5 kinit, retrieve a kerberos ticket aklog, convert the krb5 ticket in afs token  Authentication Kaserver klog, retrieve a afs token  Token operations Ticket cache: FILE:/tmp/krb5cc_0 klist, list tikets Default principal: manfred/admin@FARM.ZEROPIU.COM Valid starting Expires Service principal 08/16/10 16:03:46 08/17/10 16:03:46 krbtgt/FARM.ZEROPIU.COM@FARM.ZEROPIU.COM 08/16/10 16:03:54 08/17/10 16:03:46 afs/farm.zeropiu.com@FARM.ZEROPIU.COM  tokens, list afs token Tokens held by the Cache Manager: kdestroy, ticket destroy User's (AFS ID 15) tokens for afs@farm.zeropiu.com [Expires Aug 17 16:03] unlog, token destroy Don’t Forget  Credentials expire after some time  AFS service ticket is in the kernel memory 17
  • 18. Access rights Beolink.org ACLs are only for directories ! (Files soon)  ACL inheritance, AFS copies ACL on a parent directory over to a new subdirectory at the time of creation  ACL awareness, not many commands are aware of ACLs (copy) ACL Permission lookup (l) List contents of directory insert (i) Add Files or directories delete (d) Delete entries in directory administer (a) Manipulate ACL for directory read (r) Read file content, query file status write (r) Write file content, change Unix permissions look (k) Full file advisory lock 18
  • 19. Server side Beolink.org Servers 19
  • 20. Architecture Beolink.org 20 16/02/2012
  • 21. Process Beolink.org Server Process Function bosserver Basic OverSeer Server fileserver Serves the files volserver Serves volume data vlserver Volume location server ptserver Protection server buserver Backup server upserver Update server upclient Update client 21
  • 22. Architecture Beolink.org AFS ServersTypes  Fileserver machine  file storage  Database server machine  File and Volume localization  Groups administration  Authentication provider  Backup database  Binary distribution  Master server for afs binary (specific architecture)  System control machine  Time server  AFS configuration master
  • 23. Commands Beolink.org VOS PTS Administration FS Commands BOS 23
  • 24. FS Beolink.org fs: Commands are: apropos search by help text checkservers check local cell's servers fs command checkvolumes check volumeID/name mappings cleanacl clean up access control list copyacl diskfree copy access control list show server disk space usage  Cache management administration examine exportafs display file/volume status enable/disable translators to AFS  Quota management flush flushmount flush file from cache flush mount symlink from cache ACLs management flushvolume flush all data in volume getcacheparms get cache usage info  Mount management on the AFS path getcalleraccess list callers access getcellstatus get cell status getclientaddrs get client network interface addresses getcrypt get cache manager encryption flag getfid get fid for file(s) setcachesize set cache size getserverprefs get server ranks setcbaddr configure callback connection address help get help on commands listacl list access control list setcell set cell status listaliases list configured cell aliases setclientaddrs set client network interface addresses listcells list configured cells setcrypt set cache manager encryption flag listquota list volume quota setquota set volume quota lsmount list mount point setserverprefs set server ranks messages control Cache Manager messages mkmount make mount point setvol set volume status newalias configure new cell alias storebehind store to server after file close newcell configure new cell sysname get/set sysname (i.e. @sys) value quota show volume quota usage uuid manage the UUID for the cache manager rmmount remove mount point whereis list file's location rxstatpeer Manage per peer RX statistics rxstatproc Manage per process RX statistics whichcell list file's cell setacl set access control list wscell list workstation's cell setcachesize set cache size 24
  • 25. Administration Beolink.org BOS Command  Process creation  Process administration (start, stop, status ...)  Manage Users Administrator for process  Volume check 25
  • 26. Administration Beolink.org VOS Command  Create volume  Volume Replication  Volume Information  Move volume DON’T FORGET THERE ARE DIFFERENT PATH FOR RW and R0 RW = /afs/cell/.mount_point RO = /afs/cell/mount_point 26
  • 27. Administration Beolink.org PTS Command  Create id for users and groups  Users have a positive number  Groups use negative number  Management of Group/User membership  Management metadata (group quota, flags) IMPORTANT  Users can create their own groups  Special groups system:anyuser system:authuser system:administrators 27
  • 28. Limits Beolink.org Limits 28
  • 29. Limits Beolink.org General Limits OpenAFS can support a maximum of 114.000 clients per server tmpfs no work as AFS Cache, (ramdisk work)  Max 255 partition per server (/vicepa-/vicepiv), no limits in partition size  Max 4,294,967,295 volumes per partition (this a limit of VLDB),  Max file limit per directory is 64,000 files (less than 16 characters).  Windows Limits  No integration on Microsoft DFS  No native implementation 29
  • 30. Limits Beolink.org AFS does not allow certain type of files:  Pipes  Device files  Socket  AFS cannot do byte range locking on all platform  Client has working byte rage locks  Full file locks on the server ACLs works on directories not files (yes)  AFS does not support mandatory file locks  DES Encryption for file transport 30
  • 31. Weaknesses Beolink.org AFS is not so well suited for these situation  No reuse of read data  Access to file larger than cache  Mostly write access  Larger numbers of directory entry changes from multiple clients 31
  • 32. Introduction Beolink.org Full circle  Storage is cheap.  Managing storage is more expensive. Wide access to data is still critical. Today and into the future. 32
  • 33. Thanksto... Beolink.org Alf Watchsmann for usage of “Introduction to AFS and its Best Practices” Please read the original presentation for a complete overview http://workshop.openafs.org/afsbpw10/ For more information read Documentation on www.openafs.org Other presentation are available on www.beolink.org 33
  • 34. I look forwardto meeting you… Beolink.org XVII European AFS meeting 2011 HAMBURG – GERMANY Who should attend:  Everyone interested in deploying a globally accessible file system  Everyone interested in learning more about real world usage of Kerberos authentication in single realm and federated single sign-on environments  Everyone who wants to share their knowledge and experience with other members of the AFS and Kerberos communities  Everyone who wants to find out the latest developments affecting AFS and Kerberos More Info: http://www.openafs.org/ 34 16/02/2012

Hinweis der Redaktion

  1. Than the first question is .. With this explanation could be useful for a data center .. What do you think ?
  2. Now we see how the information is archive,Volumes are similar to logical volume, the quota work as a quota and you can expand as you want, depend on the underline filesystem sizeYou can move volume wheterever you want, you can replicate volume , unfortunatly the read only copy is more a snapshoot .. Real tiem replicaYou have a specific command for handle syncronization btw volume
  3. We have 2 types of services, one is name database and it is a collection of database (the name probably give you some ) and the other one is the file server also in this case .. You can understand the function. In the databae server you have 4 service, one for search and lookup the data, your information are spread around many server how can understand where is it ? Simple you use the Volume location service, this service give you the server where the information are sotred.Another service is the ptserver, it is a database for handle mapping btw id and user name and the same for groups. It also contain the group owner and member of a specific groupBu Server is the database with the information on last backup and some other related information for backup serviceThe last is deprecated, it is a special version of kerberos 4 now you can use a standard kerberos 5This is for the db server, on the other hand we have file server, witch read and save the data on the specific partition.OpenAFS is a set of file in standard file system, the block are handle with a map of inode of the partition, for this reason it is much better use separeted partitionLast component, is the client, on the client you have a kernel module and cache manager, with kerberos ticket all your request are autheticated, and handle by kernel, the cache manager controll and handle all the entry of the cche .OpenAFS works with RPC and callback that means the file server know you have a copy of a file, if the file change the fileserver break the callback to users with this mecanisim the cache is not a timer cache but a coherent.. And you have reduce the network traffic
  4. We have 2 types of services, one is name database and it is a collection of database (the name probably give you some ) and the other one is the file server also in this case .. You can understand the function. In the databae server you have 4 service, one for search and lookup the data, your information are spread around many server how can understand where is it ? Simple you use the Volume location service, this service give you the server where the information are sotred.Another service is the ptserver, it is a database for handle mapping btw id and user name and the same for groups. It also contain the group owner and member of a specific groupBu Server is the database with the information on last backup and some other related information for backup serviceThe last is deprecated, it is a special version of kerberos 4 now you can use a standard kerberos 5This is for the db server, on the other hand we have file server, witch read and save the data on the specific partition.OpenAFS is a set of file in standard file system, the block are handle with a map of inode of the partition, for this reason it is much better use separeted partitionLast component, is the client, on the client you have a kernel module and cache manager, with kerberos ticket all your request are autheticated, and handle by kernel, the cache manager controll and handle all the entry of the cche .OpenAFS works with RPC and callback that means the file server know you have a copy of a file, if the file change the fileserver break the callback to users with this mecanisim the cache is not a timer cache but a coherent.. And you have reduce the network traffic