OSF DCE Administration Guide--Core Components

DCE Application Administration
If you are installing and configuring the server and client parts of an application, make a
note of the server’s entry name when you configure the server.
If you are not installing or configuring the server (for instance, the server was previously
installed), you might need to do some detective work to determine the name to use.
There are several places you can look.
If a server uses the server control facility described earlier in this chapter, you can
probably use a dcecp server show operation to reveal its entry name. Of course, this
means you need to know the server’s object name on the host where the server resides.
You can see all of the server object names on a host by using a server catalog operation.
The following example lists all the server objects configured on host silver. The server
show operation reveals the entry name used by the info_server program.
dcecp> server catalog /.:/hosts/silver
/.../my_cell.goodco.com/hosts/silver/config/srvrconf/video_clip
/.../my_cell.goodco.com/hosts/silver/config/srvrconf/info_server
dcecp> server show /.:/hosts/silver/config/info_server
{uuid 6d5e7184-71b7-11cd-a205-08000925634b}
{program {/usr/local/bin/infosrv}}
{arguments {-brief}}
{prerequisites {}}
{keytabs {}}
{entryname {/.:/subsys/applications/info_server_1}}
{services {}}
{principals {}}
{starton {explicit failure}}
{uid 1423}
{gid 1000}
{dir {/tmp}}
If a server starts from a boot program or script of some kind, look in the program or script
for the name or names (sometimes servers use multiple names when they export multiple
interfaces). The name might be supplied as an argument to the command that starts the
server, as in the following example:
infosrv /.:/finance/operations/infoserv
When the server side does not easily reveal its entry name, try to determine what entry
other client programs are using. Client programs frequently start from a boot program or
script of some kind, and entry names are generally provided as arguments to the
command to start the client. These commands often follow the same model shown in the
previous example of the server startup command.
10.5.2 Providing the Entry Name to Clients
Sometimes, very simple clients can have the server entry name encoded within them so
you don’t have to pass any entry name. But more often, you need to supply an entry
name to a client program when it starts. This approach is more flexible than hardcoding
124243 Tandem Computers Incorporated 10 35