Slides for Chapter 9: Name Services From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley 2001
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.1 Composed naming domains used to access a resource from a UR URL Resource ID (IP number, port number, pathname) Network address 2:60:8c:2:b0:5a file Web server WebExamples/earth.html8888 DNS lookup Socket
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.2 Iterative navigation Client A client iteratively contacts name servers NS1–NS3 in order to resolve a name NS2 NS1 NS3 Name servers
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.3 Non-recursive and recursive server-controlled navigation A name server NS1 communicates with other name servers on behalf of a client client Recursive server-controlled NS2 NS1 NS3 NS2 NS1 NS3 Non-recursive server-controlled
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.4 DNS name servers Note: Name server names are in italics, and the corresponding domains are in parentheses. Arrows denote name server entries a.root-servers.net (root) ns0.ja.net (ac.uk) dns0.dcs.qmw.ac.uk (dcs.qmw.ac.uk) alpha.qmw.ac.uk (qmw.ac.uk) dns0-doc.ic.ac.uk (ic.ac.uk) ns.purdue.edu (purdue.edu) uk purdue.edu ic.ac.uk qmw.ac.uk dcs.qmw.ac.uk *.qmw.ac.uk *.ic.ac.uk *.dcs.qmw.ac.uk *.purdue.edu ns1.nic.uk (uk) ac.uk co.uk yahoo.com
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.5 DNS resource records Record typeMeaningMain contents AA computer addressIP number NSAn authoritative name serverDomain name for server CNAMEThe canonical name for an aliasDomain name for alias SOAMarks the start of data for a zone Parameters governing the zone WKSA well-known service descriptionList of service names and protocols PTRDomain name pointer (reverse lookups) Domain name HINFOHost informationMachine architecture and operating system MXMail exchangeList of <preference, host> pairs TXTText stringArbitrary text
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.6 Service discovery in Jini Printing service Lookup service Lookup Printing service admin admin, finance finance Client Corporate infoservice 1. ‘finance’ lookup service? 2. Here I am: Request printing 4. Use printing service Network
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.7 GNS directory tree and value tree for user Peter.Smith UKFR AC QMW DI: 322 Peter.Smith password mailboxes DI: 599(EC) DI: 574DI: 543 DI: 437 AlphaGammaBeta
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.8 Merging trees under a new root EC UKFR DI: 599 DI: 574DI: 543 NORTH AMERICA US DI: 642 DI: 457DI: 732 #599 = #633/EC #642 = #633/NORTH AMERICA Well-known directories: CANADA DI: 633(WORLD)
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.9 Restructuring the directory EC UKFR DI: 599 DI: 574DI: 543 NORTH AMERICA US DI: 642 DI: 457 DI: 732 #599 = #633/EC #642 = #633/NORTH AMERICA Well-known directories: CANADA DI: 633(WORLD) #633/EC/US US
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.10 X.500 service architecture DSA DUA
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.11 Part of the X.500 Directory Information Tree...France (country)Great Britain (country)Greece (country)... BT Plc (organization)University of Gormenghast (organization)... Department of Computer Science (organizationalUnit) Computing Service (organizationalUnit) Engineering Department (organizationalUnit)... X.500 Service (root) Departmental Staff (organizationalUnit) Research Students (organizationalUnit) ely (applicationProcess)... Alice Flintstone (person)Pat King (person)James Healey (person)... Janet Papworth (person)...
Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 © Addison-Wesley Publishers 2000 Figure 9.12 An X.500 DIB Entry info Alice Flintstone, Departmental Staff, Department of Computer Science, University of Gormenghast, GB commonName Alice.L.Flintstone Alice.Flintstone Alice Flintstone A. Flintstone surname Flintstone telephoneNumber uid alf mail roomNumber Z42 userClass Research Fellow