OSF DCE Administration Guide--Core Components

DCE Application Administration
10.1.6 Disabling and Enabling Services
You can prevent clients from using a service offered by a server—even when the server
is running—by setting its services to disabled. When set to disabled, server endpoint
information is not returned to requesting clients, thereby preventing clients from finding
servers. Instead, clients receive a server status of EPT not registered. Clients that
previously acquired the server endpoint can still communicate with the server, however.
When a server provides multiple interfaces, you can disable any one or more of its
interfaces by specifying their interface identifiers. The following example disables one
service of the video_clip server:
dcecp> server disable /.:/hosts/silver/config/srvrexec/video_clip \
-interface {d860322b-d499-11cd-9dfb-0000c08adf56 1.0}
The next example enables the vidsrv service of the video_clip server after it has been
disabled. This operation allows clients to acquire a server’s endpoint.
dcecp> server enable /.:/hosts/silver/config/srvrexec/video_clip \
-interface {d860322b-d499-11cd-9dfb-0000c08adf56 1.0}
You can disable or enable all services offered by a server by using a server disable or
server enable command with no options. The following example disables all services
offered by bbs_server on host krypton:
dcecp> server disable /.:/hosts/krypton/config/srvrexec/bbs_server
10.1.7 Extending Server Configurations
Some servers may require configuration information that is not supported by the set of
attributes provided with your DCE software. You can add arbitrary information to your
server configuration information by creating additional extended registry attributes
ERAs with the xattrschema object.
For example, say you have a server that needs an attribute that specifies an object family.
You create such an attribute by using the xattrschema object. The following example
creates an ERA called objfamily. The operation specifies the permissions needed to
query, update, test, and delete the ERA, and it specifies the ACL manager that supports
the permissions.
dcecp> xattrschema create \
/.:/hosts/silver/config/xattrschema/srvrconf/objfamily \
-attribute {{annotation {object family}} {encoding uuid} \
{aclmgr {srvrconf r w r d}
124243 Tandem Computers Incorporated 10 11