Lecture 9: Name and Directory Servers CDK4: Chapter 9 CDK5: Chapter 13 TVS: Chapter 5.

Slides:



Advertisements
Similar presentations
Rasool Jalili, OS2, Sem Naming Chapter 4. Rasool Jalili, OS2, Sem Advertisment!! Please inform the students to subscribe to the mailing.
Advertisements

Dr. Kalpakis CMSC621 Advanced Operating Systems Naming.
Naming Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014.
Distributed Systems Principles and Paradigms Chapter 04 Naming.
NAME SERVICES 1 Name Services From Chapter 9 of Distributed Systems Concepts and Design,4 th Edition, By G. Coulouris, J. Dollimore and T. Kindberg Published.
Naming Technologies within Distributed Systems
Univ. of TehranDistributed Operating Systems1 Advanced Operating Systems University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
Naming Chapter 4. Names, Addresses, and Identifiers Name: String (of bits/characters) that refers to an entity (e.g. process, file, device, …) Access.
The implementation of a name space
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
CS 582 / CMPE 481 Distributed Systems Naming Class Overview Why naming? Terminology Naming Fundamentals Name Services Case Studies –DNS –GNS.
Chapter 4  Naming 1 Naming Chapter 4 Chapter 4  Naming 2 Why Naming?  Names are needed to o Identify entities o Share resources o Refer to locations,
Naming Chapter 4. Naming Names are used to share resources, to uniquely identify entities, or to refer to locations. Name resolution is used for a process.
Computer Science Lecture 9, page 1 CS677: Distributed OS Today: Naming Names are used to share resources, uniquely identify entities and refer to locations.
Naming Names in computer systems are used to share resources, to uniquely identify entities, to refer to locations and so on. An important issue with naming.
NamingCS-4513, D-Term Naming CS-4513 Distributed Computing Systems (Slides include materials from Operating System Concepts, 7 th ed., by Silbershatz,
Distributed Systems CS Naming – Part II Lecture 6, Sep 26, 2011 Majd F. Sakr, Vinay Kolar, Mohammad Hammoud.
EEC-681/781 Distributed Computing Systems Lecture 9 Wenbing Zhao Cleveland State University.
Processes After today’s lecture, you are asked to know
1 Naming Names are used to uniquely identify resources/services. Name resolution: process to determine the actual entity that a name refers to. In distributed.
NamingCS-4513, D-Term Naming CS-4513 Distributed Computing Systems (Slides include materials from Operating System Concepts, 7 th ed., by Silbershatz,
Distributed Systems Naming Chapter 5.
Naming Names in computer systems are used to share resources, to uniquely identify entities, to refer to locations and so on. An important issue with naming.
Naming And Directory Services Geetika Sharma 09/22/200 8 CSC8320.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
Distributed Computing COEN 317 DC2: Naming, part 1.
NAME SERVICES. Names and addresses File names /etc/passwd URLS Internet domain names—dcs.qmw.ac.uk Identifiers- ROR, NFS.
ICS362 Distributed Systems Dr Ken Cosh Week 5. Review Communication – Fundamentals – Remote Procedure Calls (RPC) – Message Oriented Communication – Stream.
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
Computer Science Lecture 9, page 1 CS677: Distributed OS Today: Naming Names are used to share resources, uniquely identify entities and refer to locations.
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
Naming. Names play a very important role in all computer system. A name is a string of bits or characters that used to refer to an entity – eg:- recourse.
1 Application Layer Lecture 6 Imran Ahmed University of Management & Technology.
1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz.
Distributed Systems Principles and Paradigms Chapter 04 Naming.
5.1 Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
Naming Chapter 4. Name Spaces (1) A general naming graph with a single root node.
Naming Chapter 4.
Distributed Computing COEN 317 DC2: Naming, part 1.
6. Naming (name services)
Computer Science Lecture 9, page 1 CS677: Distributed OS Last Class: Naming Name distribution: use hierarchies DNS Iterative versus Recursive name resolution.
Fall 2007cs4251 Distributed Computing Umar Kalim Dept. of Communication Systems Engineering 10/12/2007.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Univ. of TehranDistributed Operating Systems1 Advanced Operating Systems University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Distributed Systems Naming. Naming Names are used to share resources Name uniquely identify entities Names refer to location If we have named entity,
Naming Chapter 4. Naming Names are used to share resources, to uniquely identify entities, or to refer to locations. Name resolution is used for a process.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
ADVANCED OPERATING SYSTEMS STRUCTURED NAMING BY KANNA KARRI.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Naming CSCI 6900/4900. Mounting Mounting – Merging different namespaces transparently File system example –Directory node of one namespace stores identifier.
Naming CSCI 4780/6780. Name Space Implementation Naming service – A service that lets users to add/delete and lookup names In large distributed systems.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Naming Chapter 4. Table of Contents Concepts Locate mobile entities Garbage collection.
Naming Chapter 4.
Naming A name in a distributed system is a string of bits or characters used to refer to an entity. To resolve name a naming system is needed.
5.3. Structured Naming Advanced Operating Systems Fall 2017
Lecture 7: Name and Directory Servers
Lecture 7: Name and Directory Servers
Lecture 8: Name and Directory Servers
Distributed Systems CS
Bina Ramamurthy Chapter 9
Distributed Systems CS
Distributed Systems CS
Distributed Systems CS
Bina Ramamurthy Chapter 9
Bina Ramamurthy Chapter 9
Distributed Systems CS
Presentation transcript:

Lecture 9: Name and Directory Servers CDK4: Chapter 9 CDK5: Chapter 13 TVS: Chapter 5

17-Mar-16COMP28112 Lecture 92 Binding RPC Client to Server Not desirable to hardwire the machine name and port number used by a server into a client Use a directory server instead (to find machine) – directory server machine known Use a local daemon on that machine to find port to use (daemon uses known port)

17-Mar-16COMP28112 Lecture 93 Binding a Client to a Server TVS: Figure 4-13 Client-to-server binding in a Distributed Computing Environment (endpoint – commonly known as a port)

17-Mar-16COMP28112 Lecture 94 Names Pure names contain no information about the item they are associated with (Needham) Other names may either tell you what sort of object they refer to, or something about where it can be found An address is an extreme example of a non- pure name

17-Mar-16COMP28112 Lecture 95 Name resolution A name is resolved when it is translated into data about the item Names are bound to attributes (i.e. values of properties – such as addresses!) A name has a namespace or domain … You can compose names to make bigger ones (e.g. URLs)

17-Mar-16COMP28112 Lecture 96 Composed naming domains used to access a resource from a URL URL Resource ID (IP number, port number, pathname) Network address 2:60:8c:2:b0:5a file 2:60:8c:2:b0:5a Web server WebExamples/earth.html8888 DNS lookup CDK4 Fig 9.1, CDK5 Fig 13.1

17-Mar-16COMP28112 Lecture 97 URIs, URLs, and URNs Uniform Resource Identifiers identify resources on the Web. Start by identifying the URI scheme – e.g. ftp:, etc. Uniform Resource Locators – a subset of URIs which give a location for a resource Uniform Resource Names – URIs which are not URLs, e.g. urn:ISBN:

17-Mar-16COMP28112 Lecture 98 Namespaces Can be flat (e.g. a number, a string) Or structured (i.e. hierarchic) e.g. a Unix file name If hierarchic, each part of the name is resolved in a different context

17-Mar-16COMP28112 Lecture 99 DNS Domain Name System – names computers across the Internet Uses replication and caching Strict cache consistency not vital Very large amount of data – partitioned by domain In general need to involve >1 name server in full name resolution

17-Mar-16COMP28112 Lecture 910 Name Space Distribution (1) TVS: Fig An example partitioning of the DNS name space, including Internet-accessible files, into three layers.

17-Mar-16COMP28112 Lecture 911 Name Space Distribution (2) TVS: Fig A comparison between name servers for implementing nodes from a large-scale name space partitioned into a global layer, as an administrational layer, and a managerial layer. ItemGlobalAdministrationalManagerial Geographical scale of networkWorldwideOrganizationDepartment Total number of nodesFewManyVast numbers Responsiveness to lookupsSecondsMillisecondsImmediate Update propagationLazyImmediate Number of replicasManyNone or fewNone Is client-side caching applied?Yes Sometimes

17-Mar-16COMP28112 Lecture 912 Name Resolution Each client has a local name resolver It can work –Iteratively –Recursively Use # to mean the address of the name server for handling names in the node

17-Mar-16COMP28112 Lecture 913 Implementation of Name Resolution (1) TVS: Fig 5-15 Iterative Name Resolution

17-Mar-16COMP28112 Lecture 914 Implementation of Name Resolution (2) TVS: Fig 5-16: recursive name resolution.

17-Mar-16COMP28112 Lecture 915 Iterative vs Recursive Resolution Recursive resolution puts more burden on a name server – global layers support only iterative resolution Recursive resolution makes caching more effective …. Communication costs may be lower for recursive resolution

17-Mar-16COMP28112 Lecture 916 Implementation of Name Resolution (3) TVS: Fig Recursive name resolution of. Server for node Should resolve Looks up Passes to child Receives and caches Returns to requester cs # -- # vu # # # # nl # # # # # # root # # # # # # # #

17-Mar-16COMP28112 Lecture 917 Implementation of Name Resolution (4) TVS: Fig The comparison between recursive and iterative name resolution with respect to communication costs.

17-Mar-16COMP28112 Lecture 918 Zones DNS data divided into zones Each contains attribute data for a domain, but not that held in a sub-domain Two authoritative name servers for zone Names of servers for sub-domains Zone management data (e.g. lifetime of cached items ….)

17-Mar-16COMP28112 Lecture 919 The DNS Name Space TVS: Fig The most important types of resource records forming the contents of nodes in the DNS name space. Type of record Associated entity Description SOAZoneHolds information on the represented zone AHostContains an IP address of the host this node represents MXDomainRefers to a mail server to handle mail addressed to this node SRVDomainRefers to a server handling a specific service NSZoneRefers to a name server that implements the represented zone PTRNodeSymbolic link with the primary name of the represented node CNAMEHostContains the canonical name of a host HINFOHostHolds information on the host this node represents TXTAny kindContains any entity-specific information considered useful

17-Mar-16COMP28112 Lecture 920 DNS Implementation TVS: Figure An excerpt from the DNS database for the zone cs.vu.nl.

17-Mar-16COMP28112 Lecture 921 Name Server vs Directory Server A name server takes a name, and returns one or more attributes of the named object A directory server takes attribute values, and returns sets of attributes of objects with those attribute values Like telephone directory: white pages vs yellow pages distinction

17-Mar-16COMP28112 Lecture 922 X.500 Directory Service X.500 invented by standards organisations Collection of all entries = Directory Information Base (DIB) – portions on different servers (Directory Service Agents, DSAs). Clients are Directory User Agents (DUAs) Get a Directory Information Tree (DIT)

17-Mar-16COMP28112 Lecture 923 LDAP Lightweight Directory Access Protocol - a simple protocol for use with X.500 Allows more simple directory lookup than X.500 for directory servers which implement Widely adopted (e.g. Microsoft’s Active Directory Service provides an LDAP interface)

17-Mar-16COMP28112 Lecture 924 TVS: Fig A simple example of an LDAP directory entry using LDAP naming conventions. AttributeAbbr.Value CountryCNL LocalityLAmsterdam OrganizationOVrije Universiteit OrganizationalUnitOUComp. Sc. CommonNameCNMain server Mail_Servers , , FTP_Server WWW_Server

17-Mar-16COMP28112 Lecture 925 TVS: Fig. 5-23a Part of the directory information tree.

17-Mar-16COMP28112 Lecture 926 TVS: Fig. 5-23b. Two directory Entries AttributeValueAttributeValue CountryNLCountryNL LocalityAmsterdamLocalityAmsterdam OrganizationVrije UniversiteitOrganizationVrije Universiteit OrganizationalUnitMath. & Comp. Sc.OrganizationalUnit Math. & Comp. Sc. CommonNameMain serverCommonNameMain server Host_NamestarHost_Namezephyr Host_Address Host_Address

17-Mar-16COMP28112 Lecture 927 LDAP access Entries can be read – enough info has to be provided to navigate the Directory Information Tree (DIT), but other attributes can then be obtained Can search, starting from a node in the DIT and using a boolean filter expression to identify targets. This can be quite costly! Next Lecture: Time and Logical Clocks