PreviousNext

Creating a Server Entry in CDS

Often, servers will create their own entries in CDS either when they initialize or when they are configured after installation. But sometimes, you might want to create a server entry manually. When you create a server entry, it is empty; it doesn't contain any interface or binding information.

One reason to create an empty server entry is to establish ownership of the entry. Server entries are owned by the creator. If a server creates an entry, the server can also delete the entry later. You can preempt such a circumstance by creating the entry yourself. Later, the server exports its bindings to the existing server entry (provided the ACL (access control list) allows this).

Use an rpcentry create operation to create an empty server entry as illustrated in the following example which creates an entry named /.:/subsys/applications/bbs_server. The CDS directory /.:/subsys/applications must already exist for this operation to succeed.

dcecp> rpcentry create /.:/subsys/applications/bbs_server

dcecp>