SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

File replication
File replicationFile replication
File replicationKlawal13
 
Naming Entities and Locating Mobile Entities
Naming Entities and Locating Mobile EntitiesNaming Entities and Locating Mobile Entities
Naming Entities and Locating Mobile EntitiesRajat Kumar
 
Distributed File Systems
Distributed File Systems Distributed File Systems
Distributed File Systems Maurvi04
 
Lecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networksLecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networksChandra Meena
 
Introduction to distributed file systems
Introduction to distributed file systemsIntroduction to distributed file systems
Introduction to distributed file systemsViet-Trung TRAN
 
Wireless LAN technologies
Wireless LAN technologiesWireless LAN technologies
Wireless LAN technologiesbalasubramani p
 
Distributed file system
Distributed file systemDistributed file system
Distributed file systemAnamika Singh
 
TCP over wireless slides
TCP over wireless slidesTCP over wireless slides
TCP over wireless slidesMahesh Rajawat
 
Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating SystemsNitish Gulati
 
Directory and discovery services
Directory and discovery servicesDirectory and discovery services
Directory and discovery servicesRamchandraRegmi
 
Andrew File System
Andrew File SystemAndrew File System
Andrew File SystemAshish KC
 
Eucalyptus, Nimbus & OpenNebula
Eucalyptus, Nimbus & OpenNebulaEucalyptus, Nimbus & OpenNebula
Eucalyptus, Nimbus & OpenNebulaAmar Myana
 

La actualidad más candente (20)

message passing
 message passing message passing
message passing
 
File replication
File replicationFile replication
File replication
 
Naming Entities and Locating Mobile Entities
Naming Entities and Locating Mobile EntitiesNaming Entities and Locating Mobile Entities
Naming Entities and Locating Mobile Entities
 
Cs8493 unit 2
Cs8493 unit 2Cs8493 unit 2
Cs8493 unit 2
 
Cs6703 grid and cloud computing unit 4
Cs6703 grid and cloud computing unit 4Cs6703 grid and cloud computing unit 4
Cs6703 grid and cloud computing unit 4
 
Web Application Firewall
Web Application FirewallWeb Application Firewall
Web Application Firewall
 
Distributed File Systems
Distributed File Systems Distributed File Systems
Distributed File Systems
 
Lecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networksLecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networks
 
Introduction to distributed file systems
Introduction to distributed file systemsIntroduction to distributed file systems
Introduction to distributed file systems
 
Wireless LAN technologies
Wireless LAN technologiesWireless LAN technologies
Wireless LAN technologies
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
TCP over wireless slides
TCP over wireless slidesTCP over wireless slides
TCP over wireless slides
 
Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating Systems
 
Corba
CorbaCorba
Corba
 
JINI Technology
JINI TechnologyJINI Technology
JINI Technology
 
Directory and discovery services
Directory and discovery servicesDirectory and discovery services
Directory and discovery services
 
Andrew File System
Andrew File SystemAndrew File System
Andrew File System
 
Hypervisor
HypervisorHypervisor
Hypervisor
 
Eucalyptus, Nimbus & OpenNebula
Eucalyptus, Nimbus & OpenNebulaEucalyptus, Nimbus & OpenNebula
Eucalyptus, Nimbus & OpenNebula
 
Distributed information system
Distributed information systemDistributed information system
Distributed information system
 

Destacado

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
 

Destacado (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)
 

Similar a AFS introduction

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
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to dockerWalid Ashraf
 

Similar a AFS introduction (20)

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
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 

Más de 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
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 

Último (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

AFS introduction

  • 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

Notas del editor

  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