Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* some DCE questions
@ 1993-11-04  6:28 Dwayne Jacques Fontenot
  1993-11-04 10:38 ` Neil Winton
  1993-11-09 14:53 ` Jon Mauney
  0 siblings, 2 replies; 4+ messages in thread
From: Dwayne Jacques Fontenot @ 1993-11-04  6:28 UTC (permalink / raw)


hello,

I have a few basic questions about DCE:

1) Can a server support multiple interface protocols (client-server protos)?

2) Can a client access multiple servers simultaneously, if so, how?

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?

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?

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"?

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?

7) Does DCE specify a mechanism like inetd for starting servers remotely?

8) Does DCE work well over long network distances (big lag times)?

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.

thanks,

Dwayne Fontenot


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: some DCE questions
  1993-11-04  6:28 some DCE questions Dwayne Jacques Fontenot
@ 1993-11-04 10:38 ` Neil Winton
  1993-11-04 16:05   ` Rich Salz
  1993-11-09 14:53 ` Jon Mauney
  1 sibling, 1 reply; 4+ messages in thread
From: Neil Winton @ 1993-11-04 10:38 UTC (permalink / raw)


In article <CFyFC0.4wC@rice.edu>, 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.        *



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: some DCE questions
  1993-11-04 10:38 ` Neil Winton
@ 1993-11-04 16:05   ` Rich Salz
  0 siblings, 0 replies; 4+ messages in thread
From: Rich Salz @ 1993-11-04 16:05 UTC (permalink / raw)


In <2bam2c$gnl@zaphod.axion.bt.co.uk> nwinton@axion.bt.co.uk (Neil Winton) writes has already answered many of these questions.  Let me just add a few
clarifications.

>1) Can a server support multiple interface protocols (client-server protos)?

A server can support multiple interaces (e.g., set of RPC operations).
DCE also works over multiple communication protocols (tcp, ip, sna, ipx,
etc).  The comm protocols are pretty much hidden from the user.

>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.  In general, when a server goes down it should remove its namespace
entries (so that clients don't waste time trying to talk to something
that isn't there).  When it comes up, it re-registers itself in the
namespace and clients can find it.  (Clients read the namespace, they
never need to write to it.)  DCE RPC interfaces include major and minor
versions, and there are rules for determining which version of an RPC
interface a client connects to.  Basically, if you add a new operation
to the end of an interface, you bump the minor version and old clients can
still talk to you.  If you change an operation's calling signature, you
bump the major interface and either support both versions or old clients
lose out.

>7) Does DCE specify a mechanism like inetd for starting servers remotely?

Not currently.  We are planning on doing this for DCE 1.1.  OSF current
plans to release DCE 1.1 in the third quarter of next year.
	/r$


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: some DCE questions
  1993-11-04  6:28 some DCE questions Dwayne Jacques Fontenot
  1993-11-04 10:38 ` Neil Winton
@ 1993-11-09 14:53 ` Jon Mauney
  1 sibling, 0 replies; 4+ messages in thread
From: Jon Mauney @ 1993-11-09 14:53 UTC (permalink / raw)


Dwayne Jacques Fontenot (fontenot@ravl.rice.edu) wrote:
: hello,
: 
: I have a few basic questions about DCE:
: 
: 2) Can a client access multiple servers simultaneously, if so, how?
: 
Yes.  "simultaneously" could mean a couple of things, both of which
are possible.  A client can build binding handles to connect to
multiple servers, and send calls to all of them in turn.  If several
calls need to be outstanding at the same time, you can create 
separate threads for each call.

: 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.  A client can be built to talk to any "random" server with the proper
interface, or it can be built to run through the list of relevant servers
and pick the one it likes best, or to connect to all of them.
Just a matter of writing the code you need.

: 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?

In general, the client will receive an exception indicating that the
connection to the server is lost; the client will then have to find
another server.
In some cases, clients that use autobinding can survive this without noticing,
as the RPC runtime can catch the exception and automatically find a new
binding.

--
Jon Mauney			 mauney@csc.ncsu.edu
Mauney Computer Consulting	 (919) 828-8053

"She wrote a long letter, on a short piece of paper."


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1993-11-09 14:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-11-04  6:28 some DCE questions Dwayne Jacques Fontenot
1993-11-04 10:38 ` Neil Winton
1993-11-04 16:05   ` Rich Salz
1993-11-09 14:53 ` Jon Mauney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox