18
Service Connection Point Troels Ravn Software Developer Navision Software a/s November 8 1999

Service Connection Point Troels Ravn Software Developer Navision Software a/s November 8 1999

Embed Size (px)

Citation preview

Service Connection Point

Troels Ravn Software Developer

Navision Software a/sNovember 8 1999

Agenda•What are Service Connection Points?•Why are they used?•How do they work?•When can they be used?

•Example

•NOT a “physical” entity

A Service Connection Point is...•An object that resides in the Active Directory•An object that contains information about a service

A Service Connection Point is used by...

•A service, for publishing information about itself

•A client, for getting the information necessary to bind to the service

Using Service Connection Points provides...

•Location TransparencyClients need not know names or locations of existing services

•No stale binding

How it works (server side)

•Publish service connection point on first start-up

Store service connection point ID in registry

•Update service connection point on subsequent start-ups

How it works (client side)

•Asks Active Directory for a list of available services to choose from

Retrieve binding information for selected service

Store service connection point ID

•Use stored ID to reconnect to service on subsequent start-ups

Prerequisites

•Active Directory support on platformWindows 2000Windows NT4, 95, 98 with AD-upgrade http://www.microsoft.com/ntserver/nts/downloads/

other/ADSI25/default.asp

•Schema extension

Active Directory

ExampleCompany network

DC 1

DC 2 DC 3

Client

ExampleInstalling Financials Server

DC 1

DC 2 DC 3

Client Navision Financials Server 2.60

Example DC 1

DC 2 DC 3

Client Navision Financials Server 2.60

If this is the first NF Server 2.60 in the network, extend the schema

FinancialsSCP

definition

FinancialsSCP

definition

FinancialsSCP

definition

FinancialsSCP

definition

Example DC 1

DC 2 DC 3

Client Navision Financials Server 2.60

Publish the service connection point Service

ConnectionPoint

ServiceConnection

Point

ServiceConnection

Point

ServiceConnection

Point

Example DC 1

DC 2 DC 3

Client Navision Financials Server 2.60

ServiceConnection

Point

Get list of available services

Use the binding information in the service connection point to connect to the server

ExampleServer is relocated

DC 1

DC 2 DC 3

Client Navision Financials Server 2.60

Example DC 1

DC 2 DC 3

Client Navision Financials Server 2.60

Old ServiceConnection

Point

Find old connection point and check the information it contains

Example DC 1

DC 2 DC 3

Client Navision Financials Server 2.60

UpdatedService

ConnectionPoint

UpdatedService

ConnectionPoint

UpdatedService

ConnectionPoint

UpdatedService

ConnectionPoint

The information in the service connection point is not valid, so update it

Example DC 1

DC 2 DC 3

Client Navision Financials Server 2.60

UpdatedService

ConnectionPoint

Find service connection point used in last session

Use the binding information in the service connection point to connect to the server

?