From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,6c0a89557e8735c1 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-11-04 03:08:33 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!uknet!zaphod.axion.bt.co.uk!nwinton From: nwinton@axion.bt.co.uk (Neil Winton) Newsgroups: comp.unix.osf.misc Subject: Re: some DCE questions Date: 4 Nov 1993 10:38:04 GMT Organization: BT Laboratories Distribution: world Message-ID: <2bam2c$gnl@zaphod.axion.bt.co.uk> References: NNTP-Posting-Host: newton.axion.bt.co.uk In article , fontenot@ravl.rice.edu (Dwayne Jacques Fontenot) writes: |> hello, |> |> I have a few basic questions about DCE: |> |> 1) Can a server support multiple interface protocols (client-server protos)? If you mean, "Can a server implement multiple interfaces?" (accept RPC calls for a number of different interfaces), then Yes. |> 2) Can a client access multiple servers simultaneously, if so, how? Yes. Either by using what is known as "explicit binding" (looking up the server address in the directory service and then using that information as a parameter in every RPC call) or by using "automatic binding" in conjunction with a default search "profile" in the directory. |> 3) When a server is moved to a different network location, what changes need |> to be made so that clients can still find it, if any? Generally, just change the entry in the Cell Directory Service (CDS). It'll be a little more tricky if it moves to another cell, however ... |> 4) Can multiple servers exist on a network which support the same protocol, |> and if they do, how does a client determine which one to "talk" to, or |> can it talk to both simultaneously? Yes, you can have multiple servers with the same interface. A client can select a specific server from the directory or have one chosen "at random" from a group of identical interfaces. Yes, you can talk to more than one, but you'd have to use explicit binding. |> 5) Can clients/servers be updated "on the fly" without having to change |> something in the name binding service? That is, when a new version of a |> client or server is brought up, is this transparent to the rest of the |> "network"? Yes (but with care). Entries in CDS are persistent. If a server is replaced with a new version providing the same interface the old CDS entry would still be valid. The difficultly comes in managing any interactions in progress when the server gets replaced ... Clients don't appear in CDS and can come and go at will. |> 6) If a client it "talking to" server A, which goes down, and is replaced |> by server B (which speaks the same protocol as server A) at a different |> network location (on another machine), does the client notice the |> change? What would need to be done to make the above scenario work? Using automatic binding, and with certain restrictions on the semantics of the RPC operations being performed (the server really needs to be stateless and operations "idempotent") such changes can be made transparent. |> 7) Does DCE specify a mechanism like inetd for starting servers remotely? Not as far as I am aware. You could build something like this for specific services, but it would be difficult to make it as general as inetd (although ANSA folks may have done it.) Also, although not quite the same issue, bear in mind that you can have a server start a new thread (up to a set maximum) to handle each incoming RPC. This is somewhat akin to inetd albeit on a different scale. |> 8) Does DCE work well over long network distances (big lag times)? That depends on what you mean by well and how much data you are shifting about in the RPC calls. Sorry, it's an unanswerable question without more context (although we have run DCE over a 9.6k SLIP link, so it does at least work!) |> That's probably enough for now. As you can tell, I am not too far into |> DCE yet. I am just trying to see if it will do what I need. It'll probably do what you need ... it's just a question of how well and how much effort it will take :-) :-) |> thanks, |> |> Dwayne Fontenot Hope this helps, Neil * Neil Winton G06a, SSTF Building This sentence * * N.Winton@axion.bt.co.uk BT Laboratories has two missing, * * Tel +44 473 646079 Martlesham Heath but you can still * * Fax +44 473 643019 IPSWICH IP5 7RE, UK sense of it. *