OSF DCE Administration Guide--Core Components

OSF DCE Administration Guide—Core Components
10.4.2.4 Importing Binding Information from a Group Entry in CDS
Application client programs can automatically import server binding information from
CDS and use it in their quest to find and communicate with a server. But occasionally,
an administrator might want to import a binding. In the case where a client lacks access
to CDS, it could still communicate with the server if you supplied the client with a valid
binding.
You can use an rpcgroup import operation to return a server’s binding information. You
must specify an interface by using the -interface option as shown in the following
example:
dcebcp> rpcgroup import /.:/subsys/applications/admin_bbs_servers \
-interface {458ffcbe-98c1-11cd-88bc-0000c08adf56 1.0}
{ncacn_ip_tcp 130.105.1.227}
You can use other options such as -version and -object to further specify a binding. Use
the -max option to limit the number of bindings returned.
10.4.2.5 Removing Members from a Group Entry in CDS
Over time, organizational changes can require you to redeploy servers in your DCE cell.
You might, for instance, want to move server entries from one group entry into another.
Use an rpcgroup remove operation to remove one or more members from a group. The
following example removes bbs_server3 from the group
/.:/subsys/applications/admin_bbs_servers:
dcecp> rpcgroup remove /.:/subsys/applications/admin_bbs_servers \
-member /.../my_cell.goodco.com/subsys/applications/bbs_server3
dcecp> rpcgroup list /.:/subsys/applications/admin_bbs_servers
/.../my_cell.goodco.com/subsys/applications/bbs_server4
/.../my_cell.goodco.com/subsys/applications/bbs_server5
/.../my_cell.goodco.com/subsys/applications/bbs_server6
10.4.2.6 Deleting a Group Entry from CDS
Organization changes or server redeployments can make some groups obsolete. When
you want to remove a group entry from CDS, use an rpcgroup delete operation. The
following example illustrates removing an obsolete group entry called
/.:/subsys/admin/temporaries/wp_services from CDS:
dcecp> rpcgroup delete /.:/subsys/admin/temporaries/wp_services
10 28 Tandem Computers Incorporated 124243