版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、 Introduction Name services and the Domain Name System Directory and discovery services Case study of the Global Name Service Case study of the X.500 Directory Service SummaryChapter 9: Name Services A distinct service that is used by client to obtain attributes such as the addresses of resources or
2、 objects when given their names Name management is separated from other services Unification IntegrationWhat is Name Service? Name A human readable string Address Bits used by machines to locate an object Bind Association between a name and an address Resolve Translate from a name to an address Exam
3、pleName and Address Value of a property associated with an object DNS IP address X.500 Persons email address and telephone number CORBA Naming Service Remote object referenceAttributes URL (Uniform Resource Location) Addresses of web resources Dangling problems: a resource may be moved URN (Uniform
4、Resource Name) Intend to solve the dangling problems URN lookup service: mapping from URN to URL E.g. urn:ISBN:0-201-62433-8Uniform Resource Identifiers Introduction Name services and the Domain Name System Directory and discovery services Case study of the Global Name Service Case study of the X.50
5、0 Directory Service SummaryChapter 9: Name Services Scalability Arbitrary number of names Arbitrary number of administrative organizations Flexibility A long lifetime Accommodate variations on the organization of the set of namesGeneral name service requirements High availability Most other systems
6、depend upon it Fault isolation Isolate location failures from entire service Tolerance of mistrust Not all clients are trusted by all components of the systemGeneral name service requirements (2) A collection of all valid names recognized by a particular service Require a syntactic definition E.g. d
7、omain name tree of DNS E.g. directory tree of a file systemName spaces Hierarchic structure, e.g. /etc/passwd Resolve relative to a separate context Potentially infinite Different context managed by different people AliasInternal structure of a name A single administrative authority A name space for
8、 which there exists a single authority E.g. Be stored in a separated server Naming domains are in general stored in different name serversNaming domain Homogeneous/heterogeneous name spaces Merging E.g. mount file system in Unix and NFS E.g. create a higher-level root context Heterogeneity DCE name:
9、 /dcs.qmw.ac.uk/principals/Jean.Dollimore /dcs.qmw.ac.uk/files/pub/reports/TR2000-99Combining name spacescellprincipalscellfiles One file with different names E.g. a NFS directory mounted on different machines One name refer to different files E.g. install configuration for multi-platform One name s
10、pace per people E.g. Plan 9Customizing name spaces Name space is partitioned in different name servers Iterative navigation Client controlling E.g., DNS, NFSName resolutionClient123A client iteratively contacts name servers NS1NS3 in order to resolve a nameNS2NS1NS3Nameservers Non-recursive/Recursiv
11、e Recursive type is suitable to environment where there are administrative domain prohibitsServer controlled navigation123512344A name server NS1 communicates with other name servers on behalf of a clientclientclientRecursiveserver-controlledNS2NS1NS3NS2NS1NS3Non-recursiveserver-controlled Enhance r
12、esponse time Eliminate the workload of high-level name servers Isolate the failures of high-level name serversCaching tech. in name resolution Original Internet Naming scheme A central master files Download to all hosts by FTP Domain names 1987 Name space is partitioned both organizationally and acc
13、ording to geographyThe Domain Name SystemThe DNS name spaceCom Commercial organizationsEdu Universities and other educational institutionsGov US governmental agenciesMil US military organizationsNet Major network support centresOrg Organizations not mentioned aboveInt International organizationsUs u
14、nited StatesUk United KingdomCn - China Host name resolution From URL to IP address Mail host location Given a domain name, return a list of domain names of hosts that can accept the mail E.g. tomdcs.rnx.ac.uk Reverse resolution From IP to URLDNS queries Host information E.g. the architecture type o
15、r operating system of a machine Well-known services A list of the services run by a computer Protocol used to obtain them (UDP & TCP)DNS queries continued DNS names are divided into Zones Zone Include names in the domain, less any sub-domains At least two name servers for the zone Hold name serv
16、ers for the sub-domains Each server hold zero or more Zones Zero zone: the caching name serverDNS name servers Servers that a name server holds Lower-level name servers Child name servers high-level name servers One or more root name servers Parent name serverDNS name servers continued Iterative nav
17、igation / recursive navigation Example DNS resource typesDNS name resolution Replication Zone data are replicated on at least two name servers Master server / secondary server Synchronize periodically Cache Any server is free to cache data Time-to-live valueDNS performance Availability & Scalabi
18、lity Achieved by a combination of replication, cache and partition Acceptable inconsistent naming dataDNS performance (2) Introduction Name services and the Domain Name System Directory and discovery services Case study of the Global Name Service Case study of the X.500 Directory Service SummaryChap
19、ter 9: Name Services A special kind of naming service Searching attributes Entries Each entry is concerned with a set of pairs Query Lookup by known attributes Return interested attributes E.g. query ones telephone No. by his nameDirectory services Yellow page / white page Directory service / Conven
20、tional naming service Directory servers and navigation Similar to name service Example Active Directory Service X.500 LDAPDirectory services (2) A special kind of directory service Register the services provided in a spontaneous network General operations Register / lookup / de-register E.g. a regis
21、tered printerDiscovery servicesResourceClass=printer, type=laser, colour=yes, resolution=600dpi,Location=room101, url= A lookup service A service registers an object with a set of attributes Clients query the lookup service Clients download service object that matches query Leases A limited period o
22、f time during which the service can be usedJini A priori Multicast to a well-know IP multicast address Lookup services listen on the receiving socket Lookup services announce their existence ExampleHow to locate lookup service in Jini? Introduction Name services and the Domain Name System Directory
23、and discovery services Case study of the Global Name Service Case study of the X.500 Directory Service SummaryChapter 9: Name Services Designed by DEC lab lampson 1986 Design objectives Millions of computer names Billions of email addresses for users Long life time: accommodate changesIntroduction t
24、o GNS Directory tree / value tree Directory identifier (DI) Unique identifier of a directory Name of an entry E.g. Architecture of GNS Multiple name servers Directory tree is partitioned and stored in many servers Replication Each partition is replicated in several servers Cache Inconsistency cache
25、data is acceptableArchitecture of GNS (2) Merge two name space by a super-root How to it transparent to client applications? E.g. how to locate /uk/ac/qmw ?How does GNS accommodate changes?ECUKFRDI: 599DI: 574DI: 543NORTH AMERICAUSDI: 642DI: 457DI: 732#599 = #633/EC#642 = #633/NORTH AMERICAWell-know
26、n directories:CANADADI: 633 (WORLD) Client agent Store the DI of working root by client agent E.g., for , client agent stores #599 which is the DI of “/”, i.e. EC Resolve name Working root DI + relative path Uniquely refer to a name in the merged tree E.g. Working root DI A table of well-know direct
27、ories Mapping between working root DI to new absolute path Replication Well-know directories are replicated at each nodes Bottleneck of consistency ExamplesWell-known directories Introduction Name services and the Domain Name System Directory and discovery services Case study of the Global Name Serv
28、ice Case study of the X.500 Directory Service SummaryChapter 9: Name Services General purpose directory service Directory information tree (DIT) Partitioned and stored in different servers Organized according to distinguished name Service architecture Directory user agent (DUA) Directory service age
29、nt (DSA)X.500 Architecture DIB entry Consist of a name and a set of attributes Attribute definition language Search Query by “a base name + a filter expression” Return a list of entriesSearch in X.500 A distributed object naming service based on LDAPLight Directory Access Protocol (LDAP)c=Chinast=Be
30、ijingst=Hubeil=Beijingou=Tsinghual=Wuhanou=Beidadc=Deandc=Deandc=Teacherdc=Coursedc=Teacherdc=Courseou=Wudadc=Deandc=Teacherdc=CourseAB2B1C Introduction Name services and the Domain Name System Directory and discovery services Case study of the Global Name Service Case study of the X.500 Directory S
31、ervice SummaryChapter 9: Name Services Basics of naming service Map between name and attributes of objects binding, resolve Name space Syntactic rules Multiple name servers Cache & replication Cases DNS GNS: accommodating changes X.500: directory serviceSummaryComposed naming domains used to acc
32、ess a resource from a URL URLResource ID (IP number, port number, pathname)Network address2:60:8c:2:b0:5a fileWeb server5WebExamples/earth.html8888DNS lookupSocketDNS name serversa.root-(root)(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.pu
33、()ic.ac.ukqmw.ac.ukdcs.qmw.ac.uk*.qmw.ac.uk*.ic.ac.uk*.dcs.qmw.ac.uk* .ns1.nic.uk(uk)DNS resource recordsRecord typeMeaningMain contentsAA computer addressIP numberNSAn authoritative name serverDomain name for serverCNAMEThe canonical name for an aliasDomain n
34、ame for aliasSOAMarks the start of data for a zone Parameters governing the zoneWKSA well-known service description List of service names and protocolsPTRDomain name pointer (reverselookups)Domain nameHINFOHost informationMachine architecture and operatingsystemMXMail exchangeList of pairsTXTText st
35、ringArbitrary textService discovery in JiniPrinting service serviceLookup serviceLookupPrinting serviceadminadminadmin, financefinanceClientClientCorporate infoservice1. finance lookup service?2. Here I am: .3. Request printing4. Use printing serviceNetworkGNS directory tree and value tree for user Peter.SmithUKFRACQMWDI: 322Peter.SmithpasswordmailboxesDI: 599 (EC)DI: 574DI: 543DI: 437AlphaGammaBetaMerging trees under a new rootECUKFRDI: 599DI: 574DI: 543NORTH AMERICAUSDI: 642DI: 457
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 電話話筒細(xì)分市場(chǎng)深度研究報(bào)告
- 產(chǎn)包產(chǎn)品供應(yīng)鏈分析
- 動(dòng)力卷?yè)P(yáng)機(jī)產(chǎn)品供應(yīng)鏈分析
- 噴灑農(nóng)業(yè)殺蟲劑行業(yè)市場(chǎng)調(diào)研分析報(bào)告
- 空氣凈化器用過(guò)濾器項(xiàng)目運(yùn)營(yíng)指導(dǎo)方案
- 家用塑料制垃圾袋產(chǎn)業(yè)鏈招商引資的調(diào)研報(bào)告
- 船用內(nèi)燃機(jī)市場(chǎng)分析及投資價(jià)值研究報(bào)告
- 便攜式計(jì)算機(jī)產(chǎn)品供應(yīng)鏈分析
- 性欲抑制劑產(chǎn)品供應(yīng)鏈分析
- 瓶用塑料塞市場(chǎng)分析及投資價(jià)值研究報(bào)告
- 河南科技大學(xué)《材料科學(xué)基礎(chǔ)》2021-2022學(xué)年第一學(xué)期期末試卷
- 2024塔吊司機(jī)的勞動(dòng)合同范本
- (完整版)新概念英語(yǔ)第一冊(cè)單詞表(打印版)
- 2024年山東省濟(jì)南市中考數(shù)學(xué)真題(含答案)
- 北京市《配電室安全管理規(guī)范》(DB11T 527-2021)地方標(biāo)準(zhǔn)
- 中醫(yī)醫(yī)療技術(shù)手冊(cè)2013普及版
- 印章(印鑒)交接單模板
- 第六講-中古日本文學(xué)課件
- 小學(xué)《道德與法治》新課程標(biāo)準(zhǔn)
- 盤扣支模架工程監(jiān)理細(xì)則
- 產(chǎn)科急危重癥的早期識(shí)別
評(píng)論
0/150
提交評(píng)論