This chapter provides revised reference pages necessary for using Gradient DCE for Tru64 UNIX.
cdscache -A dcecp object for managing a local CDS cache
Synopsis
cdscache create server_name -binding server_binding
cdscache delete server_name
cdscache discard [-entry entry_name] [-replica replica_name]
cdscache dump
cdscache help [operation | -verbose]
cdscache operations
cdscache show server_name {-server | -clearinghouse}
Arguments
The name of the cdscache operation that displays help information.
A specification to clarify the target of the operation (-entry, -replica).
Description
The cdscache object represents the Cell Directory Service (CDS) cache on the local node. The CDS cache contains information about servers and clearinghouses known to the local machine, and also contains user data about CDS entries that have been read. The create and delete operations apply only to the server information. The show and dump operations can display additional information. The discard operation can selectively eliminate cache entries on any client (given the appropriate permissions).
Errors
A representative list of errors that might be returned is not shown here. Refer to the DCE Problem Determination Guide for complete descriptions of all error messages.
Operations
cdscache create
Creates knowledge of a server in the local client's cache. The syntax is:
cdscache create server_name -binding server_binding
protocol-sequence:network-address
The dcecp format is as follows:
{protocol-sequence network-address}
The create operation creates knowledge of a server in the local client's cache. The server_name argument is the simple name of a cached server. (An example of a simple name would be pelican, as opposed to a cell-relative name like /.:/hosts/pelican.) This command is typically used to provide configuration information manually to a client that cannot configure itself automatically. Providing configuration information manually may be necessary, for instance, to provide the client with addressing information about a server across a WAN. Once the client knows about one server, it can find other servers through referrals. This operation returns an empty string on success.
You must have w (write) permission to the client system, /.:/hosts/hostname/cds-clerk.
The following command creates knowledge of the server pelican in the localclient's cache:
dcecp>
cdscache create pelican -binding ncacn_ip_tcp:16.20.15.25
dcecp>
cdscache delete
The delete operation removes knowledge of a server that was specifically created from the local client's cache. The required server_name argument is the simple name of a cached server. (An example of a simple name would be pelican,as opposed to a cell-relative name like /.:/hosts/pelican.) You can delete only servers that you have specifically created with the cdscache create command. This operation returns an empty string on success.
You must have w (write) permission to the client system, /.:/hosts/hostname/cds-clerk.
The following command removes knowledge of the server gumby from the client cache:
dcecp>
cdscache delete gumby
dcecp>
cdscache discard
Discards the contents of the client cache. The syntax is:
cdscache discard [-entry entry_name] [-replica replica_name]
Specifies the name of an entry in the clerk cache.
Specifies the clearinghouse name of a replica pointer.
The operation, cdscache discard with the options -entry or -replica, does the following:
Examples
dcecp>
cdscache discard -entry /.:/ job_300 -replica /.:/gloria_ch
dcecp>
cdscache dump
Displays the entire contents of the client cache. The syntax is:
The cdscache dump operation displays the contents of the client cache on the screen. Use this command when solving CDS problems.
You must have superuser (root) privileges on the client system. No DCE permissions are required.
dcecp
> > cdscache dump
dcecp> >
cdscache help
Returns help information about the cdscache object and its operations. The syntax is:
cdscache help [operation | -verbose]
Displays information about the cdscache object.
Used without an argument or option, the cdscache help command returns brief information about each cdscache operation. The optional operation argument is the name of an operation about which you want detailed information. Alternatively, you can use the -verbose option for more detailed information about the cdscache object itself.
No special privileges are needed to use the cdscache help command.
dcecp>
cdscache help
create Adds information about named server in local cds cache.
delete Removes information about named server in local cds cache.
discard Discards all cdsadv (CDS advertiser) cache information on the specified host.
dump Dumps all information from local cds cache.
show Shows information stored in cds cache.
help Prints a summary of command-line options.
operations Returns a list of valid operations for this command.
dcecp>
cdscache operations
Returns a list of the operations supported by the cdscache object. The syntax is as follows:
The list of available operations is in alphabetical order except for help and operations, which are listed last.
No special privileges are needed to use the cdscache operations command.
dcecp>
cdscache operations
create delete discard dump show help operations
dcecp>
cdscache show
Returns information about clearinghouses or servers stored in the cache. The syntax is as follows:
cdscache show server_name {-server | -clearinghouse}
Specifies the time at which this clearinghouse was added to the cache.
Specifies the number of operations other than read and write (that is,
skulks, new epochs, and so on) performed by this client on the cached
clearinghouse.
Specifies the number of lookup operations of any sort performed by the
client on the cached clearinghouse.
Specifies the protocol sequence and network address of the server that
maintains the cached clearinghouse.
Specifies the number of write operations performed by this client on the
cached clearinghouse.
The show operation displays information about clearinghouses or servers stored in the cache. The required server_name argument is the simple name of a server or a CDS name of a clearinghouse for which you want to display information. You must use one of the -clearinghouse or -server options to select the information you want to display.
You must have r (read) permission to the CDS client.
The following command displays all attributes of the cached clearinghouse /.:/claire_ch:
The following command displays all attributes of the cached server mysystem:
dcecp>
cdscache show mysystem -server
{CH_Name /.../terrapin_cell.osf.org/mysystem_ch}
{Tower {ncacn_ip_tcp 130.105.5.16}}
{Tower {ncadg_ip_udp 130.105.5.16}}
Related Information
Commands: clearinghouse(8dce), dcecp(8dce), directory(8dce), link(8dce),
object(8dce). define_cached-server(8cds). dump-clerk_cache(8cds).
show_cached-clearinghouse(8cds). show_cached-server(8cds).
clearinghouse( 8dce)
Name
clearinghouse -A dcecp object that manages a clearinghouse in CDS
Synopsis
clearinghouse catalog [cell_name] [-simplename]
clearinghouse create clearinghouse_name_list
clearinghouse delete clearinghouse_name_list
clearinghouse disable clearinghouse_name_list
clearinghouse initiate clearinghouse_name_list -checkpoint
clearinghouse help [operation | -verbose]
clearinghouse repair clearinghouse_name_list -timestamps
clearinghouse show clearinghouse_name_list [-counters | -attributes | -all] [-schema]
clearinghouse verify clearinghouse_name_list
Arguments
A list of one or more names of clearinghouses on which to operate.
The name of one specific clearinghouse operation (subcommand) about
which you want to see help information.
Description
If the _s(cds) convenience variable is set, it is treated as the name of a clearinghouse to contact for this operation. This is the only clearinghouse that will be contacted in an attempt to complete the operation. These commands do not set the value of this variable after completion.
Attributes
The following are the CDS-defined attributes that may be present in CDS clearinghouse objects:
Specifies the current reported network address of the clearinghouse.
Specifies the full name of the clearinghouse.
Specifies the creation timestamp (CTS) of the clearinghouse.
Specifies the name of the cell in which the clearinghouse resides.
Specifies the current version of the replica in which the directory was
created.
Specifies the timestamp of the most recent update to an attribute of the
clearinghouse.
Counters
The clearinghouse counters are as follows:
Specifies the number of times the clearinghouse entry missing event was
generated.
Specifies the number of times that the data corruption event was
generated.
Specifies the number of times that upgrades failed.
Specifies the number of times that the clearinghouse was disabled since it
was last started.
Specifies the number of times that the clearinghouse was enabled since it
was last started.
Specifies the number of read operations directed to this clearinghouse.
Specifies the number of times the root lost event was generated.
Specifies the number of write operations directed to this clearinghouse.
See the OSF DCE Administration Guide for more information about attributes and counters.
Operations
clearinghouse catalog
Returns a list of the names of all clearinghouses in a cell. The syntax is as follows:
clearinghouse catalog [cell_name] [-simplename]
The clearinghouse catalog command returns a list of the names of all clearinghouses in a cell. If you do not specify the optional argument, the cell name defaults to /.:.
No special privileges are needed to use the clearinghouse catalog command.
dcecp>
clearinghouse catalog
/.../dcecp.cell.osf.org/frick_ch
dcecp>
clearinghouse catalog -simplename
frick_ch
clearinghouse create
Creates a new clearinghouse on the local machine. The syntax is as follows:
clearinghouse create clearinghouse_name_list
The clearinghouse create operation creates a new clearinghouse on the local machine. The clearinghouse_name argument is a list of one or more names of the clearinghouses you want to create. Clearinghouses should only be named in the root directorythat is, /.:. This operation also stores a read-only replica of the root directory in the new clearinghouse. The process that creates the new clearinghouse initiates a skulk of the root directory, so all replicas of the root should be reachable when you enter the clearinghouse create command. To ensure this, perform an immediate skulk of /.: prior to invoking the command, using the directory synchronize /.: command. The operation returns an empty string on success.
You need w (write) permission to the server on which you intend to create the clearinghouse and A (Admin) permission to the cell root directory. The server principal needs r (read), w (write), and A (Admin) permission to the cell root directory.
The following command creates a clearinghouse named /.:/Boston_CH on the local server system:
dcecp >
clearinghouse create /.:/Boston_CH
clearinghouse delete
Deletes the specified clearinghouse from the local machine. The syntax is as follows:
clearinghouse delete clearinghouse_name_list
CDS does not permit you to delete a disabled (cleared) clearinghouse. Before you can delete a disabled (cleared) clearinghouse, you must recreate it using the clearinghouse create command.
You must have w (write) and d (delete) permission to the clearinghouse and A (Admin) permission to all directories that store replicas in the clearinghouse. The server principal must have d (delete) permission to the associated clearinghouse object entry and A (Admin) permission to all directories that store replicas in the clearinghouse.
The following command deletes a clearinghouse named /.:/Orion_CH from the local server system:
dcecp >
clearinghouse delete /.:/Orion_CH
clearinghouse disable
clearinghouse disable clearinghouse_name_list
The clearinghouse disable operation removes knowledge of the specified clearinghouse from the local server's memory. The clearinghouse_name_list argument is a list of names of one or more clearinghouses you want to disable. Use this command when relocating a clearinghouse. This command removes the name of the prefix of the clearinghouse files from the /opt/dcelocal/var/directory/cds/cds_files file and notifies the local CDS server that the clearinghouse is disabled. The clearinghouse entry is not removed from the namespace, nor are the datafiles associated with the clearinghouse removed. The operation returns an empty string on success.
You must have w (write) permission to the CDS server on which the clearinghouse resides.
dcecp >
clearinghouse disable /.:/Paris2_CH
clearinghouse help
clearinghouse help [operation | -verbose]
Displays information about the clearinghouse object.
Alternatively, you can use the -verbose option for more detailed information about the clearinghouse object itself.
No special privileges are needed to use the clearinghouse help command.
dcecp>
clearinghouse help
catalog Returns the names of all clearinghouses in a cell.
create Creates the named clearinghouse.
delete Deletes the named clearinghouse.
disable Disables the named clearinghouse.
initiate Initiates an action on the named CDS clearinghouse.
modify Add, remove or change an attribute in the named
clearinghouse.
repair Repairs an aspect of the named CDS clearinghouse.
show Returns the attributes of a clearinghouse.
verify Verifies the consistency of the clearinghouse.
help Prints a summary of command-line options.
operations Returns a list of the valid operations for this command.
clearinghouse initiate
Initiates a defined action on the specified clearinghouse on the local machine. The syntax is
clearinghouse initiate clearinghouse_name_list -checkpoint
Forces the clearinghouse to checkpoint to disk.
The clearinghouse initiate operation initiates a defined action on the specified clearinghouse. The required clearinghouse_name_list argument is a list of one or more names of clearinghouses you want to initiate actions on. Currently, only a checkpoint action is available. This operation returns an empty string on success.
You need write permission on the clearinghouse server and administer permission on the cell root directory. The server principal needs read, write, and administer permission on the cell root directory.
dcecp > c
learinghouse initiate /.:/oddball_ch -checkpoint
clearinghouse modify
The syntax is as follows:
[-remove attribute_list [-types]] -change attribute_list}
Options
Adds one or more new attributes to an clearinghouse entry.
Optionally used with the -add option to specify that the attribute is
single-valued.
{{attribute_name attribute_value}... \\
{attribute_name attribute_value}}
To remove an attribute type as well as its values, use the -types option with
the -remove option. For example:
-remove {RPC_CLASS RPC_CLASS_VERSION} \
-types
The clearinghouse modify operation adds or removes attributes or changes attribute values for clearinghouse entries in the Cell Directory Service. This task is usually done through a client application. The required clearinghouse_name argument is the full CDS name of the clearinghouse entry to be modified.
You must have w (write) permission to the clearinghouse entry.
OID | LABEL | SYNTAX |
---|---|---|
1.3.22.1.3.66
|
sales_record
|
char
|
dcecp >
clearinghouse modify /.:/Q1_records -add {sales_record region2}
dcecp >
Returns a list of the operations supported by the clearinghouse object. The syntax is as follows:
The clearinghouse operations command takes no arguments and returns a list of the available operations for the clearinghouse object. The order of the elements is alphabetical with the exception that help and operations are listed last.
No special privileges are needed to use the clearinghouse operations command.
dcecp>
clearinghouse operations
catalog create delete disable initiate modify repair show verify help operations
clearinghouse repair
Repairs a specific problem on a specified clearinghouse on the local machine. The syntax is:
clearinghouse repair clearinghouse_name_list -timestamps
Analyzes and repairs invalid timestamps found in a clearinghouse.
Use the clearinghouse repair operation to fix various problems that can occur in a clearinghouse. The required clearinghouse_name_list argument is a list of one or more names of clearinghouses you want to initiate repair actions on. Currently, only invalid timestamps can be repaired. This operation returns an empty string on success.
You need write permission on the clearinghouse server and administer permission
on the cell root directory. The server principal needs read, write, and administer
permission on the cell root directory.
dcecp >
clearinghouse repair /.:/blech_ch -timestamps
clearinghouse show
clearinghouse show clearinghouse_name_list [-counters | -attributes | -all][-schema]
Returns the attributes for the clearinghouse (default).
Returns the counters for the clearinghouse.
Indicates whether attributes are singlevalued or multivalued.
If you supply no options, clearinghouse show returns the attributes associated with the specified clearinghouse.
You must have r (read) permission to the clearinghouse. If you specify a wildcard clearinghouse name, you also need r (read) permission to the cell root directory.
The following command displays the attributes of the clearinghouse /.:/drkstr_ch.
dcecp>
clearinghouse show /.:/Chicago1_CH -counters
{corruptions 0}
{disables 0}
{enables 1}
{failedupgrades 0}
{missingentries 0}
{reads 2336}
{returnedrefs 2}
{rootunreachables 0}
{skulkfailures 0}
{writes 68}
clearinghouse verify
Verifies the consistency of the specified clearinghouse on the local machine. The syntax is:
clearinghouse verify clearinghouse_name_list
The clearinghouse verify operation verifies the consistency of the specified clearinghouse by checking internal attributes. The required clearinghouse_name_list argument is a list of one or more names of clearinghouses you want to verify. This operation returns an empty string on success.
You need write permission on the clearinghouse server and administer permission on the cell root directory. The server principal needs read, write, and administer permission on the cell root directory.
dcecp >
clearinghouse verify {/.:/gumby_ch /.:/pokey_ch}
Related Information
Commands: cdscache(8dce), directory(8dce), link(8dce), object(8dce), clear_clearinghouse(8cds), create_clearinghouse(8cds), delete_clearinghouse(8cds), show_clearinghouse(8cds).
directory( 8dce)
Name
directory -A dcecp object that manages a name service directory
Synopsis
directory add directory_name_list -member child_pointer_list -clearinghouse clearinghouse_name
[-clearinghouse clearinghouse_name]]
directory delete directory_name_list [[-tree]| [-replica -clearinghouse clearinghouse_name]]
directory help [operation | -verbose]
directory list directory_name_list [-directories][-objects][-links] [-simplename | -fullname]
directory merge source_directory_name -into destination_directory_name [-clearinghouse clearinghouse_name][-tree][-nocheck]
[[-add attribute_list][-single]]
[[-remove attribute_list [-types]] [-change attribute_list]
[-propagate [-force]] [-upgrade [-tree]]}
directory remove directory_name_list -member child_pointer_list
[-member child_pointer_list | -replica -clearinghouse clearinghouse_name]
[-schema]
directory synchronize directory_name_list
Arguments
A list of one or more specific child pointers to be operated on.
The name of a single clearinghouse to use during directory operations.
A list of one or more clearinghouses to use during the directory modify
operations.
The name of one specific directory operation about which you want to see
help information.
A list of one or more legal attributes to use during directory operations.
Description
If the _s(cds) convenience variable is set, it is treated as the name of a clearinghouse to contact for this operation. This is the only clearinghouse that will be contacted in an attempt to complete the operation. These commands do not set the value of this variable after completion. If a -clearinghouse option is used (as described in some commands below), then it overrides the value of _s(cds) but the command will not change the setting of _s(cds).
Attributes
The following are the CDS defined attributes that may be present in directories and replicas in CDS:
CDS does not immediately propagate an update. The next skulk
distributes all updates that occurred since the previous skulk. Skulks
occur at least once every 24 hours.
CDS attempts to immediately propagate an update to all replicas. If the
attempt fails, the next scheduled skulk makes the replicas consistent.
Skulks occur at least once every 12 hours.
Specifies the creation timestamp (CTS) of the CDS directory.
A Universal Unique Identifier (UUID) that identifies a particular
incarnation of the directory.
Records the timestamp of the last skulk performed on this directory.
Contains a pointer to this directory's parent in the namespace.
Specifies whether a directory replica can be accessed.
Indicates whether a directory replica is a master or read-only replica.
Specifies the version of a replica of the directory.
Specifies the UUID of a clearinghouse containing another replica of this
directory.
Specifies the timestamp of the most recent update to an attribute of the
directory.
Operations
directory add
Creates a child pointer in the parent directory. The syntax is as follows:
directory add directory_name_list -member child_pointer_list -clearinghouse clearinghouse_name
-clearinghouse clearinghouse_name
This required option names the clearinghouse where the child pointers are
to be added.
This option may only have one value and is used for each of the values of the -member option. The operation returns an empty string on success. If a child pointer of the same name already exists an error is returned. This command is needed only to recreate a child pointer that was accidentally deleted, such as in a troubleshooting situation. Normally child pointers are created internally by CDS when creating directories with the directory create command.
You must have i (insert) permission to the parent directory.
dcecp >
directory add /.: -member foo -clearinghouse /.:/darkstr_ch
directory create
Creates a new directory of the specified name. The syntax is as follows:
[[-replica -clearinghouse clearinghouse_name]|
[-clearinghouse clearinghouse_name]]
Options
-attribute {{attr value}{attr value}}
-clearinghouse clearinghouse_name
The -clearinghouse option specifies one clearinghouse to create all the directories in. If this option is not specified, the new directories are created in the master clearinghouse as the parent directory. The directory create command also takes a -replica option which indicates that a directory replica is created; when this option is used, the -clearinghouse option is required. The operation returns an empty string on success.
In addition, the server principal must have r (read) and i (insert) permission to the parent directory.
The following command creates a directory named /.:/sales.
dcecp >
directory create /.:/sales
directory delete
Deletes a directory. The syntax is as follows:
[[-tree]| [-replica -clearinghouse clearinghouse_name]]
Options
The -replica and -clearinghouse options cannot be used with the -tree option.
You must have (delete) permission to the directory and w (write) permission to the clearinghouse that stores the master replica of the directory. The server principal needs A (Admin) permission to the parent directory or d (delete) permission to the child pointer that points to the directory you intend to delete.
The following command deletes the directory /.:/eng from the namespace:
dcecp>
directory delete /.:/eng
dcecp>
dir delete /.:/depts/phrenology
Error: Directory must be empty to be deleted
dcecp>
dir delete /.:/depts/phrenology -tree
directory help
Returns help information about the directory object and operations. The syntax is as follows:
directory help [operation | -verbose]
Displays information about the directory object.
The optional operations argument returns information about the operation and its options. Used without an argument or option, the help command returns brief information about each directory operation.
No special privileges are needed to use the directory help command.
dcecp>
directory help
add Creates a child pointer in the specified directory.
create Creates the named directory.
delete Deletes the named directory.
list Lists the descendants of a directory.
merge Merges the contents of one directory into another.
modify Adds, removes or changes attributes in the named directory.
remove Removes a child pointer in the specified directory.
show Returns the attributes of a directory or replica.
synchronize Skulks the named directory.
help Prints a summary of command-line options.
operations Returns a list of the valid operations for this command.
directory list
Returns a list of the names of all the descendants of a directory. The syntax is as follows:
[-simplename] | -fullname]
Options
This option lists the names of all descendent directories.
This option lists the names of all descendent objects.
This option lists the names of all descendent softlinks.
Returns just the RDN of the name.
The directory list operation returns a list of the names of all the descendents of a directory. Descendents can include all directories, objects, links, and clearinghouses of the directory. The directory_name_list argument is a list of names of directories to be operated on. This command returns only the names of descendents, so there is no way to tell the class of each name unless by convention (for instance, most clearinghouses end with _ch). Use the following options to specify the types of descendents to return: -directories, -objects, -links. The options take no values and can be used in combination. By default or if the -fullname option is specified, fullnames are returned. Use the -simplename option to return merely the last RDN of the name.
You must have r (read) permission to the directory named in the argument.
dcecp>
dir list /.:/depts/administration -links
/.../ward_cell.osf.org/depts/administration/bump_server1
directory merge
Copies the contents of one directory into another directory. The syntax is as follows:
[-clearinghouse clearinghouse_name][-tree][-nocheck]
Options
-into destination_directory_name
-clearinghouse clearinghouse_name
The resulting merged directory inherits its ACLs from the destination directory's Initial Container or Initial Object ACLs. Consequently, the ACLs of the destination objects are likely to differ from the ACLs of the source objects.
You must have r (read) and i (insert) permission to the destination directory.
dcecp>
dir list /.:/depts/phrenology -simple
applications services staff users
dcecp>
directory merge /.:/depts/phrenology -into /.:/depts/radiology
dcecp > dir list /.:/depts/radiology -simple
applications services staff users
directory modify
Adds, removes, or changes a directory's attributes and their values. The syntax is as follows:
{[[-add attribute_list][-single]]
[[-remove attribute_list [-types]] [-change attribute_list]
[-propagate [-force]] [-upgrade [-tree]]}
Options
Specify one of the following for value:
CDS does not immediately propagate any updates. The next skulk
distributes all updates that occurred since the previous skulk. Skulks
occur at least once every 24 hours.
CDS attempts to immediately propagate an update to all replicas. If the
attempt fails, the software lets the next scheduled skulk make the
replicas consistent. Skulks occur at least once every 12 hours.
Most attributes are usually managed by the client application. See the OSF DCE Administration Guide for more information about attributes. All modifications are made to each directory listed in the argument. An error in any one causes the command to abort immediately and generate an error. The operation returns an empty string on success.
You must have w (write) permission to the directory to add, remove, or change attributes.
/.:/depts/radiology directory to a value of low:
dcecp>
directory modify /.:/depts/radiology -change {CDS_Convergence low}
To add the value ontario to the attribute myname of a directory named /.:/sales, read the cds_attributes file to verify that the attribute shown in the following display exists:
OID | LABEL | SYNTAX |
1.3.22.1.3.91
|
myname
|
char
|
Enter the following command to assign the value ontario to the attribute myname:
dcecp>
directory modify /.:/sales -add {myname ontario}
OID | LABEL | SYNTAX |
1.3.22.1.3.66
|
dirregion
|
small
|
Returns a list of the operations supported by the directory object. The syntax is as follows:
The directory operations command takes no arguments, and returns a list of the available operations for the directory object. The order of the elements is alphabetical with the exception that help and operations are listed last.
No special privileges are needed to use the directory operations command.
dcecp> directory operations
add create delete list merge modify remove show synchronize help operations
directory remove
Deletes a child pointer from the directories specified. The syntax is as follows:
directory remove directory_name_list -member child_pointer_list
This command is needed only to delete a child pointer that accidentally remains after the child directory is deleted. Normally child pointers are removed internally by CDS when deleting directories with the directory delete command.
You must have d (delete) permission to the child pointer or A (Admin) permission to the parent directory.
dcecp>
directory remove /.:/sales -member east
directory show
Returns a list of attributes for the specified directories and optionally, their specified contents. The syntax is as follows:
[-member child_pointer_list | -replica -clearinghouse clearinghouse_name]
[-schema]
Options
-clearinghouse clearinghouse_name
You can request attributes of specific replicas in specific clearinghouses by using the -replica and -clearinghouse options. Alternatively, you can request attributes of child pointers by using the -member option.
You must have r (read) permission to the directories named in the argument list.
The following example shows the attributes for the /.:/depts/radiology directory:
dcecp>
directory show /.:/depts/radiology -schema
{RPC_ClassVersion multi}
{CDS_CTS single}
{CDS_UTS single}
{CDS_ObjectUUID single}
{CDS_Replicas multi}
{CDS_AllUpTo single}
{CDS_Convergence single}
{CDS_ParentPointer multi}
{CDS_DirectoryVersion single}
{CDS_ReplicaState single}
{CDS_ReplicaType single}
{CDS_LastSkulk single}
{CDS_LastUpdate single}
{CDS_RingPointer single}
{CDS_Epoch single}
{CDS_ReplicaVersion single}
directory synchronize
Initiates an immediate skulk of the directories specified. The syntax is as follows:
directory synchronize directory_name_list
The directory synchronize operation initiates an immediate skulk of the directories specified. The directory_name_list argument is a list of names of one or more directories to be operated on. Skulks begin immediately in sequence. The command does not return until all skulks complete. The operation returns an empty string on success.
You must have A (Admin), w (write), i (insert), or d (delete) permission to the directory. The server principal needs A (Admin), r (read), and w (write) permission to the directory.
The following command begins a skulk on the /.:/admin directory:
dcecp>
directory synchronize /.:/admin
Commands: dcecp(8dce), clearinghouse(8dce), link(8dce), object(8dce), add directory(8cds), create directory(8cds), delete directory(8cds), list directory(8cds), remove directory(8cds), set directory(8cds), show directory(8cds).
ldap_addcell( 8dce)
Name
ldap_addcell - Registers DCE cell information in a server that supports LDAP.
Synopsis
ldap_addcell -h ldap_server -a authentication_DN -p password
[-o object_class, object_class...] | [-d]
Options
The name of the LDAP server targeted to hold the binding.
The password that is used to authenticate the distinguished name (DN).
-o object_class, object_class...
Deletes the DCE cell information attributes from the entry in the directory.
It does not remove the directory entry.
Description
The ldap_addcell command registers DCE cell information in a server that supports LDAP. It returns a zero (0) on success and a one (1) on error.
Privileges Required
You must log in as superuser (root) to run the ldap_addcell command.
Examples
The following ldap_addcell examples assume the following:
Example 1 shows the normal creation of the cell bindings in the ldap server.
Example 2 shows the deletion of the CDSCELL and CDSREPLICAS attributes.
Example 3 shows the changing of the CDSCELL and CDSREPLICAS attributes in an object that exists.
ldap addcell -h mycountry.mycity.mycompany.com -a \
"cn=gdatest, ou=mycity, o=mycompany, c=mycountry" \
-p "gdatest"
Environment Variables Used
Each parameter of the ldap_addcell command has a corresponding environment variable, which is used when the corresponding parameter is not present on the ldap_addcell command invocation. The ldap_addcell parameters and the corresponding environment variables are as follows:
-h
|
LDAP_SERVER
|
-a
|
LDAP_AUTH_DN
|
-p
|
LDAP_AUTH_DN_PW
|
-o
|
LDAP_OPJECT_CLASS
|
If the cell entry is already registered, the CDSCELL and CDSREPLICAS attributes are replaced with new values for this cell.
Related Information
gdad - Starts the global directory agent (GDA) daemon.
Synopsis
gdad [-b][-d routing][-D][-r resolve.conf file][-u][-w route]\
[-x][-l]| [-h addr_LDAP_server [port] -a authentication_DN \
-p password_for authentication_DN]| [-h addr_LDAP_server [port]]
Options
Disables the use of DNS as the global directory service.
Sets the debug routing. This option is for debugging use only.
Sets up a debugging condition that refuses to let the gdad process fork.
Specifies the file name of the resolve configuration file. The default is /etc/
resolv.conf.
Indicates the file name of the bind server namec data file. The default is /
etc/named.data.
Prevents gdad from updating the GDA parent pointer on /.:. This option is
for debugging use only.
Routes serviceability messages.
Disables the use of LDAP as global directory service.
Authenticates a distinguished name (DN).
-p password_for authentication_DN
Specifies the password used to authenticate the distinguished name (DN).
Disables X.500 name resolution.
Description
The gdad command starts the Global Directory Agent (GDA) daemon. The GDA enables intercell communication, serving as a connection to other cells through the global environment.
Privileges Required
You must log in as superuser (root).
Notes
This command is ordinarily executed by a DCE configuration or startup script. Use this command interactively only when a gdad process fails to start automatically after a reboot, or if you want to restart the GDA daemon after disabling it to perform a backup or do diagnostic work on the host system.
Examples
To start the gdad process, follow these steps:
To stop the GDA, enter the following command:
where pid is the process identifier of the gdad process.
Related Information
Books: DCE Administration Guide - Core Components
dtsd( 8dts)
Name
dtsd - Restarts the DTS daemon
Synopsis
dtsd -s [server options][common options]
dtsd -c [common options]
Server Options
Runs dtsd as a clerk. -s or -c must be on the command line to specify
server type.
Common Options
Debug mode. The command runs in the foreground.
Accept timing messages in DLI. (Default is RPC only.)
Description
You can enter the command manually under the following conditions:
dcecp>
dts configure -notglobal
dcecp>
dts activate
Privileges Required
DTS runs as the host machine principal, which is usually root. See the security reference section for information about principals.
Notes
Use dtsd interactively only when troubleshooting; otherwise use the /sbin/rc3.d/S66dce script to start the DTS daemon. On some systems the superuser is associated with the machine principal.
Examples
To restart the daemon, follow these steps:
To restart the dts daemon as a server use the following command:
Commands: dtscp (8dts), dtsdate (8dts), dcecp (8dce).
Books: DCE Administration Guide - Core Components
randd( 8sec)
Name
randd - Stops and restarts the RAND daemon
Synopsis
The randd command is executed as part of the overall DCE startup script, dcesetup. Super (root) users can stop and restart the RAND daemon. The daemon, which has a low priority, takes over idle central processing unit (cpu) resources, which it uses to produce random numbers. The random numbers are stored in memory until requested by processes, often security processes. If the daemon is not present, security daemons calculate the random numbers as they did in the past.
Privileges Required
Superuser (root) priviledge is required.
Examples
To restart the daemon, follow these steps:
To make comments or ask for help, contact support@entegrity.com.