OSF DCE Administration Guide--Core Components

DCE Application Administration
/.:/admin/finance/accts_receivable/laser_22 3
/.:/admin/finance/accts_receivable/laser_23 4
Profile entry name: /.:/admin/finance/accts_receivable_printers/pats_profile
/.:/admin/finance/accts_receivable/laser_20 3
/.:/admin/finance/accts_receivable/laser_21 4
/.:/admin/finance/accts_receivable/laser_22 2
/.:/admin/finance/accts_receivable/laser_23 1
Profile entry name: /.:/admin/finance/accts_receivable_printers/wills_profile
/.:/admin/finance/accts_receivable/laser_20 2
/.:/admin/finance/accts_receivable/laser_21 1
/.:/admin/finance/accts_receivable/laser_22 3
/.:/admin/finance/accts_receivable/laser_23 4
To conclude this example, let’s say that your department’s server is being overused by
another department. You could further limit its use by lowering the server’s priority
value in the foreign department’s profile that points to your server.
Just as application servers can manage their own profile entries in CDS, they can also
manage their own profile entries. However, you may find it more convenient (and more
straightforward) to manually add, remove, or change server information in a profile entry.
Like managing server entries and group entries, there are several methods for managing
profile entries in CDS:
Profile entry names can be hardcoded into an application. You can change profile
entry information in the source code, but you need to recompile and rerun the
application before the entry names take effect.
Profile entry names can be passed to an application through environment variables or
arguments. These methods are more convenient than recompiling, but you might
need to restart an application to use either method.
Profile entry names can be directly managed in CDS by using the DCE control
programs rpcprofile object. This manual method does not require recompiling or
restarting applications.
The next sections discuss how to use the rpcprofile object to manually manage profile
entries in CDS.
10.4.3.1 Creating a New Profile
You can create an empty profile entry in CDS by using a rpcprofile create operation.
While profile creation is frequently performed by applications that first use a profile
entry, creating an entry yourself establishes you as the owner of the entry. As the owner,
you have ultimate control over who can export and manage information in the entry.
To create an empty profile entry in CDS, use an rpcprofile create operation as in the
following example:
dcecp> rpcprofile create /.:/subsys/applications/admin_group_profile
124243 Tandem Computers Incorporated 10 31