Module 16: Distributed System Structures. 16.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Distributed.

Slides:



Advertisements
Similar presentations
OSes: 14. Dist. System Structures 1 Operating Systems v Objectives –introduce the basic notions behind a networked/distributed system Certificate Program.
Advertisements

Silberschatz and Galvin  Operating System Concepts Module 16: Distributed-System Structures Network-Operating Systems Distributed-Operating.
Lecture 11: Networks & Networking. Lecture 11 / Page 2AE4B33OSS Silberschatz, Galvin and Gagne ©2005 Contents Distributed systems Network types Network.
Silberschatz, Galvin and Gagne  Operating System Concepts Chap15: Distributed System Structures Background Topology Network Types Communication.
NETWORK STRUCTURES This chapter sets the foundation for our discussion about networks and distributed OS. VOCABULARY   Tightly coupled systems Same clock,
Network Operating Systems Users are aware of multiplicity of machines. Access to resources of various machines is done explicitly by: –Logging into the.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Distributed System Structures CS 3100 Distributed System Structures1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Module 16: Distributed System Structures.
IP: The Internet Protocol
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Service Providers & Data Link & Physical layers Week 4 Lecture 1.
16: Distributed Systems1 DISTRIBUTED SYSTEM STRUCTURES NETWORK OPERATING SYSTEMS The users are aware of the physical structure of the network. Each site.
Modified from Silberschatz, Galvin and Gagne Principles of Computer Operating Systems Lecture 23 Chapter 16/18: Distributed Systems.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
COMPUTER NETWORKS.
Distributed System Structures 16: Distributed Structures
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
Chapter 17: Distributed Systems
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Module 1: Reviewing the Suite of TCP/IP Protocols.
CS 149: Operating Systems April 23 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak
1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.
Chapter 2 The Infrastructure. Copyright © 2003, Addison Wesley Understand the structure & elements As a business student, it is important that you understand.
TCP/IP Reference Model For more notes and topics visit: eITnotes.com.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Module 17: Distributed Systems.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
1 Module 15: Network Structures n Topology n Network Types n Communication.
Examining TCP/IP.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 17: Distributed Systems.
Multiprossesors Systems.. What are Distributed Databases ? “ A Logically interrelated collection of shared data ( and a description of this data) physically.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Module 16: Distributed System Structures
Data Communications and Networks
William Stallings Data and Computer Communications
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 3: TCP/IP Architecture.
Silberschatz and Galvin  Operating System Concepts Module 15: Network Structures Background Motivation Topology Network Types Communication.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 16: Distributed System Structures.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Module 16: Distributed System Structures.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 17: Distributed Systems.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 17: Distributed Systems.
Lecture 11: Networks & Networking. Lecture 11 / Page 2AE4B33OSS Silberschatz, Galvin and Gagne ©2005 Contents Distributed systems Network types Network.
Workshop 6 Agenda Homework review: 15.1, 16.5, 17.4 Study group project milestone Lecture & discussion on network structures Group activity on distributed.
Chapter 14: Distributed Operating Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Outline n Motivation.
Operating Systems Network Structures. Topics –Background –Motivation –Topology –Network Types –Communication –Design Strategies Topics –Background –Motivation.
Data Communication Network Models
CS307 Operating Systems Distributed System Structures Guihai Chen Department of Computer Science and Engineering Shanghai Jiao Tong University Spring 2012.
CSE Operating System Principles Distributed Systems & Networking Fundamentals.
Operating Systems Distributed-System Structures. Topics –Network-Operating Systems –Distributed-Operating Systems –Remote Services –Robustness –Design.
Distributed System Structures CSCI 444/544 Operating Systems Fall 2008.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 17: Distributed Systems.
LESSON Networking Fundamentals Understand TCP/IP.
Scaling the Network: The Internet Protocol
Click to edit Master subtitle style
Module 16: Distributed System Structures
Chapter 16: Distributed System Structures
Module 15: Network Structures
Distributed System Structures 16: Distributed Structures
TCP/IP Protocol Suite: Review
Scaling the Network: The Internet Protocol
LEARNING COMPUTER NETWORKS OSI Model (layers). Why a layered model?  Easier to teach communication process.  Speeds development, changes in one layer.
Presentation transcript:

Module 16: Distributed System Structures

16.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Distributed System is a collection of loosely coupled processors interconnected by a communications network Processors variously called nodes, computers, machines, hosts Site is location of the processor What does this sound like? What would a “tightly coupled” system be? Also known as symmetric vs. asymmetric

16.3 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Types of Distributed Operating Systems Network Operating Systems Distributed Operating Systems

16.4 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Network-Operating Systems OS’s like Netware and Windows NT have been referred to as network operating systems Is this appropriate? Is Linux a network operating system? Is there any such thing as a non-networked operating system? 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.5 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 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 Network (LAN) Distributed Operating System

16.6 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 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 Network (LAN) Distributed Operating System Often implemented as third party software running on top of operating system MPI PVM Cluster software Often implemented as third party software running on top of operating system MPI PVM Cluster software

16.7 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 LAN 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

16.8 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 WAN Wide-Area Network (WAN) – links geographically separated sites Speed  – 45 megbits/second Broadcast usually requires multiple messages Wan

16.9 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 WAN Usually Comprised of Routers Routers route packets Decisions on forwarding packets based upon a routing protocol TCP/IP is a routing protocol

16.10 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Naming and Name Resolution Name systems in the network All about translating addresses into user friendly names Example Domain name service (DNS) ping Pinging mumwww.gs.umt.edu [ ] with 32 bytes of data: Reply from : bytes=32 time<1ms TTL=126 Ping statistics for : Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms ping Pinging mumwww.gs.umt.edu [ ] with 32 bytes of data: Reply from : bytes=32 time<1ms TTL=126 Ping statistics for : Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms

16.11 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Routing Strategies Dynamic routing - The path used to send a message form site A to site B is chosen only when a message is sent Usually a site sends a message to another site on the link least used at that particular time Adapts to load changes by avoiding routing messages on heavily used path Messages may arrive out of order  This problem can be remedied by appending a sequence number to each message

16.12 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Routing Strategies Fixed routing - A path from A to B is specified in advance; path changes only if a hardware failure disables it Since the shortest path is usually chosen, communication costs are minimized Fixed routing cannot adapt to load changes Ensures that messages will be delivered in the order in which they were sent Virtual circuit - A path from A to B is fixed for the duration of one session. Different sessions involving messages from A to B may have different paths Partial remedy to adapting to load changes Ensures that messages will be delivered in the order in which they were sent Fiber Optic Networks FDDI ATM

16.13 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Example: ethernet CSMA/CD - Carrier sense with multiple access (CSMA); collision detection (CD) A site determines whether another message is currently being transmitted over that link. If two or more sites begin transmitting at exactly the same time, then they will register a CD and will stop transmitting When the system is very busy, many collisions may occur, and thus performance may be degraded Network (LAN)

16.14 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 ISO (international standard organization) Layered approach Application Presentation Session Transport Network layer Data-link layer Physical layer Each layer represents a layer of software but also a header in a data frame

16.15 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 The TCP/IP Protocol Layers Mapping TCP/IP to ISO IP is network layer Not connection oriented TCP at transport layer Connection oriented Which do you think a socket is?

16.16 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Example: Networking The transmission of a network packet between hosts on an Ethernet network Every host has a unique IP address and a corresponding Ethernet (MAC: media access control: physical address) address Communication requires both addresses Domain Name Service (DNS) can be used to acquire IP addresses Address Resolution Protocol (ARP) is used to map MAC addresses to IP addresses If the hosts are on the same network, ARP can be used If the hosts are on different networks, the sending host will send the packet to a router which routes the packet to the destination network Which layer is this? Where are the other headers? Which layer is this? Where are the other headers?

End of Chapter 16