Module 16 Distributed system structures

36 218 0
Module 16 Distributed system structures

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Module 16: Distributed System Structures Module 16: Distributed System Structures 16.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Chapter 16: Distributed System Structures Chapter 16: Distributed System Structures ■ Motivation ■ Types of Distributed Operating Systems ■ Network Structure ■ Network Topology ■ Communication Structure ■ Communication Protocols ■ Robustness ■ Design Issues ■ An Example: Networking 16.3 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Chapter Objectives Chapter Objectives ■ To provide a high-level overview of distributed systems and the networks that interconnect them ■ To discuss the general structure of distributed operating systems 16.4 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Motivation Motivation ■ Distributed system is collection of loosely coupled processors interconnected by a communications network ■ Processors variously called nodes, computers, machines, hosts ● Site is location of the processor ■ Reasons for distributed systems ● Resource sharing  sharing and printing files at remote sites  processing information in a distributed database  using remote specialized hardware devices ● Computation speedup – load sharing ● Reliability – detect and recover from site failure, function transfer, reintegrate failed site ● Communication – message passing 16.5 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 A Distributed System A Distributed System 16.6 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Types of Distributed Operating Systems Types of Distributed Operating Systems ■ Network Operating Systems ■ Distributed Operating Systems 16.7 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Network-Operating Systems Network-Operating Systems ■ Users are aware of multiplicity of machines. Access to resources of various machines is done explicitly by: ● Remote logging into the appropriate remote machine (telnet, ssh) ● Remote Desktop (Microsoft Windows) ● Transferring data from remote machines to local machines, via the File Transfer Protocol (FTP) mechanism 16.8 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Distributed-Operating Systems Distributed-Operating Systems ■ Users not aware of multiplicity of machines ● Access to remote resources similar to access to local resources ■ Data Migration – transfer data by transferring entire file, or transferring only those portions of the file necessary for the immediate task ■ Computation Migration – transfer the computation, rather than the data, across the system 16.9 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Distributed-Operating Systems (Cont.) Distributed-Operating Systems (Cont.) ■ Process Migration – execute an entire process, or parts of it, at different sites ● Load balancing – distribute processes across network to even the workload ● Computation speedup – subprocesses can run concurrently on different sites ● Hardware preference – process execution may require specialized processor ● Software preference – required software may be available at only a particular site ● Data access – run process remotely, rather than transfer all data locally 16.10 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Network Structure Network Structure ■ Local-Area Network (LAN) – designed to cover small geographical area. ● Multiaccess bus, ring, or star network ● Speed ≈ 10 – 100 megabits/second ● Broadcast is fast and cheap ● Nodes:  usually workstations and/or personal computers  a few (usually one or two) mainframes [...]... broadcast to all other sites Operating System Concepts – 7th Edition, Apr 4, 2005 16. 32 Silberschatz, Galvin and Gagne ©2005 Design Issues s Transparency – the distributed system should appear as a conventional, centralized system to the user s Fault tolerance – the distributed system should continue to function in the face of failure s Scalability – as demands increase, the system should easily accept the... electronic mail, as well as schemas for distributed databases Operating System Concepts – 7th Edition, Apr 4, 2005 16. 24 Silberschatz, Galvin and Gagne ©2005 Communication Via ISO Network Model Operating System Concepts – 7th Edition, Apr 4, 2005 16. 25 Silberschatz, Galvin and Gagne ©2005 The ISO Protocol Layer Operating System Concepts – 7th Edition, Apr 4, 2005 16. 26 Silberschatz, Galvin and Gagne ©2005... Operating System Concepts – 7th Edition, Apr 4, 2005 16. 16 Silberschatz, Galvin and Gagne ©2005 Naming and Name Resolution s Name systems in the network s Address messages with the process-id s Identify processes on remote systems by pair s Domain name service (DNS) – specifies the naming structure of the hosts, as well as name to address resolution (Internet) Operating System. .. Gagne ©2005 The ISO Network Message Operating System Concepts – 7th Edition, Apr 4, 2005 16. 27 Silberschatz, Galvin and Gagne ©2005 The TCP/IP Protocol Layers Operating System Concepts – 7th Edition, Apr 4, 2005 16. 28 Silberschatz, Galvin and Gagne ©2005 Robustness s Failure detection s Reconfiguration Operating System Concepts – 7th Edition, Apr 4, 2005 16. 29 Silberschatz, Galvin and Gagne ©2005 Failure... transmitting q When the system is very busy, many collisions may occur, and thus performance may be degraded s CSMA/CD is used successfully in the Ethernet system, the most common network system Operating System Concepts – 7th Edition, Apr 4, 2005 16. 21 Silberschatz, Galvin and Gagne ©2005 Contention (Cont.) s Token passing - A unique message type, known as a token, continuously circulates in the system (usually... messages q Nodes:  usually a high percentage of mainframes Operating System Concepts – 7th Edition, Apr 4, 2005 16. 12 Silberschatz, Galvin and Gagne ©2005 Communication Processors in a Wide-Area Network Operating System Concepts – 7th Edition, Apr 4, 2005 16. 13 Silberschatz, Galvin and Gagne ©2005 Network Topology s Sites in the system can be physically connected in a variety of ways; they are compared... will send the packet to a router which routes the packet to the destination network Operating System Concepts – 7th Edition, Apr 4, 2005 16. 34 Silberschatz, Galvin and Gagne ©2005 An Ethernet Packet Operating System Concepts – 7th Edition, Apr 4, 2005 16. 35 Silberschatz, Galvin and Gagne ©2005 End of Chapter 16 ... Site A cannot determine exactly why the failure has occurred Operating System Concepts – 7th Edition, Apr 4, 2005 16. 31 Silberschatz, Galvin and Gagne ©2005 Reconfiguration s When Site A determines a failure has occurred, it must reconfigure the system: 1 If the link from A to B has failed, this must be broadcast to every site in the system 2 If a site has failed, every other site must also be notified... each message Operating System Concepts – 7th Edition, Apr 4, 2005 16. 19 Silberschatz, Galvin and Gagne ©2005 Connection Strategies s Circuit switching - A permanent physical link is established for the duration of the communication (i.e., telephone system) s Message switching - A temporary link is established for the duration of one message transfer (i.e., post-office mailing system) s Packet switching... corresponds to a direct connection between the two sites s The following six items depict various network topologies Operating System Concepts – 7th Edition, Apr 4, 2005 16. 14 Silberschatz, Galvin and Gagne ©2005 Network Topology Operating System Concepts – 7th Edition, Apr 4, 2005 16. 15 Silberschatz, Galvin and Gagne ©2005 Communication Structure The design of a communication network must address four . Module 16: Distributed System Structures Module 16: Distributed System Structures 16. 2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Chapter 16: . 7 th Edition, Apr 4, 2005 Chapter 16: Distributed System Structures Chapter 16: Distributed System Structures ■ Motivation ■ Types of Distributed Operating Systems ■ Network Structure ■ Network. ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Types of Distributed Operating Systems Types of Distributed Operating Systems ■ Network Operating Systems ■ Distributed Operating Systems 16. 7 Silberschatz,

Ngày đăng: 13/05/2014, 00:36

Từ khóa liên quan

Mục lục

  • Module 16: Distributed System Structures

  • Chapter 16: Distributed System Structures

  • Chapter Objectives

  • Motivation

  • A Distributed System

  • Types of Distributed Operating Systems

  • Network-Operating Systems

  • Distributed-Operating Systems

  • Distributed-Operating Systems (Cont.)

  • Network Structure

  • Depiction of typical LAN

  • Network Types (Cont.)

  • Communication Processors in a Wide-Area Network

  • Network Topology

  • Slide 15

  • Communication Structure

  • Naming and Name Resolution

  • Routing Strategies

  • Routing Strategies (Cont.)

  • Connection Strategies

Tài liệu cùng người dùng

Tài liệu liên quan