34
WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

Embed Size (px)

Citation preview

Page 1: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

WINDOWS NTNetwork Architecture

Amy, Mei-Hsuan LuCML/CSIE/NTUAugust 19, 1998

Page 2: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

2

Outline

IntroductionMajor Networking ComponenntsOpen Network ArchitectureDistributed ApplicationsCorporation-Wide Networking and

Distributed Security

Page 3: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

3

IntroductionGoal

Interoperate with existing versions of LAN Manager running on other operating systems

Allow applications to access non-Microsoft file systems on networks other than LAN Manager without modifying their code

Provide the proper facilities to construct distributed applications, such as Microsoft SQL Server, transaction processing applications, and so forth

Page 4: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

4

IntroductionHistory

File-locking and record-locking in MS-DOS 3.1 FAT file system (1984)

Microsoft Networks (MS-NET) Redirector - accepts and sends a requests to a

remote server Server Message Block (SMB) protocol -

formatting messages Network Server - a dedicated software on the

remote computer Uniform Naming Convention (UNC)

Page 5: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

5

IntroductionOSI Model and Windows NT Networking Components

Fig 9-2

Page 6: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

6

Major Network ComponentsSimplified Client-Side View of Network I/O

Fig 9-3

Page 7: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

7

Major Network ComponentsSimplified Server-Side View of Network I/O

Fig 9-4

Page 8: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

8

Major Network ComponentsNetwork APIs

Win32 I/O APIWin32 network (Wnet) APIWin32 named pipe and mailslot APIs

mailslot provides one-to-many and many-to-one communication mechanisms

NetBIOS API backward compatibility

Windows Sockets APIRemote procedure call (RPC) facility

run time library and compiler

Page 9: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

9

Major Network ComponentsDifference Routes to the Network

Fig 9-5

Page 10: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

10

Major Network ComponentsRedirector

Access remote files, named pipes, and printers

Provides a “file system” that behaves like a local file system (responsible for recovery)

implements the SMB protocols (works with existing MS-NET, allows access to MS-DOS, Windows, and OS/2) - An Enhanced Version

Device Object : \Device\RedirectorAsynchronous I/O mode

Page 11: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

11

Major Network ComponentsRedirector (Cnot.)

Transport driver interface (TDI) : used by director to transmit SMBs to the various transport drivers loaded into Windows NT

Virtual channel

Page 12: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

12

Major Network ComponentsServer

A Server receives and processes requests from redirectors

Implements as a file system driver100 percent compatible with existing MS-

NET and LAN manager SMB protocolsAsynchronous I/O mode

Page 13: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

13

Major Network ComponentsName Resolution

Fig 9-7 Fig 9-8

Page 14: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

14

Open Architecture

Provides access to non-Microsoft systems for resource connection and network browsing and for remote file and device I/O through a common Win32 API (the Wnet API)

Allows multiple network transport protocol drivers to be loaded at the same time and allows redirectors to call a single, common interface to access them

Supplies an interface and environment (NDIS) for network card drivers to access Windows NT transport drivers and to gain protability to future MS-DOS systems

Page 15: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

15

Open ArchitectureUser-Mode Access to Remote File Systems

Multiple provider router (MPR) a DLL that determines which network to access

when an application uses the Win32 WNET API for browsing remote file systems

Multiple UNC provider (MUC) a driver that determines which network to access

when an application uses the Win32 I/O API to open remote files

Page 16: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

16

Open ArchitectureMultiple Provider Software

Fig 9-9

Page 17: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

17

Open ArchitectureMultiple UNC Provider (MUP)

Fig 9-11

Page 18: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

18

Open ArchitectureTransport Protocols

Transport protocols are implemented as drivers, like redirectors and servers

Transport driver interface (TDI) - allows redirectors and servers to remain independent from transports

TDI supports both connection-based and connectionless transmission

Page 19: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

19

Open ArchitectureTransport Driver Interface

Fig 9-13

Page 20: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

20

Open ArchitectureTransport Protocols

NetBEUI (NetBIOS Extended User Interface)TCP/IP (Transmission Control

Protocol/Internet Protocol) - operates in a STREAMS compatible environment

IPX/SPX (Internet Packet Exchange/ Sequenced Packet Exchange)

DECnet transportAppleTalkXNS (Xerox Network Systems)

Page 21: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

21

Open ArchitectureNDIS

Fig 9-14

Page 22: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

22

Distributed Application Environment

An extension of the client/server model In local client/server model, the two

processes use a message-passing facility called local procedure call (LPC) to communicate across their address space

Windows NT is not a distributed operating systems

Page 23: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

23

Distributed Application EnvironmentOS Support

A way to create and run parts of an application on both local and remote computers

Application-level mechanisms for passing information between local and remote processes

Support for network operations, including transport facilities

Page 24: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

24

Distributed Application Environment Remote Procedure Call (RPC)

Some of the procedure libraries in an RPC application execute on remote computers, wearers others execute locally

Provides a procedural view of networked operations rather than a transport-centered view

stub procedures - takes the parameters passed to it and marshals them for transmission across the networks

Page 25: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

25

Distributed Application EnvironmentRemote Procedure Call (RPC)

Fig 9-15 Fig 9-16

Page 26: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

26

Distributed Application EnvironmentRPC Run Time

Fig 9-17

Page 27: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

27

Distributed Application Environment Remote Procedure Call (RPC)

RPC runtime procedures locate the remote computers determine which transport mechanisms to use send requests using local transport software

Microsoft Interface Definition Language (MIDL) compiler

RPC runtime uses a generic RPC transport provider interface to talk to a transport protocol

Page 28: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

28

Distributed Application Environment Remote Procedure Call (RPC)

Conforms to the RPC standard defined by the Open Software Foundation (OSF) in its distributed computing environment (DCE) specification

Page 29: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

29

Distributed Application EnvironmentNamed Pipes

Implemented in Windows NT by the Named pipe file system driver

Named pipes, like files, are represented as file objects in Windows NT and operates under the same security mechanisms as other NT executive objects

Operates on an I/O-centered model for sending streams of data from one process to another

Page 30: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

30

Distributed Application EnvironmentClient-Side Named Pipe Processing

Fig 9-18

Page 31: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

31

Corporation-Wide Networking And Distributed Security

Windows NT stores account names and passwords in a database called the Security Accounts Manager (SAM) database

Network DomainsTrust Relationship/Trusted Domain

Relationship

Page 32: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

32

Corporation-Wide Networking And Distributed Security

Fig 9-19

Page 33: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

33

Corporation-Wide Networking And Distributed Security

Fig 9-20

Page 34: WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998

34

Corporation-Wide Networking And Distributed Security

Fig 9-21