OSF DCE Administration Guide--Core Components
DCE Application Administration
The next example configures the same server to start whenever the host system boots.
The only difference from the preceding example is that the -starton option has a value of
boot.
dcecp> server create /.:/hosts/silver/config/srvrconf/video_clip \
-program {/usr/local/bin/vclip} \
-directory {/tmp} -arguments {-catalog} \
-principal {Vclip_Srv_1} \
-entryname {/.:/subsys/applications/video_clip_1} \
-starton {boot failure} \
-services {{annotation {Video Clip Catalog and Server}} \
{interface {d860322b-d499-11cd-9dfb-0000c08adf56 1.0}}}
The final configuration example sets the video_clip server to start whenever a client
request for its services is received at the host system. The -starton option value is auto.
Section 10.1.4 discusses the steps for disabling and enabling services.
dcecp> server create /.:/hosts/silver/config/srvrconf/video_clip \
-program {/usr/local/bin/vclip} \
-directory {/tmp} -arguments {-catalog} \
-principal {Vclip_Srv_1} \
-entryname {/.:/subsys/applications/video_clip_1} \
-starton {boot failure} \
-services {{annotation {Video Clip Catalog and Server}} \
{interface {d860322b-d499-11cd-9dfb-0000c08adf56 1.0}}}
10.1.3 Listing and Retrieving Server Configuration Information
When you want to see a list of the names of servers configured on a particular host, use a
server catalog operation, as shown. This operation doesn’t show every server available
on a host, just those that have configuration information stored in the server configuration
database.
dcecp> server catalog /.:/hosts/silver
/.../my_cell.goodco.com/hosts/silver/config/srvrconf/video_clip
List the names of all the configured servers in a DCE cell by using a foreach command
to repeat the server catalog operation for each host in a cell:
foreach h [directory list /.:/hosts]{
echo [server catalog $h]
}
If you’re unsure of the configuration information established for a server, you can view it
using a server show operation, as shown. Use the -executing option to view information
about a running server.
124243 Tandem Computers Incorporated 10−9