OSF DCE Administration Guide--Core Components
DCE Application Administration
You can view information stored in a host’s endpoint map database by using an endpoint
show operation. The following example shows the endpoint map information for the
video_clip server on a remote host megazoid. Omit the hostname argument to operate
on the local endpoint map.
dcecp> endpoint show /.:/hosts/megazoid \
-interface {2fa417e8-bb4c-11cd-831b-0000c08adf56 1.0} \
{{object 99ff4fb8-c042-11cd-91cd-0000c08adf56} \
{interface {2fa417e8-bb4c-11cd-831b-0000c08adf56 1.0}} \
{binding {ncacn_ip_tcp 130.105.1.227 1028}} \
{annotation {Text Development Utilities}}} \
You can view all of the endpoints in an endpoint map by not using any options with the
endpoint show operation.
10.4 Managing Server Entries, Groups, and Profiles in CDS
An endpoint map acts as a directory of servers on a host. Similarly, CDS acts as a
directory of servers in the cell. In the first part of this chapter, we gave a high-level look
at how applications can use CDS to store relatively stable binding information such as a
server’s name, its host address, and the transports over which the server is available. In
this section, we’ll show how to use CDS facilities for organizing your servers and other
distributed objects in meaningful ways.
Many of the operations discussed in the following sections operate on CDS directories
that are protected by ACLs against unauthorized access. For detailed information about
ACLs and CDS see Chapter 16.
10.4.1 UsingUnique Server Entry Names to Identify Individual Servers
and Objects
We know that servers store their binding information in CDS where clients can find it.
But so far, we’ve been treating CDS like a black box. If a DCE cell consisted of just a
few servers or objects and a handful of users, CDS could be as simple as a data file
assessible to both servers and clients. Finding unique names for objects would probably
not pose a big problem. And you could probably even devise some effective scheme for
protecting objects from unauthorized use. But DCE cells can include many hundreds or
even thousands of objects. Large cells will likely contain many similar or even identical
servers that need convenient and effective ways to offer their services to clients.
DCE CDS answers this need by providing a hierarchical (tree-structured) name system
that servers use to store binding information. CDS acts much like a hierarchical file
system of directories that stores names and other information instead of files. You can
build on its hierarchical structure, imposing directory names that can correspond to your
company’s organizational structure.
124243 Tandem Computers Incorporated 10− 19