OSF DCE Administration Guide--Core Components

OSF DCE Administration Guide—Core Components
dcecp> server show /.:/hosts/silver/config/srvrconf/video_clip
{uuid d860322b-d499-11cd-9dfb-0000c08adf56 1.0}
{program {/usr/local/bin/vclip}}
{arguments {-catalog}}
{prerequisites {}}
{keytabs {683cf29a-e456-11cd-8f04-0000c08adf56}}
{services {{annotation "Video Clip Catalog and Server"}}
{principals {Vclip_Srv_1}}
{starton {explicit failure}}
{uid 1441}
{gid 1000}
{dir {/tmp}}
dcecp> server delete /.:/hosts/silver/config/srvrconf/video_clip
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 {explicit failure} \
-services {{annotation "Video Clip Catalog and Server"}}
You can directly change ERA information by using a server modify operation. The
following example changes a server’s ERA called objfamily to contain new values. This
operation assumes the ERA has already been created using an xattrschema create
operation described in Section 10.1.17.
dcecp> server modify /.:/hosts/silver/config/srvrconf/video_clip \
-change {objfamily {c09dcc40-e4f4-11cd-bd59-0000c08adf56}}
10.1.9 Checking Whether Servers Are Running
You can check whether a particular server is running by performing a server ping
operation. This might be a convenient test when some client users report they can’t
commmunicate with a server. The server ping operation communicates with the named
server to test its presence, returning a 1 is a server is listening and a 0 if it is not listening.
The following example tests whether the video_clip server is running:
dcecp> server ping /.:/hosts/silver/config/srvrconf/video_clip
1
10.2 Managing Client/Server Binding Information
10 14 Tandem Computers Incorporated 124243