SlideShare a Scribd company logo
3
Most read
4
Most read
7
Most read
Presented by:




Under Supervision Of:
Prof.Dr. Mostafa Gadal-Haqq
   Introduction to LOCUS
   LOCUS main features
   LOCUS Distributed File System
   File system Operations
     Read / Modification
     File Recovery
     File Merging
   LOCUS is a distributed operating system that
    provides a very degree of network transparency
    while at the same time supporting high
    performance and automatic replication of storage.

   Is compatible with Unix OS.

   Was developed at UCLA (University of California, Los
    Angeles) between 1980 and 1983 with supporting by
    DARPA.
   Transparent access to data
   Automatic replication of storage
   Distributed process execution
   Dynamic reconfiguration
 In Unix, files are organized into a tree structure with
  a root named by the character ’/’.
 The first few levels of the tree look like this:
 Naming similar to UNIX: single directory tree
  structure and file groups.
 It is functionally a superset of the Unix tree
  structured naming system.
Characteristics
 Uniform name space
 Network transparency
 Location transparency
 Location independence
 High availability by replication
 Cache consistency guaranteed
   The LOCUS filesystem presents a single tree
    structured naming hierarchy to users and
    applications which covers all objects in the
    filesystem on all machines.
   LOCUS makes the network of machines
    appears to users and programs as a single
    computer.
   Files can be moved dynamically with no
    effect on naming.
   LOCUS names are fully transparent; it is not
    possible from the name of a resources to discern
    its location in the network.
   Transparent Naming: pathname works
    anywhere
     Name resolves to
          <filegroup number, inode number>
   Search for the pathname iteratively starting
    from working directory or root
     Finds a <filegroup, inode> at the end of search
   Remote resources are accessed in the same
    manner as local ones.
   Processes can be created locally and
    remotely in the same manner.
 The data of files could be stored on more than one
  node and LOCUS would keep the various copies up
  to date.
 Motivation for Replication
     Availability
      ▪ Multiple copies of data resources provide the opportunity for
        substantially increased availability.
     Performance
      ▪ If users of the file exist on different machines, and copies are
        available near those machines, then read access can be
        substantially faster compared to the necessity to have one of the
        users always make remote accesses.
   In order to ensure that all access was made to the
    most recent version of any file LOCUS would
    nominate one node as the "current synchronization
    site" (CSS) for a particular file system. All accesses
    to files a file system would need to be coordinated
    with the appropriate CSS.
   There are three logical functions in a file access :
     Using Site (US)
    The request to open a file and to which pages of the file are to be
    supplied.
     Storage Site (SS)
    Is the site at which a copy of the requested file is stored, and which has
    been selected to supply pages of that file to the using site.
     Current Synchronization Site (CSS)
    Which enforces a global access synchronization policy for the file's
    filegroup and selects SSs for each open request. A given physical site can
    be the CSS for any number of filegroups but there is only one CSS for any
    given filegroup in any set of communicating sites
LOCUS is a procedure based operating system - processes request system
service by executing system calls
   Open/Read




                SS   CSS
   First, information on inode decide whether US can
    directly read the file locally, usually after the first open
   Otherwise, the US request CSS, which is determined by
    the logical mount table, if the file in CSS, return the
    information from itself, if not, CSS set up an incore
    inode structure, which store the state information for
    synchronization and store the sites who store the file, as
    well as a version vector, check which SS store the last
    version of file.
   After decision, the incore inode(already revised) is sent
    to the US, which means the US can directly contact with
    SS by using the logical page number and a guess: two
    buffer cache are used. Both at SS and across the network.
   Creation
     Storage locations for new file determined at create time.
     Attempts to use same storage sites as parent
      directory/local site
     Remote sites – inode allocated by physical container
   Modification
     Modifications are written to new pages, followed by
      atomic commit, remote update
     Commit & Abort
      ▪ One copy of file is updated and committed
      ▪ Updated file propagation - “Pulling” by other SS


   Machine Dependent File
     Different Versions of the same file (Process Context based)
   The basic approach in LOCUS is to maintain, within
    a single partition, strict synchronization among
    copies of a file so that all uses of that file see the
    most recent version, even if concurrent activity is
    taking place on different machines.

 Partitions
  Partitions clearly are the primary source of difficulty in a
  replicated environment.
 For example, while site B is down, work is done on site A.
  Site A goes down before B comes up. When site A comes
  back up, an effective partition merge must be done.
 Detection of Conflicting Updates to Files
Suppose file f was replicated at sites S1 and S2 . Initially
  assume each copy was identical but after some period
  sites S1 and S2 partitioned. If f is modified at S1
  producing f1 then when S1 and S2 merge the two copies
  of f will be inconsistent. Are they then in conflict? No.
  The copy at S1 (fl) should propagate to S2 and that will
  produce a consistent state. The copies of the object
  would be in conflict if during the partition not only was
  S1's copy modified to produce fl but S2's copy was
  modified to produce f2. At merge a conflict should be
  detected.
  As already pointed out the system may be able to
  resolve the conflict.
   The LOCUS file system is a network wide, tree
    structured directory system, with leaves being data
    files whose internal structure is unknown to the
    LOCUS system nucleus.

   All files, including directories, have a type associated
    with them. The type information is used by recovery
    software to take appropriate action.
 The LOCUS recovery and merge philosophy is
  hierarchically organized. The basic system is
  responsible for detecting all conflicts. For those
  data types that it manages, including internal
  system data as well as file system directories,
  automatic merge is done by the system.
 If the system is not responsible for a given file type,
  it reflects the problem up to a higher level; to a
  recovery/merge manager if one exists for the given
  file type.
  Difficulties of Merging :
a) operations (remove, rename and link) may be done
   to a file in a partition which does not store the file.
b) a file which was deleted in one partition while it was
   modified in another, wants to be saved.
c) a directory may have to be resolved without either
   partition storing particular files.
   G. Popek, B. Walker, J. Chow, D. Edwards, C. Kline,
    G. Rudisin, G. Thiel, LOCUS: A Network Transparent,
    High Reliability Distributed System, University of
    California, Los Angeles.

   Bruce Walker, Gerald Popek, Robert English, Charles
    Kline and Greg Thiel, The LOCUS Distributed
    Operating System, University of California, ACM,
    Los Angeles, 1983.

More Related Content

PPT
Connection( less & oriented)
PPT
Chapter 9
PPT
Chapter 1 Introduction (Data Communication by Forouzan)
PPTX
SYNCHRONIZATION IN MULTIPROCESSING
PPT
Mobile Communication Broadcast System Jochen Schiller
PPTX
Network management ppt
Connection( less & oriented)
Chapter 9
Chapter 1 Introduction (Data Communication by Forouzan)
SYNCHRONIZATION IN MULTIPROCESSING
Mobile Communication Broadcast System Jochen Schiller
Network management ppt

What's hot (20)

PDF
Cloud computing system models for distributed and cloud computing
PDF
Mobile computing (Wireless) Medium Access Control (MAC)
PPTX
Message and Stream Oriented Communication
PPTX
VANET in Mobile Computing
PPT
Code Division Multiple Access- CDMA
PPT
Chapter 6-Consistency and Replication.ppt
PPTX
Mobile transport layer - traditional TCP
PPT
Chapter 4 a interprocess communication
PDF
Cloud Ecosystem
PPT
mobile/wireless telephony
PDF
Distributed Operating System_1
PPTX
Advance Networking Course Details PPT
PPT
Cloud Computing Security Challenges
PPT
Cloud architecture
PPTX
Distributed computing
PPTX
Cluster and Grid Computing
PPTX
Distance Vector & Link state Routing Algorithm
PDF
Mobile transportlayer
PPTX
Concepts of Distributed Computing & Cloud Computing
Cloud computing system models for distributed and cloud computing
Mobile computing (Wireless) Medium Access Control (MAC)
Message and Stream Oriented Communication
VANET in Mobile Computing
Code Division Multiple Access- CDMA
Chapter 6-Consistency and Replication.ppt
Mobile transport layer - traditional TCP
Chapter 4 a interprocess communication
Cloud Ecosystem
mobile/wireless telephony
Distributed Operating System_1
Advance Networking Course Details PPT
Cloud Computing Security Challenges
Cloud architecture
Distributed computing
Cluster and Grid Computing
Distance Vector & Link state Routing Algorithm
Mobile transportlayer
Concepts of Distributed Computing & Cloud Computing
Ad

Viewers also liked (16)

ODP
Distributed operating system(os)
PPTX
Aos distibutted system
PPTX
CloudDesk - Cloud operating system
PPTX
Cloud OS(basic)
PPT
PPT
PPTX
Cloud operating system
PPT
7 distributed and real systems
PDF
6.Distributed Operating Systems
DOC
Distributed Operating System,Network OS and Middle-ware.??
ODP
Mobile Operating Systems
PPTX
Macintosh ppt
PPTX
Mobile operating system ppt
PPTX
Unix operating system
DOCX
Cloud operating systems
PPTX
Mac OS(Operating System)
Distributed operating system(os)
Aos distibutted system
CloudDesk - Cloud operating system
Cloud OS(basic)
Cloud operating system
7 distributed and real systems
6.Distributed Operating Systems
Distributed Operating System,Network OS and Middle-ware.??
Mobile Operating Systems
Macintosh ppt
Mobile operating system ppt
Unix operating system
Cloud operating systems
Mac OS(Operating System)
Ad

Similar to Locus Distributed Operating System (20)

PPT
3. distributed file system requirements
PDF
Operating Systems - Implementing File Systems
PPT
Unit 3 chapter 1-file management
PPT
Chapter 10 - File System Interface
PPTX
a distributed implementation of the classical time-sharing model of a file sy...
PDF
CH11.pdf
PDF
Introduction One of the key goals for the Windows Subsystem for Li.pdf
PPT
Unit 3 file management
PDF
PARALLEL FILE SYSTEM FOR LINUX CLUSTERS
PPT
file management_osnotes.ppt
DOCX
File system interfacefinal
PPTX
FILE Implementation Introduction imp .pptx
PDF
CS9222 ADVANCED OPERATING SYSTEMS
PPTX
Distributed file system
PPTX
5.distributed file systems
PPTX
Filesth file handling in language dile
PPTX
UNIT III.pptx
PPT
Presentation on nfs,afs,vfs
DOCX
Linux File System.docx
PPT
Distributed file systems
3. distributed file system requirements
Operating Systems - Implementing File Systems
Unit 3 chapter 1-file management
Chapter 10 - File System Interface
a distributed implementation of the classical time-sharing model of a file sy...
CH11.pdf
Introduction One of the key goals for the Windows Subsystem for Li.pdf
Unit 3 file management
PARALLEL FILE SYSTEM FOR LINUX CLUSTERS
file management_osnotes.ppt
File system interfacefinal
FILE Implementation Introduction imp .pptx
CS9222 ADVANCED OPERATING SYSTEMS
Distributed file system
5.distributed file systems
Filesth file handling in language dile
UNIT III.pptx
Presentation on nfs,afs,vfs
Linux File System.docx
Distributed file systems

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Machine learning based COVID-19 study performance prediction
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
sap open course for s4hana steps from ECC to s4
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
KodekX | Application Modernization Development
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Encapsulation theory and applications.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The Rise and Fall of 3GPP – Time for a Sabbatical?
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Machine learning based COVID-19 study performance prediction
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
cuic standard and advanced reporting.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Building Integrated photovoltaic BIPV_UPV.pdf
MYSQL Presentation for SQL database connectivity
sap open course for s4hana steps from ECC to s4
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
KodekX | Application Modernization Development
NewMind AI Weekly Chronicles - August'25 Week I
Per capita expenditure prediction using model stacking based on satellite ima...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation theory and applications.pdf

Locus Distributed Operating System

  • 1. Presented by: Under Supervision Of: Prof.Dr. Mostafa Gadal-Haqq
  • 2. Introduction to LOCUS  LOCUS main features  LOCUS Distributed File System  File system Operations  Read / Modification  File Recovery  File Merging
  • 3. LOCUS is a distributed operating system that provides a very degree of network transparency while at the same time supporting high performance and automatic replication of storage.  Is compatible with Unix OS.  Was developed at UCLA (University of California, Los Angeles) between 1980 and 1983 with supporting by DARPA.
  • 4. Transparent access to data  Automatic replication of storage  Distributed process execution  Dynamic reconfiguration
  • 5.  In Unix, files are organized into a tree structure with a root named by the character ’/’.  The first few levels of the tree look like this:
  • 6.  Naming similar to UNIX: single directory tree structure and file groups.  It is functionally a superset of the Unix tree structured naming system.
  • 7. Characteristics  Uniform name space  Network transparency  Location transparency  Location independence  High availability by replication  Cache consistency guaranteed
  • 8. The LOCUS filesystem presents a single tree structured naming hierarchy to users and applications which covers all objects in the filesystem on all machines.
  • 9. LOCUS makes the network of machines appears to users and programs as a single computer.  Files can be moved dynamically with no effect on naming.
  • 10. LOCUS names are fully transparent; it is not possible from the name of a resources to discern its location in the network.  Transparent Naming: pathname works anywhere  Name resolves to <filegroup number, inode number>  Search for the pathname iteratively starting from working directory or root  Finds a <filegroup, inode> at the end of search
  • 11. Remote resources are accessed in the same manner as local ones.  Processes can be created locally and remotely in the same manner.
  • 12.  The data of files could be stored on more than one node and LOCUS would keep the various copies up to date.  Motivation for Replication  Availability ▪ Multiple copies of data resources provide the opportunity for substantially increased availability.  Performance ▪ If users of the file exist on different machines, and copies are available near those machines, then read access can be substantially faster compared to the necessity to have one of the users always make remote accesses.
  • 13. In order to ensure that all access was made to the most recent version of any file LOCUS would nominate one node as the "current synchronization site" (CSS) for a particular file system. All accesses to files a file system would need to be coordinated with the appropriate CSS.
  • 14. There are three logical functions in a file access :  Using Site (US) The request to open a file and to which pages of the file are to be supplied.  Storage Site (SS) Is the site at which a copy of the requested file is stored, and which has been selected to supply pages of that file to the using site.  Current Synchronization Site (CSS) Which enforces a global access synchronization policy for the file's filegroup and selects SSs for each open request. A given physical site can be the CSS for any number of filegroups but there is only one CSS for any given filegroup in any set of communicating sites
  • 15. LOCUS is a procedure based operating system - processes request system service by executing system calls
  • 16. Open/Read SS CSS
  • 17. First, information on inode decide whether US can directly read the file locally, usually after the first open  Otherwise, the US request CSS, which is determined by the logical mount table, if the file in CSS, return the information from itself, if not, CSS set up an incore inode structure, which store the state information for synchronization and store the sites who store the file, as well as a version vector, check which SS store the last version of file.  After decision, the incore inode(already revised) is sent to the US, which means the US can directly contact with SS by using the logical page number and a guess: two buffer cache are used. Both at SS and across the network.
  • 18. Creation  Storage locations for new file determined at create time.  Attempts to use same storage sites as parent directory/local site  Remote sites – inode allocated by physical container  Modification  Modifications are written to new pages, followed by atomic commit, remote update  Commit & Abort ▪ One copy of file is updated and committed ▪ Updated file propagation - “Pulling” by other SS  Machine Dependent File  Different Versions of the same file (Process Context based)
  • 19. The basic approach in LOCUS is to maintain, within a single partition, strict synchronization among copies of a file so that all uses of that file see the most recent version, even if concurrent activity is taking place on different machines.  Partitions Partitions clearly are the primary source of difficulty in a replicated environment.  For example, while site B is down, work is done on site A. Site A goes down before B comes up. When site A comes back up, an effective partition merge must be done.
  • 20.  Detection of Conflicting Updates to Files Suppose file f was replicated at sites S1 and S2 . Initially assume each copy was identical but after some period sites S1 and S2 partitioned. If f is modified at S1 producing f1 then when S1 and S2 merge the two copies of f will be inconsistent. Are they then in conflict? No. The copy at S1 (fl) should propagate to S2 and that will produce a consistent state. The copies of the object would be in conflict if during the partition not only was S1's copy modified to produce fl but S2's copy was modified to produce f2. At merge a conflict should be detected. As already pointed out the system may be able to resolve the conflict.
  • 21. The LOCUS file system is a network wide, tree structured directory system, with leaves being data files whose internal structure is unknown to the LOCUS system nucleus.  All files, including directories, have a type associated with them. The type information is used by recovery software to take appropriate action.
  • 22.  The LOCUS recovery and merge philosophy is hierarchically organized. The basic system is responsible for detecting all conflicts. For those data types that it manages, including internal system data as well as file system directories, automatic merge is done by the system.  If the system is not responsible for a given file type, it reflects the problem up to a higher level; to a recovery/merge manager if one exists for the given file type.
  • 23.  Difficulties of Merging : a) operations (remove, rename and link) may be done to a file in a partition which does not store the file. b) a file which was deleted in one partition while it was modified in another, wants to be saved. c) a directory may have to be resolved without either partition storing particular files.
  • 24. G. Popek, B. Walker, J. Chow, D. Edwards, C. Kline, G. Rudisin, G. Thiel, LOCUS: A Network Transparent, High Reliability Distributed System, University of California, Los Angeles.  Bruce Walker, Gerald Popek, Robert English, Charles Kline and Greg Thiel, The LOCUS Distributed Operating System, University of California, ACM, Los Angeles, 1983.